Trait solana_core::tree_diff::TreeDiff[][src]

pub trait TreeDiff {
    fn children(&self, slot: Slot) -> Option<&[Slot]>;
fn contains_slot(&self, slot: Slot) -> bool; fn subtree_diff(&self, root1: Slot, root2: Slot) -> HashSet<Slot> { ... } }

Required methods

fn children(&self, slot: Slot) -> Option<&[Slot]>[src]

fn contains_slot(&self, slot: Slot) -> bool[src]

Loading content...

Provided methods

fn subtree_diff(&self, root1: Slot, root2: Slot) -> HashSet<Slot>[src]

Loading content...

Implementors

impl TreeDiff for HeaviestSubtreeForkChoice[src]

Loading content...