Changeset View
Changeset View
Standalone View
Standalone View
src/primitives/transaction.h
Show First 20 Lines • Show All 271 Lines • ▼ Show 20 Lines | private: | ||||
uint256 ComputeHash() const; | uint256 ComputeHash() const; | ||||
public: | public: | ||||
/** Construct a CTransaction that qualifies as IsNull() */ | /** Construct a CTransaction that qualifies as IsNull() */ | ||||
CTransaction(); | CTransaction(); | ||||
/** Convert a CMutableTransaction into a CTransaction. */ | /** Convert a CMutableTransaction into a CTransaction. */ | ||||
CTransaction(const CMutableTransaction &tx); | explicit CTransaction(const CMutableTransaction &tx); | ||||
CTransaction(CMutableTransaction &&tx); | explicit CTransaction(CMutableTransaction &&tx); | ||||
template <typename Stream> inline void Serialize(Stream &s) const { | template <typename Stream> inline void Serialize(Stream &s) const { | ||||
SerializeTransaction(*this, s); | SerializeTransaction(*this, s); | ||||
} | } | ||||
/** | /** | ||||
* This deserializing constructor is provided instead of an Unserialize | * This deserializing constructor is provided instead of an Unserialize | ||||
* method. Unserialize is not possible, since it would require overwriting | * method. Unserialize is not possible, since it would require overwriting | ||||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |