]> git.bitcoin.ninja Git - rust-lightning/commit
Support sending async payments as an always-online sender.
authorValentine Wallace <vwallace@protonmail.com>
Wed, 4 Sep 2024 19:24:26 +0000 (15:24 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Fri, 13 Sep 2024 14:40:06 +0000 (10:40 -0400)
commit0297a1e4ee2fb577cdfc635eceb0a7f122be33f9
treeaae1f9a9843d18e380b254727beca2daf70cc018
parent69356e7686f58625822b36f7e1fe07cac68201a1
Support sending async payments as an always-online sender.

Async receive is not yet supported.

Here we process inbound release_htlc onion messages, check that they actually
correspond to one of our outbound payments, and actually forward the HTLCs.
Valid release_htlc receipt indicates that the recipient has now come online to
receive.
lightning/src/ln/channelmanager.rs
lightning/src/ln/outbound_payment.rs