rust-lightning/lightning
Valentine Wallace 7eee7974b0
Add a new NodeFeatures constructor to capture the types of flags
When ChannelMessageHandler implementations wish to return a NodeFeatures which
contain all the known flags that are relevant to channel handling, but not
gossip  handling, they currently need to do so by manually constructing a
NodeFeatures with all known flags and then clearing the ones they don't want.

Instead of spreading this logic across the codebase, this consolidates such
construction into one place in features.rs.
2022-09-09 15:58:24 -04:00
..
src Add a new NodeFeatures constructor to capture the types of flags 2022-09-09 15:58:24 -04:00
Cargo.toml Update bitcoin crate to 0.29.0 2022-08-11 00:21:26 +02:00