Construct a script check for a single input of a spending transaction.
Synopsis
Declared in <validation.h>
CScriptCheck(
CTxOut const& outIn,
CTransaction const& txToIn,
SignatureCache& signature_cache,
unsigned int nInIn,
script_verify_flags flags,
bool cacheIn,
PrecomputedTransactionData* txdataIn);
Parameters
Name |
Description |
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. |
Created with MrDocs