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

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

#include <addrdb.h>

Public Member Functions

 CAddrDB ()
 
bool Write (const CAddrMan &addr)
 
bool Read (CAddrMan &addr)
 

Static Public Member Functions

static bool Read (CAddrMan &addr, CDataStream &ssPeers)
 

Private Attributes

fs::path pathAddr
 

Detailed Description

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

Definition at line 20 of file addrdb.h.

Constructor & Destructor Documentation

◆ CAddrDB()

CAddrDB::CAddrDB ( )

Definition at line 173 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 183 of file addrdb.cpp.

Here is the caller graph for this function:

◆ Read() [2/2]

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

Definition at line 188 of file addrdb.cpp.

◆ Write()

bool CAddrDB::Write ( const CAddrMan addr)

Definition at line 178 of file addrdb.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ pathAddr

fs::path CAddrDB::pathAddr
private

Definition at line 23 of file addrdb.h.


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