]> git.bitcoin.ninja Git - rust-lightning/commit
Support receiving MPP keysend
authorAlec Chen <alecchendev@gmail.com>
Wed, 5 Apr 2023 22:45:41 +0000 (17:45 -0500)
committerAlec Chen <alecchendev@gmail.com>
Fri, 9 Jun 2023 16:27:07 +0000 (11:27 -0500)
commit8dde17773ace41d2d0bac2493abf2b01db67bd84
treebc96a6033765950737a4792fe28041c65d2f45a9
parent4be3adb51ff7e3f9d3ae6b153e47f7e46497e551
Support receiving MPP keysend

This commit refactors a significant portion of the receive validation in
`ChannelManager::process_pending_htlc_forwards` now that we repurpose
previous MPP validation logic to accomodate keysends. This also removes
a previous restriction on claiming, as well as tests sending and
receiving MPP keysends.
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/payment_tests.rs