Create (MANDATORY|STANDARD)_SCRIPT_VERIFY_FLAGS constants

This commit is contained in:
Peter Todd
2014-03-10 17:31:46 -04:00
parent d4ffe4e425
commit 68f7d1d7af
6 changed files with 20 additions and 5 deletions

View File

@@ -309,7 +309,7 @@ inline bool AllowFree(double dPriority)
// This does not modify the UTXO set. If pvChecks is not NULL, script checks are pushed onto it
// instead of being performed inline.
bool CheckInputs(const CTransaction& tx, CValidationState &state, CCoinsViewCache &view, bool fScriptChecks = true,
unsigned int flags = SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_STRICTENC,
unsigned int flags = STANDARD_SCRIPT_VERIFY_FLAGS,
std::vector<CScriptCheck> *pvChecks = NULL);
// Apply the effects of this transaction on the UTXO set represented by view