Move channelmonitor.rs from ln to chain module
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 7 Aug 2020 17:58:15 +0000 (10:58 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 1 Oct 2020 05:41:52 +0000 (22:41 -0700)
commit819a8653afc1f429685b2075f7c79d6a323506fb
tree68670e7796d837241f36cffabbedd089cc5655d6
parente09767ba2dd6111ee2f460e0b992775dd6c15d4f
Move channelmonitor.rs from ln to chain module

Given the chain::Watch interface is defined in terms of ChannelMonitor
and ChannelMonitorUpdateErr, move channelmonitor.rs from the ln module
to the chain module.
18 files changed:
fuzz/src/chanmon_consistency.rs
fuzz/src/chanmon_deser.rs
fuzz/src/full_stack.rs
lightning-net-tokio/src/lib.rs
lightning/src/chain/channelmonitor.rs [new file with mode: 0644]
lightning/src/chain/mod.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/channelmonitor.rs [deleted file]
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/mod.rs
lightning/src/ln/onchaintx.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/reorg_tests.rs
lightning/src/util/test_utils.rs