Bitcoin Core  24.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 554 of file netaddress.h.

Constructor & Destructor Documentation

◆ CServiceHash() [1/2]

CServiceHash::CServiceHash ( )
inline

Definition at line 557 of file netaddress.h.

◆ CServiceHash() [2/2]

CServiceHash::CServiceHash ( uint64_t  salt_k0,
uint64_t  salt_k1 
)
inline

Definition at line 563 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
private

Definition at line 575 of file netaddress.h.

◆ m_salt_k1

const uint64_t CServiceHash::m_salt_k1
private

Definition at line 576 of file netaddress.h.


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