]> git.bitcoin.ninja Git - rust-lightning/commit
Remove the `*Features::known` constructor
authorMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 01:05:25 +0000 (01:05 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 20:10:17 +0000 (20:10 +0000)
commitbec8bf10aacce835009b23fe734ba99f84b3bda9
tree6405ef11afba22b34b7576ed2f32cc0061b6809a
parentb93fe327d25627742584e288dc785283850bd33b
Remove the `*Features::known` constructor

As we move towards specify supported/required feature bits in the
module(s) where they are supported, the global `known` feature set
constructors no longer make sense.

Here we (finally) remove the `known` constructor entirely,
modifying tests in the `features` module as required.
lightning/src/ln/features.rs