Bitcoin Core  0.18.99
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 <sigcache.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 30 of file sigcache.h.

Member Function Documentation

◆ operator()()

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

Definition at line 34 of file sigcache.h.

Here is the call graph for this function:

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