Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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.

References base_blob< BITS >::begin(), and memcpy().


The documentation for this class was generated from the following file:
Released under the MIT license