Changeset View
Changeset View
Standalone View
Standalone View
src/script/standard.h
Show All 35 Lines | |||||
/** | /** | ||||
* A data carrying output is an unspendable output containing data. The script | * A data carrying output is an unspendable output containing data. The script | ||||
* type is designated as TX_NULL_DATA. | * type is designated as TX_NULL_DATA. | ||||
*/ | */ | ||||
extern bool fAcceptDatacarrier; | extern bool fAcceptDatacarrier; | ||||
/** | /** | ||||
* Mandatory script verification flags that all new blocks must comply with for | * When transactions fail script evaluations under standard flags, this flagset | ||||
* them to be valid (but old blocks may not comply with). | * influences the decision of whether to drop them or to also ban the originator | ||||
* | * (see CheckInputs). | ||||
* Failing one of these tests may trigger a DoS ban - see CheckInputs() for | |||||
* details. | |||||
*/ | */ | ||||
static const uint32_t MANDATORY_SCRIPT_VERIFY_FLAGS = | static const uint32_t MANDATORY_SCRIPT_VERIFY_FLAGS = | ||||
SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_STRICTENC | | SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_STRICTENC | | ||||
SCRIPT_ENABLE_SIGHASH_FORKID | SCRIPT_VERIFY_LOW_S | | SCRIPT_ENABLE_SIGHASH_FORKID | SCRIPT_VERIFY_LOW_S | | ||||
SCRIPT_VERIFY_NULLFAIL | SCRIPT_VERIFY_MINIMALDATA | | SCRIPT_VERIFY_NULLFAIL | SCRIPT_VERIFY_MINIMALDATA | | ||||
SCRIPT_ENABLE_SCHNORR_MULTISIG; | SCRIPT_ENABLE_SCHNORR_MULTISIG; | ||||
enum txnouttype { | enum txnouttype { | ||||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |