Bitcoin ABC  0.24.7
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>

Collaboration diagram for CBanDB:
[legend]

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 CChainParamschainParams
 

Detailed Description

Access to the banlist database (banlist.dat)

Definition at line 62 of file addrdb.h.

Constructor & Destructor Documentation

◆ CBanDB()

CBanDB::CBanDB ( fs::path  ban_list_path,
const CChainParams _chainParams 
)

Definition at line 125 of file addrdb.cpp.

Member Function Documentation

◆ Read()

bool CBanDB::Read ( banmap_t banSet)

Definition at line 132 of file addrdb.cpp.

Here is the caller graph for this function:

◆ Write()

bool CBanDB::Write ( const banmap_t banSet)

Definition at line 128 of file addrdb.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ chainParams

const CChainParams& CBanDB::chainParams
private

Definition at line 65 of file addrdb.h.

◆ m_ban_list_path

const fs::path CBanDB::m_ban_list_path
private

Definition at line 64 of file addrdb.h.


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