rust-lightning/lightning
Matt Corallo e34a2bc722 Add a new InitFeatures constructor to capture the types of flags
When `ChannelMessageHandler` implementations wish to return an
`InitFeatures` 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 an InitFeatures with all known
flags and then clearing the ones they dont want.

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