Skip to main content

verify_script_with_context_full

Function verify_script_with_context_full 

Source
pub fn verify_script_with_context_full(
    script_sig: &ByteString,
    script_pubkey: &[u8],
    witness: Option<&Witness>,
    flags: u32,
    tx: &Transaction,
    input_index: usize,
    prevout_values: &[i64],
    prevout_script_pubkeys: &[&[u8]],
    block_height: Option<u64>,
    median_time_past: Option<u64>,
    network: Network,
    _sigversion: SigVersion,
    schnorr_collector: Option<&SchnorrSignatureCollector>,
    precomputed_bip143: Option<&Bip143PrecomputedHashes>,
    precomputed_sighash_all: Option<[u8; 32]>,
    sighash_cache: Option<&SighashMidstateCache>,
    precomputed_p2pkh_hash: Option<[u8; 20]>,
) -> Result<bool>
Expand description

Spec-locked to Orange Paper Section 5.2: VerifyScriptWithContextFull

Function ‘VerifyScriptWithContextFull’ referenced but not yet in spec section 5.2 (Migration mode). Available: EvalScript, VerifyScript