Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_flags.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | enum { | ||||
// The exception to CLEANSTACK and P2SH for the recovery of coins sent | // The exception to CLEANSTACK and P2SH for the recovery of coins sent | ||||
// to p2sh segwit addresses is not allowed. | // to p2sh segwit addresses is not allowed. | ||||
SCRIPT_DISALLOW_SEGWIT_RECOVERY = (1U << 20), | SCRIPT_DISALLOW_SEGWIT_RECOVERY = (1U << 20), | ||||
// Whether to allow new OP_CHECKMULTISIG logic to trigger. (new multisig | // Whether to allow new OP_CHECKMULTISIG logic to trigger. (new multisig | ||||
// logic verifies faster, and only allows Schnorr signatures) | // logic verifies faster, and only allows Schnorr signatures) | ||||
SCRIPT_ENABLE_SCHNORR_MULTISIG = (1U << 21), | SCRIPT_ENABLE_SCHNORR_MULTISIG = (1U << 21), | ||||
// Require the number of sigchecks in an input to satisfy a specific | |||||
// bound, defined by scriptSig length. | |||||
// Note: The Segwit Recovery feature is a (currently moot) exception to | |||||
// VERIFY_INPUT_SIGCHECKS | |||||
SCRIPT_VERIFY_INPUT_SIGCHECKS = (1U << 22), | |||||
}; | }; | ||||
#endif // BITCOIN_SCRIPT_SCRIPT_FLAGS_H | #endif // BITCOIN_SCRIPT_SCRIPT_FLAGS_H |