MCPcopy Create free account
hub / github.com/ElementsProject/elements / operator()

Method operator()

src/util/hasher.h:88–88  ·  view source on GitHub ↗

this used to call `GetCheapHash()` in uint256, which was later moved; the cheap hash function simply calls ReadLE64() however, so the end result is identical

Source from the content-addressed store, hash-verified

86 // cheap hash function simply calls ReadLE64() however, so the end result is
87 // identical
88 size_t operator()(const uint256& hash) const { return ReadLE64(hash.begin()); }
89};
90
91class SaltedSipHasher

Callers

nothing calls this directly

Calls 2

ReadLE64Function · 0.85
beginMethod · 0.45

Tested by

no test coverage detected