]> git.bitcoin.ninja Git - rust-lightning/commit
Add `next_channel_id` in `PaymentForwarded` event
authoratalw <akshitalwar11@gmail.com>
Fri, 22 Apr 2022 07:03:18 +0000 (12:33 +0530)
committerAkshit Talwar <akshittalwar@protonmail.com>
Sun, 15 May 2022 04:11:18 +0000 (09:41 +0530)
commit1ae1de97fd181f0f5a75cf6e8d13ca3f800393a3
tree51c733742fe897941b139e0edb8a36f5d28e34b5
parent637fb88037fa329363e4b6462e9ad01f25cb4e41
Add `next_channel_id` in `PaymentForwarded` event

This update also includes a minor refactor. The return type of
`pending_monitor_events` has been changed to a `Vec` tuple with the
`OutPoint` type. This associates a `Vec` of `MonitorEvent`s with a
funding outpoint.

We've also renamed `source/sink_channel_id` to `prev/next_channel_id` in
the favour of clarity.
12 files changed:
fuzz/src/chanmon_consistency.rs
lightning/src/chain/chainmonitor.rs
lightning/src/chain/mod.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/reorg_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/util/events.rs
lightning/src/util/test_utils.rs