Module solana_program::epoch_schedule[][src]

Expand description

configuration for epochs, slots

Re-exports

pub use crate::clock::Epoch;
pub use crate::clock::Slot;
pub use crate::clock::DEFAULT_SLOTS_PER_EPOCH;

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