]> git.bitcoin.ninja Git - rust-lightning/commit
Stop tracking feature bits as known or required in features.rs
authorMatt Corallo <git@bluematt.me>
Fri, 9 Sep 2022 04:31:18 +0000 (04:31 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 20:10:17 +0000 (20:10 +0000)
commitb83e93c799b26fe1cb37e6a43a693e6ed66cdb59
treed29eb720e7154a58342f7109805a5748f6ae8692
parentbec8bf10aacce835009b23fe734ba99f84b3bda9
Stop tracking feature bits as known or required in features.rs

Now that the `*Features::known` constructor has been removed, there
is no reason to define feature bits as either optional required in
`features.rs` - that logic now belongs in the modules that are
responsible for the given features.

Instead, we only list all features in each context.
lightning/src/ln/features.rs