hotstuff_rs::pacemaker::protocol

Function epoch

source
fn epoch(view: ViewNumber, epoch_length: EpochLength) -> u64
Expand description

Compute the current epoch based on the current view and the configured epoch_length.