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

Construct a checker that reuses precomputed transaction data.

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

Parameters

Name

Description

txToIn

The spending transaction.

nInIn

Index of the input being verified.

amountIn

Value of the output being spent.

mdb

How to react when required spent‐output data is missing.

txdataIn

Precomputed transaction data shared across inputs.

Created with MrDocs