Construct a caching checker for a specific transaction input.

Synopsis

Declared in <script/sigcache.h>

CachingTransactionSignatureChecker(
    CTransaction const* txToIn,
    unsigned int nInIn,
    CAmount const& amountIn,
    bool storeIn,
    SignatureCache& signature_cache,
    PrecomputedTransactionData& txdataIn);

Parameters

Name

Description

txToIn

The transaction whose input is being verified.

nInIn

The index of the input being verified.

amountIn

The value of the output being spent.

storeIn

Whether to store newly verified signatures in the cache.

signature_cache

The signature cache to consult and update.

txdataIn

Precomputed transaction data reused across checks.

Created with MrDocs