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

#include <netaddress.h>

Public Member Functions

 CServiceHash ()
 CServiceHash (uint64_t salt_k0, uint64_t salt_k1)
size_t operator() (const CService &a) const noexcept

Private Attributes

const uint64_t m_salt_k0
const uint64_t m_salt_k1

Detailed Description

Definition at line 566 of file netaddress.h.

Constructor & Destructor Documentation

◆ CServiceHash() [1/2]

CServiceHash::CServiceHash ( )

Definition at line 569 of file netaddress.h.

◆ CServiceHash() [2/2]

CServiceHash::CServiceHash ( uint64_t  salt_k0,
uint64_t  salt_k1 

Definition at line 575 of file netaddress.h.

Member Function Documentation

◆ operator()()

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

Definition at line 577 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

Definition at line 587 of file netaddress.h.

◆ m_salt_k1

const uint64_t CServiceHash::m_salt_k1

Definition at line 588 of file netaddress.h.

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