Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_flags.h
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | enum { | ||||
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 | // Require the number of sigchecks in an input to satisfy a specific | ||||
// bound, defined by scriptSig length. | // 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), | SCRIPT_VERIFY_INPUT_SIGCHECKS = (1U << 22), | ||||
// A utility flag to decide whether VerifyScript should output the correct | // A utility flag to decide whether VerifyScript should output the correct | ||||
// sigchecks value or to report zero. | // sigchecks value or to report zero. | ||||
// This has no effect on script success / failure, and will be removed | // This has no effect on script success / failure, and will be removed | ||||
// after cleanup of the SigChecks upgrade. | // after cleanup of the SigChecks upgrade. | ||||
SCRIPT_REPORT_SIGCHECKS = (1U << 31), | SCRIPT_REPORT_SIGCHECKS = (1U << 31), | ||||
}; | }; | ||||
#endif // BITCOIN_SCRIPT_SCRIPT_FLAGS_H | #endif // BITCOIN_SCRIPT_SCRIPT_FLAGS_H |