Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | static constexpr uint32_t STANDARD_SCRIPT_VERIFY_FLAGS = | ||||
SCRIPT_VERIFY_INPUT_SIGCHECKS; | SCRIPT_VERIFY_INPUT_SIGCHECKS; | ||||
/** | /** | ||||
* When transactions fail script evaluations under standard flags, this flagset | * When transactions fail script evaluations under standard flags, this flagset | ||||
* influences the decision of whether to drop them or to also ban the originator | * influences the decision of whether to drop them or to also ban the originator | ||||
* (see CheckInputs). | * (see CheckInputs). | ||||
*/ | */ | ||||
static constexpr uint32_t STANDARD_NOT_MANDATORY_VERIFY_FLAGS = | static constexpr uint32_t STANDARD_NOT_MANDATORY_VERIFY_FLAGS = | ||||
SCRIPT_VERIFY_DERSIG | SCRIPT_VERIFY_SIGPUSHONLY | | SCRIPT_VERIFY_SIGPUSHONLY | SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS | | ||||
SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS | SCRIPT_VERIFY_CLEANSTACK | | SCRIPT_VERIFY_CLEANSTACK | SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY | | ||||
SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY | SCRIPT_VERIFY_CHECKSEQUENCEVERIFY | | SCRIPT_VERIFY_CHECKSEQUENCEVERIFY | SCRIPT_DISALLOW_SEGWIT_RECOVERY | | ||||
SCRIPT_VERIFY_CHECKDATASIG_SIGOPS | SCRIPT_DISALLOW_SEGWIT_RECOVERY | | |||||
SCRIPT_VERIFY_INPUT_SIGCHECKS; | SCRIPT_VERIFY_INPUT_SIGCHECKS; | ||||
/** | /** | ||||
* Used as the flags parameter to sequence and nLocktime checks in non-consensus | * Used as the flags parameter to sequence and nLocktime checks in non-consensus | ||||
* code. | * code. | ||||
*/ | */ | ||||
static constexpr uint32_t STANDARD_LOCKTIME_VERIFY_FLAGS = | static constexpr uint32_t STANDARD_LOCKTIME_VERIFY_FLAGS = | ||||
LOCKTIME_VERIFY_SEQUENCE | LOCKTIME_MEDIAN_TIME_PAST; | LOCKTIME_VERIFY_SEQUENCE | LOCKTIME_MEDIAN_TIME_PAST; | ||||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |