Function zebra_consensus::block::subsidy::general::halving_divisor
source · pub fn halving_divisor(height: Height, network: &Network) -> Option<u64>
Expand description
The divisor used for halvings.
1 << Halving(height)
, as described in protocol specification §7.8
Returns None
if the divisor would overflow a u64
.