Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
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
Constructor & Destructor Documentation
◆ CAddrDB()
CAddrDB::CAddrDB | ( | ) |
Definition at line 122 of file addrdb.cpp.
References GetDataDir(), and pathAddr.
Member Function Documentation
◆ Read() [1/2]
bool CAddrDB::Read | ( | CAddrMan & | addr | ) |
◆ Read() [2/2]
|
static |
Definition at line 137 of file addrdb.cpp.
References CAddrMan::Clear().
◆ Write()
bool CAddrDB::Write | ( | const CAddrMan & | addr | ) |
Definition at line 127 of file addrdb.cpp.
References pathAddr.
Referenced by CConnman::DumpAddresses().
Member Data Documentation
◆ pathAddr
|
private |
The documentation for this class was generated from the following files:
- src/addrdb.h
- src/addrdb.cpp