GenericTransactionSignatureChecker::GenericTransactionSignatureChecker

Constructors

Synopses

Declared in <script/interpreter.h>

Construct a checker without precomputed transaction data.

GenericTransactionSignatureChecker(
    T const* txToIn,
    unsigned int nInIn,
    CAmount const& amountIn,
    MissingDataBehavior mdb);
» more...

Construct a checker that reuses precomputed transaction data.

GenericTransactionSignatureChecker(
    T const* txToIn,
    unsigned int nInIn,
    CAmount const& amountIn,
    PrecomputedTransactionData const& txdataIn,
    MissingDataBehavior mdb);
» more...

Parameters

NameDescription
txToInThe spending transaction.
nInInIndex of the input being verified.
amountInValue of the output being spent.
mdbHow to react when required spent-output data is missing.
txdataInPrecomputed transaction data shared across inputs.