]> git.bitcoin.ninja Git - rust-lightning/commit
Include Refund context in blinded payment paths
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 26 Mar 2024 23:57:57 +0000 (18:57 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Apr 2024 14:15:21 +0000 (09:15 -0500)
commit09ce1b5d161b1369e47dd25ada95fcbdf6ce7139
tree2d5ac813fcf87d1de49922e3f2c4705cca217fdb
parent48d9245f199e58449bb4f7d0eeb314fa5aca104e
Include Refund context in blinded payment paths

When requesting a payment for a refund, include a context in the
Bolt12Invoice's blinded payment paths indicated it is for such. When the
eventual payment is received, the user can use the payment hash to
correlate it with the corresponding Refund.
lightning/src/blinded_path/payment.rs
lightning/src/ln/channelmanager.rs