zebra_chain::parameters::subsidy

Function height_for_halving

source
pub fn height_for_halving(halving: u32, network: &Network) -> Option<Height>
Expand description

The first block height of the halving at the provided halving index for a network.

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