pub trait FindCommonAncestor {
// Required method
fn find_common_ancestor(
&mut self,
block_hash1: &u256,
block_hash2: &u256,
ancestor_out: &FoundBlock,
block1_out: &FoundBlock,
block2_out: &FoundBlock
) -> bool;
}
Required Methods§
sourcefn find_common_ancestor(
&mut self,
block_hash1: &u256,
block_hash2: &u256,
ancestor_out: &FoundBlock,
block1_out: &FoundBlock,
block2_out: &FoundBlock
) -> bool
fn find_common_ancestor( &mut self, block_hash1: &u256, block_hash2: &u256, ancestor_out: &FoundBlock, block1_out: &FoundBlock, block2_out: &FoundBlock ) -> bool
| Find most recent common ancestor between | two blocks and optionally return block | information.