Constructors

Synopses

Declared in <validation.h>

Copy construction is disabled.

CScriptCheck(CScriptCheck const& other) = delete;

Move construction is defaulted.

constexpr
CScriptCheck(CScriptCheck&& other) = default;

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);

Parameters

Name

Description

other

The instance that would be copied.

outIn

The output being spent by the input.

txToIn

The transaction that spends the output.

signature_cache

Cache used to avoid repeating signature verifications.

nInIn

Index of the input within the spending transaction.

flags

Script verification flags to apply.

cacheIn

Whether successful signature checks may be cached.

txdataIn

Precomputed transaction data reused across inputs.

Created with MrDocs