pub fn block_epoch(height: u32) -> u8
Expand description

Auxiliary function to calculate provided block height epoch. Each epoch is defined by the fixed intervals rewards change. Genesis block is on epoch 0.