Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 58 of file addrdb.h.

Constructor & Destructor Documentation

◆ CBanDB()

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

Definition at line 128 of file addrdb.cpp.

Member Function Documentation

◆ Read()

bool CBanDB::Read ( banmap_t banSet)

Definition at line 136 of file addrdb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Write()

bool CBanDB::Write ( const banmap_t banSet)

Definition at line 131 of file addrdb.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ chainParams

const CChainParams& CBanDB::chainParams
private

Definition at line 61 of file addrdb.h.

◆ m_ban_list_path

const fs::path CBanDB::m_ban_list_path
private

Definition at line 60 of file addrdb.h.


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