Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CBanEntry Class Reference

#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

Definition at line 27 of file addrdb.h.

Constructor & Destructor Documentation

◆ CBanEntry() [1/2]

CBanEntry::CBanEntry ( )
inline

Definition at line 36 of file addrdb.h.

Here is the call graph for this function:

◆ CBanEntry() [2/2]

CBanEntry::CBanEntry ( int64_t  nCreateTimeIn)
inlineexplicit

Definition at line 41 of file addrdb.h.

Here is the call graph for this function:

Member Function Documentation

◆ banReasonToString()

std::string CBanEntry::banReasonToString ( ) const
inline

Definition at line 65 of file addrdb.h.

◆ SerializationOp()

template<typename Stream , typename Operation >
void CBanEntry::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 50 of file addrdb.h.

◆ SetNull()

void CBanEntry::SetNull ( )
inline

Definition at line 57 of file addrdb.h.

Here is the caller graph for this function:

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CBanEntry::ADD_SERIALIZE_METHODS

Definition at line 47 of file addrdb.h.

◆ banReason

uint8_t CBanEntry::banReason

Definition at line 34 of file addrdb.h.

◆ CURRENT_VERSION

const int CBanEntry::CURRENT_VERSION =1
static

Definition at line 30 of file addrdb.h.

◆ nBanUntil

int64_t CBanEntry::nBanUntil

Definition at line 33 of file addrdb.h.

◆ nCreateTime

int64_t CBanEntry::nCreateTime

Definition at line 32 of file addrdb.h.

◆ nVersion

int CBanEntry::nVersion

Definition at line 31 of file addrdb.h.


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