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