Bitcoin Core  0.18.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CBanDB Class Reference

Access to the banlist database (banlist.dat) More...

#include <addrdb.h>

Public Member Functions

 CBanDB (fs::path ban_list_path)
 
bool Write (const banmap_t &banSet)
 
bool Read (banmap_t &banSet)
 

Private Attributes

const fs::path m_ban_list_path
 

Detailed Description

Access to the banlist database (banlist.dat)

Definition at line 97 of file addrdb.h.

Constructor & Destructor Documentation

◆ CBanDB()

CBanDB::CBanDB ( fs::path  ban_list_path)
explicit

Definition at line 120 of file addrdb.cpp.

Member Function Documentation

◆ Read()

bool CBanDB::Read ( banmap_t banSet)

Definition at line 129 of file addrdb.cpp.

Here is the caller graph for this function:

◆ Write()

bool CBanDB::Write ( const banmap_t banSet)

Definition at line 124 of file addrdb.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ m_ban_list_path

const fs::path CBanDB::m_ban_list_path
private

Definition at line 100 of file addrdb.h.


The documentation for this class was generated from the following files: