rust-lightning/lightning/src
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
..
chain Correct payment resolution after on chain failure of dust HTLCs 2022-09-06 20:23:18 +00:00
ln Add a new NodeFeatures constructor to capture the types of flags 2022-09-09 15:58:24 -04:00
onion_message Limit OnionMessenger outbound buffer size 2022-09-02 16:35:35 -04:00
routing OR NodeFeatures from both Channel and Routing message handlers 2022-09-09 15:58:20 -04:00
util Add a new NodeFeatures constructor to capture the types of flags 2022-09-09 15:58:24 -04:00
debug_sync.rs Fix new compilation warnings in debug_sync module 2022-07-26 20:29:36 +00:00
lib.rs Expose onion message module as public 2022-09-02 16:25:32 -04:00
sync.rs Create a simple FairRwLock to avoid readers starving writers 2022-05-10 23:40:20 +00:00