Trait bitcoin_block::BlockConnected
source · pub trait BlockConnected {
// Provided method
fn block_connected(&mut self, block: Arc<Block>, pindex: Arc<BlockIndex>) { ... }
}Provided Methods§
sourcefn block_connected(&mut self, block: Arc<Block>, pindex: Arc<BlockIndex>)
fn block_connected(&mut self, block: Arc<Block>, pindex: Arc<BlockIndex>)
| Notifies listeners of a block being | connected. | | Provides a vector of transactions evicted | from the mempool as a result. | | Called on a background thread. |