]> git.bitcoin.ninja Git - rust-lightning/commit
Remove Key parameter from ChainMonitor
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 6 Aug 2020 23:54:13 +0000 (16:54 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 6 Aug 2020 23:54:13 +0000 (16:54 -0700)
commitaddc49d7999d86210d575dcff9377d18a86ccaf7
treeb7d847de94c67a96fe9e5807f9536c8bfec59cc7
parenta784109d703d9a48d2b187622dd2f46f7663d048
Remove Key parameter from ChainMonitor

ChainMonitor's template Key parameter was meant to allow supporting
both local monitoring, where Key=OutPoint, and watchtowers, where Key=
(PublicKey, u32). Use OutPoint directly since the watchtower case will
not be supported this way.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning-net-tokio/src/lib.rs
lightning/src/ln/channelmonitor.rs
lightning/src/util/test_utils.rs