Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 1,508 Lines • ▼ Show 20 Lines | static uint32_t GetNextBlockScriptFlags(const Consensus::Params ¶ms, | ||||
if (IsGravitonEnabled(params, pindex)) { | if (IsGravitonEnabled(params, pindex)) { | ||||
flags |= SCRIPT_ENABLE_SCHNORR_MULTISIG; | flags |= SCRIPT_ENABLE_SCHNORR_MULTISIG; | ||||
flags |= SCRIPT_VERIFY_MINIMALDATA; | flags |= SCRIPT_VERIFY_MINIMALDATA; | ||||
} | } | ||||
if (IsPhononEnabled(params, pindex)) { | if (IsPhononEnabled(params, pindex)) { | ||||
flags |= SCRIPT_ENABLE_OP_REVERSEBYTES; | flags |= SCRIPT_ENABLE_OP_REVERSEBYTES; | ||||
flags |= SCRIPT_REPORT_SIGCHECKS; | flags |= SCRIPT_REPORT_SIGCHECKS; | ||||
flags |= SCRIPT_ZERO_SIGOPS; | |||||
} | } | ||||
// We make sure this node will have replay protection during the next hard | // We make sure this node will have replay protection during the next hard | ||||
// fork. | // fork. | ||||
if (IsReplayProtectionEnabled(params, pindex)) { | if (IsReplayProtectionEnabled(params, pindex)) { | ||||
flags |= SCRIPT_ENABLE_REPLAY_PROTECTION; | flags |= SCRIPT_ENABLE_REPLAY_PROTECTION; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 4,200 Lines • Show Last 20 Lines |