]> git.bitcoin.ninja Git - rust-lightning/commit
Parse experimental invoice TLV records
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 12 Aug 2024 21:54:55 +0000 (16:54 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 5 Nov 2024 00:00:24 +0000 (18:00 -0600)
commit8e279f719dcc1677714a26c56140193bd70cfe58
treeee9c34a5a91922ddf12bcfdf6b213eb4243e4eee
parent22d30e6b8385b181bf5e9f053df4944d0a7c97a1
Parse experimental invoice TLV records

The BOLT12 spec defines an experimental TLV range that is allowed in
offer and invoice_request messages. The remaining TLV-space is for
experimental use in invoice messages. Allow this range when parsing an
invoice and include it when signing one.
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/static_invoice.rs
lightning/src/util/ser.rs