]> git.bitcoin.ninja Git - rust-lightning/commit
Add channel_id to SpendableOutputs event
authorjbesraa <jbesraa@gmail.com>
Mon, 21 Aug 2023 19:45:02 +0000 (22:45 +0300)
committerjbesraa <jbesraa@gmail.com>
Tue, 22 Aug 2023 14:07:13 +0000 (17:07 +0300)
commit14b761283bfa454f2d08439e3442c0e370f07cde
tree79040ddeedabd8e37fc4e1c70d15c63eb603c291
parentd4ad826c6eb85ea91ec7aa2cd4545fa2139a4462
Add channel_id to SpendableOutputs event
    This will make it possible to
    link between SpendableOuts and ChannelMonitor

    - change channel_id to option so we dont break upgrade
    - remove unused channel_id
    - document channel_id
    - extract channel id dynamically to pass test
    - use contains to check channel_id in test as the events are not ordered
    - update docs framing
    - specify ldk version channel_id will be introduced in

Co-authored-by: Elias Rohrer <dev@tnull.de>
Update lightning/src/events/mod.rs

Co-authored-by: Elias Rohrer <dev@tnull.de>
lightning/src/chain/channelmonitor.rs
lightning/src/events/mod.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/monitor_tests.rs
lightning/src/ln/reorg_tests.rs