zebra_consensus::transaction::check

Function coinbase_expiry_height

source
pub fn coinbase_expiry_height(
    block_height: &Height,
    coinbase: &Transaction,
    network: &Network,
) -> Result<(), TransactionError>
Expand description

Returns Ok(()) if the expiry height for the coinbase transaction is valid according to specifications 7.1 and ZIP-203.