Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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 77 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.

Released under the MIT license