MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetCheapHash

Method GetCheapHash

src/hash.h:143–146  ·  view source on GitHub ↗

* Returns the first 64 bits from the resulting hash. */

Source from the content-addressed store, hash-verified

141 * Returns the first 64 bits from the resulting hash.
142 */
143 inline uint64_t GetCheapHash() {
144 uint256 result = GetHash();
145 return ReadLE64(result.begin());
146 }
147
148 template<typename T>
149 CHashWriter& operator<<(const T& obj) {

Callers 3

GetTriedBucketMethod · 0.80
GetNewBucketMethod · 0.80
GetBucketPositionMethod · 0.80

Calls 2

ReadLE64Function · 0.85
beginMethod · 0.45

Tested by

no test coverage detected