]> git.bitcoin.ninja Git - rust-lightning/commit
Allow user to opt-in to accepting MPP keysend
authorAlec Chen <alecchendev@gmail.com>
Thu, 20 Apr 2023 21:00:47 +0000 (16:00 -0500)
committerAlec Chen <alecchendev@gmail.com>
Sun, 28 May 2023 03:36:09 +0000 (22:36 -0500)
commit749ae12e2230ff2a9d34ec767bdc4623a2649ca7
treecdea1f543ea66a28117dfaf0b1ac17bf775459bd
parent5c89d019050a4b2dd68610d2e59d45acbfee5775
Allow user to opt-in to accepting MPP keysend

To support receiving MPP keysends, we will add a new non-backward
compatible field to `PendingHTLCRouting::ReceiveKeysend`, which will
break deserialization of `ChannelManager` on downgrades, so we allow the
user choose whether they want to do this. Note that this commit only
adds the config flag, while full MPP support is added in later commits.
lightning/src/util/config.rs