]> git.bitcoin.ninja Git - rust-lightning/commit
Add a ChannelTypeFeatures features object for the new channel_type
authorMatt Corallo <git@bluematt.me>
Fri, 17 Sep 2021 16:59:09 +0000 (16:59 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 22 Oct 2021 19:34:18 +0000 (19:34 +0000)
commite847c87dc2b54f4fb9092658ad7e48d585b00cad
treed315f7547d94e9a8d50f9549d2e4e1a325a25c4e
parentd0c3fb745ddc0105838019f8a9a1ef04449d91ba
Add a ChannelTypeFeatures features object for the new channel_type

Its semantics are somewhat different from existing features,
however not enough to merit a different struct entirely.
Specifically, it only supports required features (if you send a
channel_type, the counterparty has to accept it wholesale or try
again, it cannot select only a subset of the flags) and it is
serialized differently (only appearing in TLVs).
lightning/src/ln/features.rs