Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
* only increase the dust limit after prior releases were already not creating | * only increase the dust limit after prior releases were already not creating | ||||
* outputs below the new threshold. | * outputs below the new threshold. | ||||
*/ | */ | ||||
static const Amount DUST_RELAY_TX_FEE(1000 * SATOSHI); | static const Amount DUST_RELAY_TX_FEE(1000 * SATOSHI); | ||||
/** | /** | ||||
* When transactions fail script evaluations under standard flags, this flagset | * When transactions fail script evaluations under standard flags, this flagset | ||||
* influences the decision of whether to drop them or to also ban the originator | * influences the decision of whether to drop them or to also ban the originator | ||||
* (see CheckInputs). | * (see CheckInputScripts). | ||||
*/ | */ | ||||
static constexpr uint32_t MANDATORY_SCRIPT_VERIFY_FLAGS = | static constexpr 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_ENFORCE_SIGCHECKS; | SCRIPT_ENABLE_SCHNORR_MULTISIG | SCRIPT_ENFORCE_SIGCHECKS; | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |