Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
SaltedOutpointHasher Class Reference
#include <coins.h>
Public Member Functions | |
SaltedOutpointHasher () | |
size_t | operator() (const COutPoint &id) const |
This must return size_t. More... | |
Private Attributes | |
const uint64_t | k0 |
Salt. More... | |
const uint64_t | k1 |
Detailed Description
Constructor & Destructor Documentation
◆ SaltedOutpointHasher()
Member Function Documentation
◆ operator()()
|
inline |
This must return size_t.
With Boost 1.46 on 32-bit systems the unordered_map will behave unpredictably if the custom hasher returns a uint64_t, resulting in failures when syncing the chain (#4634).
Definition at line 98 of file coins.h.
References k0, k1, and SipHashUint256Extra().
Member Data Documentation
◆ k0
|
private |
◆ k1
|
private |
Definition at line 88 of file coins.h.
Referenced by operator()().
The documentation for this class was generated from the following files: