rust-lightning
rust-lightning copied to clipboard
Experimental offer TLVs
The BOLT12 spec defines experimental TLV ranges that are allowed in messages. Allow this range when parsing those messages and include those bytes in subsequent messages (i.e., experimental offer
TLVs are included in an invreq
after the signature). Account for these bytes when computing metadata, verifying messages, and constructing OfferId
s.
~~Based on #3218.~~ Fixes #3168.