keysinterface: adapt get_node_secret for phantom payments
authorValentine Wallace <vwallace@protonmail.com>
Wed, 9 Feb 2022 22:22:53 +0000 (17:22 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Mon, 14 Feb 2022 19:22:38 +0000 (14:22 -0500)
commitadeec71ed886dd8713696bc7a146b2ecc91cb0c2
treedbba0eb1445ff389081fe7aa5a8513dafcb15312
parentf6c75d8ec3e3f3f4decb2397352ddc82ad165e38
keysinterface: adapt get_node_secret for phantom payments

We want LDK to be able to retrieve the phantom secret key when we see that a payment
is destined for a phantom node.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning-background-processor/src/lib.rs
lightning/src/chain/keysinterface.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/util/test_utils.rs