Trait bitcoin_foundblock::FindBlock
source · pub trait FindBlock {
// Required method
fn find_block(&mut self, hash: &u256, block: &FoundBlock) -> bool;
}
Required Methods§
sourcefn find_block(&mut self, hash: &u256, block: &FoundBlock) -> bool
fn find_block(&mut self, hash: &u256, block: &FoundBlock) -> bool
| Return whether node has the block and | optionally return block metadata or | contents. |