Bitcoin Core  0.15.99
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

Static Public Attributes

static const int CURRENT_VERSION =1

Detailed Description

Definition at line 26 of file addrdb.h.

Constructor & Destructor Documentation

CBanEntry::CBanEntry ( )

Definition at line 35 of file addrdb.h.

Here is the call graph for this function:

CBanEntry::CBanEntry ( int64_t  nCreateTimeIn)

Definition at line 40 of file addrdb.h.

Here is the call graph for this function:

Member Function Documentation

std::string CBanEntry::banReasonToString ( ) const

Definition at line 64 of file addrdb.h.

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

Definition at line 49 of file addrdb.h.

void CBanEntry::SetNull ( )

Definition at line 56 of file addrdb.h.

Here is the caller graph for this function:

Member Data Documentation


Definition at line 46 of file addrdb.h.

uint8_t CBanEntry::banReason

Definition at line 33 of file addrdb.h.

const int CBanEntry::CURRENT_VERSION =1

Definition at line 29 of file addrdb.h.

int64_t CBanEntry::nBanUntil

Definition at line 32 of file addrdb.h.

int64_t CBanEntry::nCreateTime

Definition at line 31 of file addrdb.h.

int CBanEntry::nVersion

Definition at line 30 of file addrdb.h.

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