Store `Payee` information in `HTLCSource::OutboundRoute`. 2021-10-payee-in-monitors
authorMatt Corallo <git@bluematt.me>
Mon, 25 Oct 2021 04:46:26 +0000 (04:46 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 25 Oct 2021 19:40:58 +0000 (19:40 +0000)
commit1b99c93334c092f6fb7224729649316a23b46373
tree5a5b00afdaa192617a63bb584534491881ea61cb
parentfe237f9280ae78883104be64c28d6cfc6b61a4c7
Store `Payee` information in `HTLCSource::OutboundRoute`.

This stores and tracks HTLC payee information with HTLCSource info,
allowing us to provide it back to the user if the HTLC fails and
ensuring persistence by keeping it with the HTLC itself as it
passes between Channel and ChannelMonitor.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs