Changeset View
Changeset View
Standalone View
Standalone View
src/script/script_flags.h
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | enum { | ||||
// Do we accept activate replay protection using a different fork id. | // Do we accept activate replay protection using a different fork id. | ||||
// | // | ||||
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_ENABLE_CHECKDATASIG = (1U << 18), | SCRIPT_VERIFY_CHECKDATASIG_SIGOPS = (1U << 18), | ||||
// Are Schnorr signatures enabled for OP_CHECK(DATA)SIG(VERIFY) and | // Are Schnorr signatures enabled for OP_CHECK(DATA)SIG(VERIFY) and | ||||
// 65-byte signatures banned for OP_CHECKMULTISIG(VERIFY)? | // 65-byte signatures banned for OP_CHECKMULTISIG(VERIFY)? | ||||
// | // | ||||
SCRIPT_ENABLE_SCHNORR = (1U << 19), | SCRIPT_ENABLE_SCHNORR = (1U << 19), | ||||
// Allows the recovery of coins sent to p2sh segwit addresses | // Allows the recovery of coins sent to p2sh segwit addresses | ||||
SCRIPT_ALLOW_SEGWIT_RECOVERY = (1U << 20), | SCRIPT_ALLOW_SEGWIT_RECOVERY = (1U << 20), | ||||
}; | }; | ||||
#endif // BITCOIN_SCRIPT_SCRIPTFLAGS_H | #endif // BITCOIN_SCRIPT_SCRIPTFLAGS_H |