Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
CBanDB Class Reference
Access to the banlist database (banlist.dat) More...
#include <addrdb.h>
Public Member Functions | |
CBanDB () | |
bool | Write (const banmap_t &banSet) |
bool | Read (banmap_t &banSet) |
Private Attributes | |
fs::path | pathBanlist |
Detailed Description
Constructor & Destructor Documentation
◆ CBanDB()
CBanDB::CBanDB | ( | ) |
Definition at line 107 of file addrdb.cpp.
References GetDataDir(), and pathBanlist.
Member Function Documentation
◆ Read()
bool CBanDB::Read | ( | banmap_t & | banSet | ) |
◆ Write()
bool CBanDB::Write | ( | const banmap_t & | banSet | ) |
Definition at line 112 of file addrdb.cpp.
References pathBanlist.
Referenced by CConnman::DumpBanlist().
Member Data Documentation
◆ pathBanlist
|
private |
The documentation for this class was generated from the following files:
- src/addrdb.h
- src/addrdb.cpp