solana_runtime::bank::epoch_accounts_hash_utils

Function calculation_offset_start

Source
pub fn calculation_offset_start(bank: &Bank) -> Slot
Expand description

Calculation of the EAH occurs once per epoch. All nodes in the cluster must agree on which slot the EAH is based on. This slot will be at an offset into the epoch, and referred to as the “start” slot for the EAH calculation.