Changeset View
Changeset View
Standalone View
Standalone View
src/primitives/txid.h
Show All 14 Lines | struct TxId : public uint256 { | ||||
explicit TxId() : uint256() {} | explicit TxId() : uint256() {} | ||||
explicit TxId(const uint256 &b) : uint256(b) {} | explicit TxId(const uint256 &b) : uint256(b) {} | ||||
}; | }; | ||||
/** | /** | ||||
* A TxHash is the double sha256 hash of the full transaction data. | * A TxHash is the double sha256 hash of the full transaction data. | ||||
*/ | */ | ||||
struct TxHash : public uint256 { | struct TxHash : public uint256 { | ||||
explicit TxHash() : uint256() {} | |||||
explicit TxHash(const uint256 &b) : uint256(b) {} | explicit TxHash(const uint256 &b) : uint256(b) {} | ||||
}; | }; | ||||
#endif // BITCOIN_PRIMITIVES_TXID_H | #endif // BITCOIN_PRIMITIVES_TXID_H |