Check for standard transaction types
Synopsis
Declared in <policy/policy.h>
TxValidationState
ValidateInputsStandardness(
CTransaction const& tx,
CCoinsViewCache const& mapInputs);
Return Value
valid TxValidationState if all inputs (scriptSigs) use only standard transaction forms else returns invalid TxValidationState which states why the first invalid input is not standard
Parameters
Name |
Description |
tx [in] |
Transaction whose inputs are checked |
mapInputs [in] |
Map of previous transactions that have outputs we're spending |
Created with MrDocs