solana_epoch_schedule

Constant MAX_LEADER_SCHEDULE_EPOCH_OFFSET

Source
pub const MAX_LEADER_SCHEDULE_EPOCH_OFFSET: u64 = 3;
Expand description

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.