Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <addrdb.h>
Public Member Functions | |
| CBanEntry () | |
| CBanEntry (int64_t nCreateTimeIn) | |
| template<typename Stream , typename Operation > | |
| void | SerializationOp (Stream &s, Operation ser_action) |
| void | SetNull () |
| std::string | banReasonToString () const |
Public Attributes | |
| int | nVersion |
| int64_t | nCreateTime |
| int64_t | nBanUntil |
| uint8_t | banReason |
| ADD_SERIALIZE_METHODS | |
Static Public Attributes | |
| static const int | CURRENT_VERSION =1 |
Detailed Description
Constructor & Destructor Documentation
◆ CBanEntry() [1/2]
◆ CBanEntry() [2/2]
|
inlineexplicit |
Definition at line 40 of file addrdb.h.
References nCreateTime, and SetNull().
Member Function Documentation
◆ banReasonToString()
|
inline |
Definition at line 64 of file addrdb.h.
References banReason, BanReasonManuallyAdded, and BanReasonNodeMisbehaving.
Referenced by listbanned().
◆ SerializationOp()
|
inline |
◆ SetNull()
|
inline |
Definition at line 56 of file addrdb.h.
References banReason, BanReasonUnknown, CURRENT_VERSION, nBanUntil, nCreateTime, and nVersion.
Referenced by CBanEntry().
Member Data Documentation
◆ ADD_SERIALIZE_METHODS
◆ banReason
| uint8_t CBanEntry::banReason |
Definition at line 33 of file addrdb.h.
Referenced by CConnman::Ban(), banReasonToString(), SerializationOp(), and SetNull().
◆ CURRENT_VERSION
|
static |
◆ nBanUntil
| int64_t CBanEntry::nBanUntil |
Definition at line 32 of file addrdb.h.
Referenced by CConnman::Ban(), BanTableModel::data(), CConnman::IsBanned(), listbanned(), BannedNodeLessThan::operator()(), SerializationOp(), SetNull(), and CConnman::SweepBanned().
◆ nCreateTime
| int64_t CBanEntry::nCreateTime |
Definition at line 31 of file addrdb.h.
Referenced by CBanEntry(), listbanned(), SerializationOp(), and SetNull().
◆ nVersion
The documentation for this class was generated from the following file:
- src/addrdb.h

