Utility for syncing a set of chain listeners
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 5 Feb 2021 03:20:03 +0000 (19:20 -0800)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 26 Feb 2021 06:54:43 +0000 (00:54 -0600)
commit8bfdfdc9e4b40390e825eaf7539170b9373b1d31
treecb533368ce0a64275f5ff3d6ff15f901ceb4b04c
parent8505382b197ee9469028b2ea6062fe2489aee6c1
Utility for syncing a set of chain listeners

Add a utility for syncing a set of chain listeners to a common chain
tip. Required to use before creating an SpvClient when the chain
listener used with the client is actually a set of listeners each of
which may have had left off at a different block. This would occur when
the listeners had been persisted individually at different frequencies
(e.g., a ChainMonitor's individual ChannelMonitors).
lightning-block-sync/src/init.rs [new file with mode: 0644]
lightning-block-sync/src/lib.rs
lightning-block-sync/src/test_utils.rs
lightning/src/chain/chainmonitor.rs
lightning/src/chain/channelmonitor.rs
lightning/src/chain/mod.rs
lightning/src/ln/channelmanager.rs