pub trait FindAncestorByHeight {
// Required method
fn find_ancestor_by_height(
&mut self,
block_hash: &u256,
ancestor_height: i32,
ancestor_out: &FoundBlock
) -> bool;
}
Required Methods§
sourcefn find_ancestor_by_height(
&mut self,
block_hash: &u256,
ancestor_height: i32,
ancestor_out: &FoundBlock
) -> bool
fn find_ancestor_by_height( &mut self, block_hash: &u256, ancestor_height: i32, ancestor_out: &FoundBlock ) -> bool
| Find ancestor of block at specified height | and optionally return ancestor | information.