Bitcoin Core  0.18.99
P2P Digital Currency
Classes | Typedefs | Enumerations
addrdb.h File Reference
#include <fs.h>
#include <serialize.h>
#include <string>
#include <map>
Include dependency graph for addrdb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CBanEntry
 
class  CAddrDB
 Access to the (IP) address database (peers.dat) More...
 
class  CBanDB
 Access to the banlist database (banlist.dat) More...
 

Typedefs

typedef enum BanReason BanReason
 
typedef std::map< CSubNet, CBanEntrybanmap_t
 

Enumerations

enum  BanReason { BanReasonUnknown = 0, BanReasonNodeMisbehaving = 1, BanReasonManuallyAdded = 2 }
 

Typedef Documentation

◆ banmap_t

typedef std::map<CSubNet, CBanEntry> banmap_t

Definition at line 82 of file addrdb.h.

◆ BanReason

typedef enum BanReason BanReason

Enumeration Type Documentation

◆ BanReason

enum BanReason
Enumerator
BanReasonUnknown 
BanReasonNodeMisbehaving 
BanReasonManuallyAdded 

Definition at line 19 of file addrdb.h.