[#CachingTransactionSignatureChecker-2constructor]
= xref:CachingTransactionSignatureChecker.adoc[CachingTransactionSignatureChecker]::CachingTransactionSignatureChecker
:relfileprefix: ../
:mrdocs:

Construct a caching checker for a specific transaction input&period;

== Synopsis

Declared in `&lt;script&sol;sigcache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CachingTransactionSignatureChecker(
    xref:CTransaction.adoc[CTransaction] const* txToIn,
    unsigned int nInIn,
    xref:CAmount.adoc[CAmount] const& amountIn,
    bool storeIn,
    xref:SignatureCache.adoc[SignatureCache]& signature&lowbar;cache,
    xref:PrecomputedTransactionData.adoc[PrecomputedTransactionData]& txdataIn);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txToIn*
| The transaction whose input is being verified&period;
| *nInIn*
| The index of the input being verified&period;
| *amountIn*
| The value of the output being spent&period;
| *storeIn*
| Whether to store newly verified signatures in the cache&period;
| *signature&lowbar;cache*
| The signature cache to consult and update&period;
| *txdataIn*
| Precomputed transaction data reused across checks&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
