Function hotshot_types::utils::root_block_in_epoch

source ยท
pub fn root_block_in_epoch(epoch: u64, epoch_height: u64) -> u64
Expand description

Returns the block number of the epoch root in the given epoch

WARNING: This is NOT the root block for the given epoch. To find that root block number for epoch e, call root_block_in_epoch(e-2,_).