[#CScriptCheck-2constructor-0c] = xref:CScriptCheck.adoc[CScriptCheck]::CScriptCheck :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<validation.h>` Copy construction is disabled. [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..._]# Move construction is defaulted. [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..._]# Construct a script check for a single input of a spending transaction. [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_cache, unsigned int nInIn, xref:script_verify_flags.adoc[script_verify_flags] flags, bool cacheIn, xref:PrecomputedTransactionData.adoc[PrecomputedTransactionData]* txdataIn); ---- [.small]#xref:CScriptCheck/2constructor-01.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The instance that would be copied. | *outIn* | The output being spent by the input. | *txToIn* | The transaction that spends the output. | *signature_cache* | Cache used to avoid repeating signature verifications. | *nInIn* | Index of the input within the spending transaction. | *flags* | Script verification flags to apply. | *cacheIn* | Whether successful signature checks may be cached. | *txdataIn* | Precomputed transaction data reused across inputs. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#