]> git.bitcoin.ninja Git - rust-lightning/commit
Add Features::requires_unknown_bits_from
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 5 May 2023 18:38:50 +0000 (13:38 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 8 May 2023 15:30:08 +0000 (10:30 -0500)
commit3313abb37d8745597c7fe8aeaa230f4e89160e02
tree65cd6803ce5713a56985774e56df27af7026b0c9
parent21708b597e676516645151a4079832d97028400c
Add Features::requires_unknown_bits_from

When checking features, rather than checking against which features LDK
knows about, it is more useful to check against a peer's features. Add
Features::requires_unknown_bits_from such that the given features are
used instead.
lightning/src/ln/features.rs