![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
Access to the (IP) address database (peers.dat) More...
#include <net.h>
Collaboration diagram for CAddrDB:Public Member Functions | |
| CAddrDB () | |
| bool | Write (const CAddrMan &addr) |
| bool | Read (CAddrMan &addr) |
Private Attributes | |
| boost::filesystem::path | pathAddr |
| CAddrDB::CAddrDB | ( | ) |
Definition at line 1909 of file net.cpp.
References GetDataDir().
Here is the call graph for this function:| bool CAddrDB::Read | ( | CAddrMan & | addr | ) |
Definition at line 1952 of file net.cpp.
References CDataStream::begin(), CLIENT_VERSION, CDataStream::end(), error(), FLATDATA, Hash(), Params(), and SER_DISK.
Referenced by AppInit2().
Here is the call graph for this function:
Here is the caller graph for this function:| bool CAddrDB::Write | ( | const CAddrMan & | addr | ) |
Definition at line 1914 of file net.cpp.
References CDataStream::begin(), CLIENT_VERSION, CDataStream::end(), error(), FileCommit(), fileout, FLATDATA, GetDataDir(), Hash(), Params(), RenameOver(), SER_DISK, and strprintf.
Referenced by DumpAddresses().
Here is the call graph for this function:
Here is the caller graph for this function:
1.8.8