]> git.bitcoin.ninja Git - rust-lightning/commit
Test verification with experimental offer TLVs
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 6 Aug 2024 21:21:32 +0000 (16:21 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 5 Nov 2024 00:00:23 +0000 (18:00 -0600)
commit6a708e2d9fa6fbdb592e1e9e856430182e1927dd
tree92e8a5b63feb80d0ef465eebbaf92c18957b0a52
parente01e731ff7d1bfc62531fb333ac03ccf399c8d9a
Test verification with experimental offer TLVs

Offer metadata is generated from the offer TLVs and should included
those in the experimental range. When verifying invoice request and
invoice messages, these TLVs must be included. Similarly, OfferId
construction should included these TLVs as well. Modify the BOLT12
verification tests to cover these TLVs.
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/offer.rs
lightning/src/offers/refund.rs
lightning/src/offers/static_invoice.rs