Function sp_consensus_babe::epoch_start_slot
source · pub fn epoch_start_slot(
epoch_index: u64,
genesis_slot: Slot,
epoch_duration: u64
) -> Slot
Expand description
Returns the first slot at the given epoch index.
pub fn epoch_start_slot(
epoch_index: u64,
genesis_slot: Slot,
epoch_duration: u64
) -> Slot
Returns the first slot at the given epoch index.