Changeset View
Changeset View
Standalone View
Standalone View
src/script/interpreter.h
Show All 32 Lines | enum { | ||||
// Evaluate P2SH subscripts (softfork safe, BIP16). | // Evaluate P2SH subscripts (softfork safe, BIP16). | ||||
SCRIPT_VERIFY_P2SH = (1U << 0), | SCRIPT_VERIFY_P2SH = (1U << 0), | ||||
// Passing a non-strict-DER signature or one with undefined hashtype to a | // Passing a non-strict-DER signature or one with undefined hashtype to a | ||||
// checksig operation causes script failure. Evaluating a pubkey that is not | // checksig operation causes script failure. Evaluating a pubkey that is not | ||||
// (0x04 + 64 bytes) or (0x02 or 0x03 + 32 bytes) by checksig causes script | // (0x04 + 64 bytes) or (0x02 or 0x03 + 32 bytes) by checksig causes script | ||||
// failure. | // failure. | ||||
// (softfork safe, but not used or intended as a consensus rule). | |||||
SCRIPT_VERIFY_STRICTENC = (1U << 1), | SCRIPT_VERIFY_STRICTENC = (1U << 1), | ||||
// Passing a non-strict-DER signature to a checksig operation causes script | // Passing a non-strict-DER signature to a checksig operation causes script | ||||
// failure (softfork safe, BIP62 rule 1) | // failure (softfork safe, BIP62 rule 1) | ||||
SCRIPT_VERIFY_DERSIG = (1U << 2), | SCRIPT_VERIFY_DERSIG = (1U << 2), | ||||
// Passing a non-strict-DER signature or one with S > order/2 to a checksig | // Passing a non-strict-DER signature or one with S > order/2 to a checksig | ||||
// operation causes script failure | // operation causes script failure | ||||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |