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, 1 Oct 2020 05:39:55 +0000 (22:39 -0700)
commit851283d9e54f6bdb56524c49486b03b7bae732b1
tree25cfcc5afebd5a0cd6e605f976d25c7d6e6cb434
parent6662e959c8443fd74c76c2908cfb0c78ec4f906a
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