Changeset View
Changeset View
Standalone View
Standalone View
src/script/standard.h
Show All 21 Lines | |||||
class CScriptID : public uint160 { | class CScriptID : public uint160 { | ||||
public: | 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 = 223; | ||||
static const unsigned int MAX_OP_RETURN_RELAY_LARGE = 223; | |||||
extern bool fAcceptDatacarrier; | extern bool fAcceptDatacarrier; | ||||
/** | /** | ||||
* 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. | ||||
* | * | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |