Expand description
Configuration for epochs and slots.
Structs§
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