Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
uint256.h
Go to the documentation of this file.
46 inline int Compare(const base_blob& other) const { return memcmp(data, other.data, sizeof(data)); }
48 friend inline bool operator==(const base_blob& a, const base_blob& b) { return a.Compare(b) == 0; }
49 friend inline bool operator!=(const base_blob& a, const base_blob& b) { return a.Compare(b) != 0; }
50 friend inline bool operator<(const base_blob& a, const base_blob& b) { return a.Compare(b) < 0; }
150 * This is a separate function because the constructor uint256(const std::string &str) can result
friend bool operator==(const base_blob &a, const base_blob &b)
Definition: uint256.h:48
Definition: box.hpp:161
friend bool operator!=(const base_blob &a, const base_blob &b)
Definition: uint256.h:49
friend bool operator<(const base_blob &a, const base_blob &b)
Definition: uint256.h:50
std::size_t operator()(const uint256 &k) const
Definition: uint256.h:179
uint64_t GetCheapHash() const
A cheap hash function that just returns 64 bits from the result, it can be used when the contents are...
Definition: uint256.h:133