]> git.bitcoin.ninja Git - rust-lightning/commit
Include InvoiceRequest fields in PaymentContext
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 29 Mar 2024 02:31:10 +0000 (21:31 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Apr 2024 14:15:25 +0000 (09:15 -0500)
commit8367e021103493b811b9366e2355bd09e91b4836
tree15ef5c19dbc7a26516e9379cc26e5ba8bb98f4b5
parentb06b2c787a1a9065872e0ad09a2e849b215d57f5
Include InvoiceRequest fields in PaymentContext

When receiving a payment, it's useful to know information about the
InvoiceRequest. Include this data in PaymentContext::Bolt12Offer so
users can display information about an inbound payment (e.g., the payer
note).
lightning/src/blinded_path/payment.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/offers_tests.rs
lightning/src/offers/invoice_request.rs