BlockHasher::operator()

Compute the hash of a block hash from its first 8 bytes.

Synopsis

Declared in <util/hasher.h>

size_t
operator()(uint256 const& hash) const;

Return Value

The little-endian 64-bit value read from the start of the hash.

Parameters

NameDescription
hashThe block hash to hash.