Describe the enhancement
impl LocalChain {
/// Removes blocks from the given `block_id`.
///
/// Will remove blocks with a height equal or greater than `block_id`,
/// but only if `block_id` exists in the chain.
pub fn disconnect_block(&mut self, block_id: BlockId) -> ChangeSet {
todo!()
}
}
Use case
The APIs of utreexod (based on btcd) and bitcoind ZeroMQ has disconnect-block notifications. BDK should be able to handle such notifications.
Describe the enhancement
Use case
The APIs of
utreexod(based onbtcd) andbitcoindZeroMQ has disconnect-block notifications. BDK should be able to handle such notifications.