Changeset View
Changeset View
Standalone View
Standalone View
src/script/standard.h
Show All 18 Lines | |||||
class CKeyID; | class CKeyID; | ||||
class CScript; | class CScript; | ||||
/** A reference to a CScript: the Hash160 of its serialization (see script.h) */ | /** A reference to a CScript: the Hash160 of its serialization (see script.h) */ | ||||
class CScriptID : public uint160 { | class CScriptID : public uint160 { | ||||
public: | public: | ||||
CScriptID() : uint160() {} | CScriptID() : uint160() {} | ||||
CScriptID(const CScript &in); | explicit CScriptID(const CScript &in); | ||||
CScriptID(const uint160 &in) : uint160(in) {} | CScriptID(const uint160 &in) : uint160(in) {} | ||||
}; | }; | ||||
/** | /** | ||||
* Default setting for nMaxDatacarrierBytes. 220 bytes of data, +1 for | * Default setting for nMaxDatacarrierBytes. 220 bytes of data, +1 for | ||||
* OP_RETURN, +2 for the pushdata opcodes. | * OP_RETURN, +2 for the pushdata opcodes. | ||||
*/ | */ | ||||
static const unsigned int MAX_OP_RETURN_RELAY = 223; | static const unsigned int MAX_OP_RETURN_RELAY = 223; | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |