]> git.bitcoin.ninja Git - rust-lightning/commit
Include OfferId in VerifiedInvoiceRequest
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 26 Mar 2024 23:39:06 +0000 (18:39 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Apr 2024 14:15:21 +0000 (09:15 -0500)
commitac6d4cb9ad45189e963bd906e9da971502dff129
treec62024feda4556828173759a257444f0b9841910
parentb9970ff41b497bce5cba13b2bb8023368e8ea2f8
Include OfferId in VerifiedInvoiceRequest

Extract the OfferId from the offer metadata sent back in the
InvoiceRequest and include it in VerifiedInvoiceRequest. This can be
used to correspond the eventual payment for the invoice response by
including it in the invoice's blinded payment paths.
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/merkle.rs
lightning/src/offers/offer.rs