]> git.bitcoin.ninja Git - rust-lightning/commit
Parse experimental invreq TLV records
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 8 Aug 2024 16:44:03 +0000 (11:44 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 5 Nov 2024 00:00:23 +0000 (18:00 -0600)
commit5590bc2fa8b28fc9c8f3999bd91e7655fccce5f7
tree64f18bd7b7343f0edffad1430204f72a4635ec42
parent62cddb7d3a5b69d427a147b18d4f2dd0fdd56ee0
Parse experimental invreq TLV records

The BOLT12 spec defines an experimental TLV range that are allowed in
invoice_request messages. Allow this range when parsing an invoice
request and include those bytes in any invoice. Also include those bytes
when verifying that a Bolt12Invoice is for a valid InvoiceRequest.
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/refund.rs
lightning/src/util/ser.rs