[#CScriptCheck-2constructor-0c]
= xref:CScriptCheck.adoc[CScriptCheck]::CScriptCheck
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;validation&period;h&gt;`

Copy construction is disabled&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CScriptCheck/2constructor-03f.adoc[CScriptCheck](xref:CScriptCheck.adoc[CScriptCheck] const& other) = delete;
----

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

Move construction is defaulted&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:CScriptCheck/2constructor-038.adoc[CScriptCheck](xref:CScriptCheck.adoc[CScriptCheck]&& other) = default;
----

[.small]#xref:CScriptCheck/2constructor-038.adoc[_» more&period;&period;&period;_]#

Construct a script check for a single input of a spending transaction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CScriptCheck/2constructor-01.adoc[CScriptCheck](
    xref:CTxOut.adoc[CTxOut] const& outIn,
    xref:CTransaction.adoc[CTransaction] const& txToIn,
    xref:SignatureCache.adoc[SignatureCache]& signature&lowbar;cache,
    unsigned int nInIn,
    xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags] flags,
    bool cacheIn,
    xref:PrecomputedTransactionData.adoc[PrecomputedTransactionData]* txdataIn);
----

[.small]#xref:CScriptCheck/2constructor-01.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The instance that would be copied&period;
| *outIn*
| The output being spent by the input&period;
| *txToIn*
| The transaction that spends the output&period;
| *signature&lowbar;cache*
| Cache used to avoid repeating signature verifications&period;
| *nInIn*
| Index of the input within the spending transaction&period;
| *flags*
| Script verification flags to apply&period;
| *cacheIn*
| Whether successful signature checks may be cached&period;
| *txdataIn*
| Precomputed transaction data reused across inputs&period;
|===


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