rust-lightning/background-processor
Jeffrey Czyz d28fa54edb
Parameterize ChannelManager::new with a block hash
When ChannelMonitors are persisted, they need to store the most recent
block hash seen. However, for newly created channels the default block
hash is used. If persisted before a block is connected, the funding
output may be missed when syncing after a restart. Instead, initialize
ChannelManager with a "birthday" hash so it can be used later when
creating channels.
2021-03-05 15:44:54 -08:00
..
src Parameterize ChannelManager::new with a block hash 2021-03-05 15:44:54 -08:00
Cargo.toml Update rust-bitcoin 2021-02-26 15:15:18 -05:00