Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

SaltedTxidHasher Class Reference

#include <txmempool.h>

Public Member Functions

 SaltedTxidHasher ()
 
size_t operator() (const uint256 &txid) const
 

Private Attributes

const uint64_t k0
 Salt. More...
 
const uint64_t k1
 

Detailed Description

Definition at line 358 of file txmempool.h.

Constructor & Destructor Documentation

◆ SaltedTxidHasher()

SaltedTxidHasher::SaltedTxidHasher ( )

Definition at line 1552 of file txmempool.cpp.

Member Function Documentation

◆ operator()()

size_t SaltedTxidHasher::operator() ( const uint256 txid) const
inline

Definition at line 367 of file txmempool.h.

References k0, k1, and SipHashUint256().

Member Data Documentation

◆ k0

const uint64_t SaltedTxidHasher::k0
private

Salt.

Definition at line 362 of file txmempool.h.

Referenced by operator()().

◆ k1

const uint64_t SaltedTxidHasher::k1
private

Definition at line 362 of file txmempool.h.

Referenced by operator()().


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