CachingTransactionSignatureChecker::CachingTransactionSignatureChecker

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

NameDescription
txToInThe transaction whose input is being verified.
nInInThe index of the input being verified.
amountInThe value of the output being spent.
storeInWhether to store newly verified signatures in the cache.
signature_cacheThe signature cache to consult and update.
txdataInPrecomputed transaction data reused across checks.