usesolana_clock::Slot;/// Relationship between two fork IDs
#[derive(Copy, Clone, Debug, PartialEq)]pubenumBlockRelation{/// The slot is on the same fork and is an ancestor of the other slot
Ancestor,/// The two slots are equal and are on the same fork
Equal,/// The slot is on the same fork and is a descendant of the other slot
Descendant,/// The slots are on two different forks and may have had a common ancestor at some point
Unrelated,/// Either one or both of the slots are either older than the latest root, or are in future
Unknown,}/// Maps relationship between two slots.
pubtraitForkGraph{/// Returns the BlockRelation of A to B
fnrelationship(&self, a: Slot, b: Slot)-> BlockRelation;}