Bitcoin Core  22.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CNetAddrHash Class Reference

#include <netaddress.h>

Public Member Functions

size_t operator() (const CNetAddr &a) const noexcept
 

Private Attributes

const uint64_t m_salt_k0 = GetRand(std::numeric_limits<uint64_t>::max())
 
const uint64_t m_salt_k1 = GetRand(std::numeric_limits<uint64_t>::max())
 

Detailed Description

Definition at line 470 of file netaddress.h.

Member Function Documentation

◆ operator()()

size_t CNetAddrHash::operator() ( const CNetAddr a) const
inlinenoexcept

Definition at line 473 of file netaddress.h.

Here is the call graph for this function:

Member Data Documentation

◆ m_salt_k0

const uint64_t CNetAddrHash::m_salt_k0 = GetRand(std::numeric_limits<uint64_t>::max())
private

Definition at line 482 of file netaddress.h.

◆ m_salt_k1

const uint64_t CNetAddrHash::m_salt_k1 = GetRand(std::numeric_limits<uint64_t>::max())
private

Definition at line 483 of file netaddress.h.


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