solana_program_runtime::loaded_programs

Trait ForkGraph

Source
pub trait ForkGraph {
    // Required method
    fn relationship(&self, a: Slot, b: Slot) -> BlockRelation;
}
Expand description

Maps relationship between two slots.

Required Methods§

Source

fn relationship(&self, a: Slot, b: Slot) -> BlockRelation

Returns the BlockRelation of A to B

Implementors§