]> git.bitcoin.ninja Git - rust-lightning/commit
Store async payment data in PendingOutboundPayment.
authorValentine Wallace <vwallace@protonmail.com>
Wed, 10 Jul 2024 18:55:34 +0000 (14:55 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 13 Sep 2024 14:40:05 +0000 (10:40 -0400)
commitc3ed4a2687a0dee2dea0939982128a271dde587e
tree8c2ec144f8da031bea74b747daf89dd1fe05af8a
parentad63a706f2d0849f16a1848d02807750dd958b03
Store async payment data in PendingOutboundPayment.

Adds a pending outbound payment variant for async payments, which indicates
that we have received a static invoice to pay and have generated a keysend preimage
for the eventual payment. When the recipient comes back online, we'll
transition from this new state to Retryable and actually forward the HTLCs.
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs