]> git.bitcoin.ninja Git - rust-lightning/commit
OR NodeFeatures from both Channel and Routing message handlers
authorValentine Wallace <vwallace@protonmail.com>
Fri, 9 Sep 2022 16:12:50 +0000 (12:12 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 9 Sep 2022 19:58:20 +0000 (15:58 -0400)
commitc106d4ff9f60a9225f662ab68cb054f416ce8361
treeb942d4b7a88c505d768ae3c01b55def273ba5c69
parentfe8b4c7836cd46558597fb2426a5ffaa6dde5223
OR NodeFeatures from both Channel and Routing message handlers

When we broadcast a node announcement, the features we support are really a
combination of all the various features our different handlers support. This
commit captures this concept by OR'ing our NodeFeatures across both our channel
and routing message handlers.
lightning-net-tokio/src/lib.rs
lightning/src/ln/msgs.rs
lightning/src/ln/peer_handler.rs
lightning/src/routing/gossip.rs
lightning/src/util/test_utils.rs