Function zebra_consensus::block::check::subsidy_is_valid
source ยท pub fn subsidy_is_valid(
block: &Block,
network: &Network,
expected_block_subsidy: Amount<NonNegative>,
) -> Result<(), BlockError>
Expand description
Returns Ok(())
if the block subsidy in block
is valid for network