Module epoch_schedule

Source
Expand description

Configuration for epochs and slots.

Structs§

EpochSchedule

Constants§

DEFAULT_LEADER_SCHEDULE_SLOT_OFFSET
The number of slots before an epoch starts to calculate the leader schedule. Default is an entire epoch, i.e. leader schedule for epoch X is calculated at the beginning of epoch X - 1.
DEFAULT_SLOTS_PER_EPOCH
MAX_LEADER_SCHEDULE_EPOCH_OFFSET
The maximum number of slots before an epoch starts to calculate the leader schedule. Default is an entire epoch, i.e. leader schedule for epoch X is calculated at the beginning of epoch X - 1.
MINIMUM_SLOTS_PER_EPOCH
based on MAX_LOCKOUT_HISTORY from vote_program

Type Aliases§

Epoch
Epoch is a unit of time a given leader schedule is honored, some number of Slots.
Slot
Slot is a unit of time given to a leader for encoding, is some some number of Ticks long.