[#GenericTransactionSignatureChecker-03-2constructor-0a]
= xref:GenericTransactionSignatureChecker-03.adoc[GenericTransactionSignatureChecker]::GenericTransactionSignatureChecker
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Construct a checker without precomputed transaction data&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:GenericTransactionSignatureChecker-03/2constructor-02.adoc[GenericTransactionSignatureChecker](
    T const* txToIn,
    unsigned int nInIn,
    xref:CAmount.adoc[CAmount] const& amountIn,
    xref:MissingDataBehavior.adoc[MissingDataBehavior] mdb);
----

[.small]#xref:GenericTransactionSignatureChecker-03/2constructor-02.adoc[_» more&period;&period;&period;_]#

Construct a checker that reuses precomputed transaction data&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:GenericTransactionSignatureChecker-03/2constructor-04.adoc[GenericTransactionSignatureChecker](
    T const* txToIn,
    unsigned int nInIn,
    xref:CAmount.adoc[CAmount] const& amountIn,
    xref:PrecomputedTransactionData.adoc[PrecomputedTransactionData] const& txdataIn,
    xref:MissingDataBehavior.adoc[MissingDataBehavior] mdb);
----

[.small]#xref:GenericTransactionSignatureChecker-03/2constructor-04.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *txToIn*
| The spending transaction&period;
| *nInIn*
| Index of the input being verified&period;
| *amountIn*
| Value of the output being spent&period;
| *mdb*
| How to react when required spent&hyphen;output data is missing&period;
| *txdataIn*
| Precomputed transaction data shared across inputs&period;
|===


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