Module solana_sdk::epoch_schedule[][src]

Expand description

configuration for epochs, slots

Structs

Constants

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.

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.

based on MAX_LOCKOUT_HISTORY from vote_program

Type Definitions

Epoch is a unit of time a given leader schedule is honored, some number of Slots.

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