]> git.bitcoin.ninja Git - rust-lightning/commit
Replace WatchEvent usage with get_outputs_to_watch
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 7 Aug 2020 22:13:57 +0000 (15:13 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 1 Oct 2020 05:41:23 +0000 (22:41 -0700)
commit71230c995c81a6eb09f51239fc9908c854cd90d0
tree1725027e71adee640cefa754902bc0848c8242f9
parent9e14256b71003ed84ae36c6bb8bcab9a1fb60890
Replace WatchEvent usage with get_outputs_to_watch

Outputs to watch are tracked by ChannelMonitor as of
73dce207dd0ea6c3ac57af3ebb8b87ee03e82c9e. Instead of determining new
outputs to watch independently using ChainWatchedUtil, do so by
comparing against outputs already tracked. Thus, ChainWatchedUtil and
WatchEvent are no longer needed.
lightning/src/chain/chaininterface.rs
lightning/src/chain/mod.rs
lightning/src/ln/channelmonitor.rs
lightning/src/ln/onchaintx.rs
lightning/src/util/test_utils.rs