Function zebra_consensus::block::check::miner_fees_are_valid
source ยท pub fn miner_fees_are_valid(
coinbase_tx: &Transaction,
height: Height,
block_miner_fees: Amount<NonNegative>,
expected_block_subsidy: Amount<NonNegative>,
expected_deferred_amount: Amount<NonNegative>,
network: &Network,
) -> Result<(), BlockError>
Expand description
Returns Ok(())
if the miner fees consensus rule is valid.