Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_flags.h
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | enum { | ||||
SCRIPT_ENABLE_REPLAY_PROTECTION = (1U << 17), | SCRIPT_ENABLE_REPLAY_PROTECTION = (1U << 17), | ||||
// Count sigops for OP_CHECKDATASIG and variant. The interpreter treats | // Count sigops for OP_CHECKDATASIG and variant. The interpreter treats | ||||
// OP_CHECKDATASIG(VERIFY) as always valid, this flag only affects sigops | // OP_CHECKDATASIG(VERIFY) as always valid, this flag only affects sigops | ||||
// counting. | // counting. | ||||
// | // | ||||
SCRIPT_VERIFY_CHECKDATASIG_SIGOPS = (1U << 18), | SCRIPT_VERIFY_CHECKDATASIG_SIGOPS = (1U << 18), | ||||
// Are Schnorr signatures enabled for OP_CHECK(DATA)SIG(VERIFY) and | |||||
// 65-byte signatures banned for OP_CHECKMULTISIG(VERIFY)? | |||||
// | |||||
SCRIPT_ENABLE_SCHNORR = (1U << 19), | |||||
// 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), | ||||
}; | }; | ||||
#endif // BITCOIN_SCRIPT_SCRIPTFLAGS_H | #endif // BITCOIN_SCRIPT_SCRIPTFLAGS_H |