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

#include <netaddress.h>

Public Member Functions

size_t operator() (const CService &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 562 of file netaddress.h.

Member Function Documentation

◆ operator()()

size_t CServiceHash::operator() ( const CService a) const
inlinenoexcept

Definition at line 565 of file netaddress.h.

Here is the call graph for this function:

Member Data Documentation

◆ m_salt_k0

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

Definition at line 575 of file netaddress.h.

◆ m_salt_k1

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

Definition at line 576 of file netaddress.h.


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