SignatureCacheHasher::operator()

Extract one of eight 32-bit sub-hashes from a 256-bit key.

Synopsis

Declared in <util/hasher.h>

template<uint8_t hash_select>
uint32_t
operator()(uint256 const& key) const;

Return Value

The selected 32-bit word of the key.

Template Parameters

NameDescription
hash_selectWhich 32-bit word to read, in the range 0 to 7.

Parameters

NameDescription
keyThe 256-bit key to read the sub-hash from.