Class EpochSchedule

Epoch schedule (see https://docs.solana.com/terminology#epoch) Can be retrieved with the getEpochSchedule method

Hierarchy

  • EpochSchedule

Constructors

  • Parameters

    • slotsPerEpoch: number
    • leaderScheduleSlotOffset: number
    • warmup: boolean
    • firstNormalEpoch: number
    • firstNormalSlot: number

    Returns EpochSchedule

Properties

firstNormalEpoch: number

The first epoch with slotsPerEpoch slots

firstNormalSlot: number

The first slot of firstNormalEpoch

leaderScheduleSlotOffset: number

The number of slots before beginning of an epoch to calculate a leader schedule for that epoch

slotsPerEpoch: number

The maximum number of slots in each epoch

warmup: boolean

Indicates whether epochs start short and grow

Methods

  • Parameters

    • slot: number

    Returns [number, number]

Generated using TypeDoc