]> git.bitcoin.ninja Git - rust-lightning/commit
Offer features for BOLT 12
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 24 Jun 2022 21:40:49 +0000 (16:40 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Sat, 17 Sep 2022 00:43:52 +0000 (19:43 -0500)
commit993e86163636fe1e4da378441130c6caac1bc4d5
tree495df61fbe503a4da0153f9080ce21f5b96bd8a9
parentdc28f9bb88735152260c4c96ae23f98cef32c979
Offer features for BOLT 12

The offer message in BOLT 12 contains a features TLV record. Add a
corresponding OfferFeatures type where the length is not included in the
serialization as it would be redundant with the record length.
Otherwise, define the features to be the same as InvoiceFeatures.
lightning/src/ln/features.rs