]> git.bitcoin.ninja Git - rust-lightning/commit
Pass PaymentContext through HTLC processing
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 26 Mar 2024 18:10:04 +0000 (13:10 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Apr 2024 14:12:32 +0000 (09:12 -0500)
commit9be364f60ea1ed348a94ea93e9e4d90394a4c1cb
treef105e381e89374b76d8a7be9cc2a004a73304619
parentc8815384787e6b0837a51944555357623d4ffa4e
Pass PaymentContext through HTLC processing

PendingInboundPayment::BlindedReceive includes a PaymentContext, which
the recipient includes in each blinded path. Included this when
processing HTLCs in ChannelManager, first into PendingHTLCRouting and
then to OnionPayload. Later, this will be included in the PaymentPurpose
when surfaced to user in PaymentClaimable and PaymentClaimed events.
lightning/src/blinded_path/payment.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/msgs.rs
lightning/src/ln/onion_payment.rs