num_halvings

Function num_halvings 

Source
pub fn num_halvings(height: Height, network: &Network) -> u32
Expand description

The halving index for a block height and network.

Halving(height), as described in protocol specification ยง7.8