Bitcoin ABC  0.24.7
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CAddrDB Class Reference

Access to the (IP) address database (peers.dat) More...

#include <addrdb.h>

Collaboration diagram for CAddrDB:
[legend]

Public Member Functions

 CAddrDB (const CChainParams &chainParams)
 
bool Write (const CAddrMan &addr)
 
bool Read (CAddrMan &addr)
 
bool Read (CAddrMan &addr, CDataStream &ssPeers)
 

Private Attributes

fs::path pathAddr
 
const CChainParamschainParams
 

Detailed Description

Access to the (IP) address database (peers.dat)

Definition at line 49 of file addrdb.h.

Constructor & Destructor Documentation

◆ CAddrDB()

CAddrDB::CAddrDB ( const CChainParams chainParams)
explicit

Definition at line 136 of file addrdb.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Read() [1/2]

bool CAddrDB::Read ( CAddrMan addr)

Definition at line 145 of file addrdb.cpp.

Here is the caller graph for this function:

◆ Read() [2/2]

bool CAddrDB::Read ( CAddrMan addr,
CDataStream ssPeers 
)

Definition at line 149 of file addrdb.cpp.

Here is the call graph for this function:

◆ Write()

bool CAddrDB::Write ( const CAddrMan addr)

Definition at line 141 of file addrdb.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ chainParams

const CChainParams& CAddrDB::chainParams
private

Definition at line 52 of file addrdb.h.

◆ pathAddr

fs::path CAddrDB::pathAddr
private

Definition at line 51 of file addrdb.h.


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