From: Jeffrey Czyz Date: Thu, 16 Apr 2020 05:44:43 +0000 (-0700) Subject: Generalize feature methods to work in any context X-Git-Tag: v0.0.12~69^2~3 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=65ff1bf0beaeb33397c5024d278a65a780fc8ffd;hp=65ff1bf0beaeb33397c5024d278a65a780fc8ffd;p=rust-lightning Generalize feature methods to work in any context Refactoring the features module allowed for making code specific to certain contexts generalizable. Specifically, KNOWN_FEATURE_MASK is defined on Context instead of hardcoded in each method specialization. Thus, such methods are no longer required. ---