]> git.bitcoin.ninja Git - rust-lightning/commit
Add PaymentContext to payment::ReceiveTlvs
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 26 Mar 2024 14:48:03 +0000 (09:48 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Apr 2024 14:12:31 +0000 (09:12 -0500)
commitc8815384787e6b0837a51944555357623d4ffa4e
tree4e01fc339ecc26230ffe4a85d7666dd4b13506f5
parent12c3a24bebe67ba406609fdfe6747da9c1449756
Add PaymentContext to payment::ReceiveTlvs

Providing LDK-specific data in a BlindedPath allows for the data to be
received with the corresponding payment. This is useful as it can then
be surfaced in PaymentClaimable events where the user may correlated
with an Offer, for instance. Define a PaymentContext enum for including
various context (e.g., offer, refund, static invoice).
lightning/src/blinded_path/payment.rs
lightning/src/ln/blinded_payment_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/msgs.rs