Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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

Access to the banlist database (banlist.dat)

Definition at line 92 of file addrdb.h.

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)

Definition at line 117 of file addrdb.cpp.

References pathBanlist.

Referenced by CConnman::Start().

◆ 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

fs::path CBanDB::pathBanlist
private

Definition at line 95 of file addrdb.h.

Referenced by CBanDB(), Read(), and Write().


The documentation for this class was generated from the following files:
Released under the MIT license