Function zebra_consensus::transaction::check::validate_expiry_height_max

source ยท
fn validate_expiry_height_max(
    expiry_height: Option<Height>,
    is_coinbase: bool,
    block_height: &Height,
    transaction: &Transaction,
) -> Result<(), TransactionError>
Expand description

Checks that the expiry height of a transaction does not exceed the maximal value.

Only the expiry_height parameter is used for the check. The remaining parameters are used to give details about the error when the check fails.