Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
SignatureCacheHasher Class Reference

We're hashing a nonce into the entries themselves, so we don't need extra blinding in the set hash computation. More...

#include <hasher.h>

Public Member Functions

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

Detailed Description

We're hashing a nonce into the entries themselves, so we don't need extra blinding in the set hash computation.

This may exhibit platform endian dependent behavior but because these are nonced hashes (random) and this state is only ever used locally it is safe. All that matters is local consistency.

Definition at line 68 of file hasher.h.

Member Function Documentation

◆ operator()()

template<uint8_t hash_select>
uint32_t SignatureCacheHasher::operator() ( const uint256 key) const
inline

Definition at line 72 of file hasher.h.

Here is the call graph for this function:

The documentation for this class was generated from the following file: