GenericTransactionSignatureChecker::GenericTransactionSignatureChecker

Construct a checker that reuses precomputed transaction data.

Synopsis

Declared in <script/interpreter.h>

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

Parameters

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