pub trait WorkingSlot {
    // Required methods
    fn current_slot(&self) -> Slot;
    fn is_ancestor(&self, other: Slot) -> bool;
}
Expand description

Provides information about current working slot, and its ancestors

Required Methods§

source

fn current_slot(&self) -> Slot

Returns the current slot value

source

fn is_ancestor(&self, other: Slot) -> bool

Returns true if the other slot is an ancestor of self, false otherwise

Implementors§