Trait bitcoin_block::NewPoWValidBlock
source · pub trait NewPoWValidBlock {
// Provided method
fn new_pow_valid_block(
&mut self,
pindex: Arc<BlockIndex>,
block: &Arc<Block>
) { ... }
}Provided Methods§
sourcefn new_pow_valid_block(&mut self, pindex: Arc<BlockIndex>, block: &Arc<Block>)
fn new_pow_valid_block(&mut self, pindex: Arc<BlockIndex>, block: &Arc<Block>)
| Notifies listeners that a block which | builds directly on our current tip has | been received and connected to the headers | tree, though not validated yet |