Bitcoin Core  0.15.99
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 80 of file addrdb.h.

Constructor & Destructor Documentation

CAddrDB::CAddrDB ( )

Definition at line 123 of file addrdb.cpp.

Here is the call graph for this function:

Member Function Documentation

bool CAddrDB::Read ( CAddrMan addr)

Definition at line 133 of file addrdb.cpp.

Here is the caller graph for this function:

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

Definition at line 138 of file addrdb.cpp.

Here is the call graph for this function:

bool CAddrDB::Write ( const CAddrMan addr)

Definition at line 128 of file addrdb.cpp.

Here is the caller graph for this function:

Member Data Documentation

fs::path CAddrDB::pathAddr
private

Definition at line 83 of file addrdb.h.


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