Changeset View
Changeset View
Standalone View
Standalone View
src/script/standard.h
Show All 23 Lines | public: | ||||
CScriptID() : uint160() {} | CScriptID() : uint160() {} | ||||
CScriptID(const CScript &in); | CScriptID(const CScript &in); | ||||
CScriptID(const uint160 &in) : uint160(in) {} | CScriptID(const uint160 &in) : uint160(in) {} | ||||
}; | }; | ||||
//!< bytes (+1 for OP_RETURN, +2 for the pushdata opcodes) | //!< bytes (+1 for OP_RETURN, +2 for the pushdata opcodes) | ||||
static const unsigned int MAX_OP_RETURN_RELAY = 83; | static const unsigned int MAX_OP_RETURN_RELAY = 83; | ||||
extern bool fAcceptDatacarrier; | extern bool fAcceptDatacarrier; | ||||
extern unsigned nMaxDatacarrierBytes; | |||||
/** | /** | ||||
* Mandatory script verification flags that all new blocks must comply with for | * Mandatory script verification flags that all new blocks must comply with for | ||||
* them to be valid. (but old blocks may not comply with) Currently just P2SH, | * them to be valid. (but old blocks may not comply with) Currently just P2SH, | ||||
* but in the future other flags may be added, such as a soft-fork to enforce | * but in the future other flags may be added, such as a soft-fork to enforce | ||||
* strict DER encoding. | * strict DER encoding. | ||||
* | * | ||||
* Failing one of these tests may trigger a DoS ban - see CheckInputs() for | * Failing one of these tests may trigger a DoS ban - see CheckInputs() for | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |