Bitcoin ABC 0.30.7
P2P Digital Currency
|
Access to the banlist database (banlist.dat) More...
#include <addrdb.h>
Public Member Functions | |
CBanDB (fs::path ban_list_path, const CChainParams &_chainParams) | |
bool | Write (const banmap_t &banSet) |
bool | Read (banmap_t &banSet) |
Private Attributes | |
const fs::path | m_ban_list_path |
const CChainParams & | chainParams |
CBanDB::CBanDB | ( | fs::path | ban_list_path, |
const CChainParams & | _chainParams | ||
) |
Definition at line 127 of file addrdb.cpp.
bool CBanDB::Read | ( | banmap_t & | banSet | ) |
Definition at line 135 of file addrdb.cpp.
bool CBanDB::Write | ( | const banmap_t & | banSet | ) |
|
private |