fn epoch(view: ViewNumber, epoch_length: EpochLength) -> u64Expand description
Compute the current epoch based on the current view and the configured epoch_length.
fn epoch(view: ViewNumber, epoch_length: EpochLength) -> u64Compute the current epoch based on the current view and the configured epoch_length.