Bitcoin
Public Member Functions | Private Attributes | List of all members
CBanDB Class Reference

#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)

Constructor & Destructor Documentation

◆ CBanDB()

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

Member Function Documentation

◆ Read()

bool CBanDB::Read ( banmap_t banSet)

◆ Write()

bool CBanDB::Write ( const banmap_t banSet)

Member Data Documentation

◆ m_ban_list_path

const fs::path CBanDB::m_ban_list_path
private

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