Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 1,832 Lines • ▼ Show 20 Lines | if (IsUAHFenabled(config, pindex->pprev)) { | ||||
flags |= SCRIPT_VERIFY_STRICTENC; | flags |= SCRIPT_VERIFY_STRICTENC; | ||||
flags |= SCRIPT_ENABLE_SIGHASH_FORKID; | flags |= SCRIPT_ENABLE_SIGHASH_FORKID; | ||||
} | } | ||||
// If the Cash HF is enabled, we start excuding low_s ssignatures and that | // If the Cash HF is enabled, we start excuding low_s ssignatures and that | ||||
// signature script are push only. | // signature script are push only. | ||||
if (IsCashHFEnabled(config, pindex->pprev)) { | if (IsCashHFEnabled(config, pindex->pprev)) { | ||||
flags |= SCRIPT_VERIFY_LOW_S; | flags |= SCRIPT_VERIFY_LOW_S; | ||||
flags |= SCRIPT_VERIFY_NULLDUMMY; | |||||
schancel: This changes the behavior of OP_CHECKMULTISIGVERIFY so that the requisite, but unused, first… | |||||
flags |= SCRIPT_VERIFY_NULLFAIL; | flags |= SCRIPT_VERIFY_NULLFAIL; | ||||
} | } | ||||
return flags; | return flags; | ||||
} | } | ||||
static int64_t nTimeCheck = 0; | static int64_t nTimeCheck = 0; | ||||
static int64_t nTimeForks = 0; | static int64_t nTimeForks = 0; | ||||
▲ Show 20 Lines • Show All 3,213 Lines • Show Last 20 Lines |
This changes the behavior of OP_CHECKMULTISIGVERIFY so that the requisite, but unused, first element is required to be empty array? This is to remove a way to malleate a transaction?