Skip to main content

check_coinbase_maturity

Function check_coinbase_maturity 

Source
pub fn check_coinbase_maturity(
    spend_height: u64,
    utxo_creation_height: u64,
    is_coinbase: bool,
) -> bool
Expand description

CheckCoinbaseMaturity: spend of coinbase output at height h valid iff h ≥ creation_height + R.