Bitcoin ABC 0.30.5
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 579 of file netaddress.h.

Constructor & Destructor Documentation

◆ CServiceHash() [1/2]

CServiceHash::CServiceHash ( )
inline

Definition at line 581 of file netaddress.h.

◆ CServiceHash() [2/2]

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

Definition at line 584 of file netaddress.h.

Member Function Documentation

◆ operator()()

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

Definition at line 587 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 596 of file netaddress.h.

◆ m_salt_k1

const uint64_t CServiceHash::m_salt_k1
private

Definition at line 597 of file netaddress.h.


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