solana_runtime::bank::epoch_accounts_hash_utils

Function calculation_offset_stop

source
pub fn calculation_offset_stop(bank: &Bank) -> Slot
Expand description

Calculation of the EAH occurs once per epoch. All nodes in the cluster must agree on which bank will hash the EAH into its Bank::hash. This slot will be at an offset into the epoch, and referred to as the “stop” slot for the EAH calculation. All nodes must complete the EAH calculation before this slot!