CScriptCheck::CScriptCheck

Constructors

Synopses

Declared in <validation.h>

Copy construction is disabled.

CScriptCheck(CScriptCheck const& other) = delete;
» more...

Move construction is defaulted.

constexpr
CScriptCheck(CScriptCheck&& other) = default;
» more...

Construct a script check for a single input of a spending transaction.

CScriptCheck(
    CTxOut const& outIn,
    CTransaction const& txToIn,
    SignatureCache& signature_cache,
    unsigned int nInIn,
    script_verify_flags flags,
    bool cacheIn,
    PrecomputedTransactionData* txdataIn);
» more...

Parameters

NameDescription
otherThe instance that would be copied.
outInThe output being spent by the input.
txToInThe transaction that spends the output.
signature_cacheCache used to avoid repeating signature verifications.
nInInIndex of the input within the spending transaction.
flagsScript verification flags to apply.
cacheInWhether successful signature checks may be cached.
txdataInPrecomputed transaction data reused across inputs.