Bitcoin ABC 0.30.3
P2P Digital Currency
Public Member Functions | Private Attributes | Friends | List of all members
SeederAddrInfo Class Reference

#include <db.h>

Collaboration diagram for SeederAddrInfo:
[legend]

Public Member Functions

 SeederAddrInfo ()
 
CAddrReport GetReport () const
 
bool IsReliable () const
 
ReliabilityStatus GetReliabilityStatus () const
 
int64_t GetBanTime () const
 
int64_t GetIgnoreTime () const
 
void Update (bool good)
 
 SERIALIZE_METHODS (SeederAddrInfo, obj)
 

Private Attributes

CService ip
 
uint64_t services
 
int64_t lastTry
 
int64_t ourLastTry
 
int64_t ourLastSuccess
 
int64_t ignoreTill
 
CAddrStat stat2H
 
CAddrStat stat8H
 
CAddrStat stat1D
 
CAddrStat stat1W
 
CAddrStat stat1M
 
int clientVersion
 
int blocks
 
int total
 
int success
 
std::string clientSubVersion
 
bool checkpointVerified
 

Friends

class CAddrDb
 

Detailed Description

Definition at line 90 of file db.h.

Constructor & Destructor Documentation

◆ SeederAddrInfo()

SeederAddrInfo::SeederAddrInfo ( )
inline

Definition at line 111 of file db.h.

Member Function Documentation

◆ GetBanTime()

int64_t SeederAddrInfo::GetBanTime ( ) const
inline

Definition at line 166 of file db.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetIgnoreTime()

int64_t SeederAddrInfo::GetIgnoreTime ( ) const
inline

Definition at line 188 of file db.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetReliabilityStatus()

ReliabilityStatus SeederAddrInfo::GetReliabilityStatus ( ) const
inline

Definition at line 138 of file db.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetReport()

CAddrReport SeederAddrInfo::GetReport ( ) const
inline

Definition at line 115 of file db.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsReliable()

bool SeederAddrInfo::IsReliable ( ) const
inline

Definition at line 132 of file db.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SERIALIZE_METHODS()

SeederAddrInfo::SERIALIZE_METHODS ( SeederAddrInfo  ,
obj   
)
inline

Definition at line 215 of file db.h.

◆ Update()

void SeederAddrInfo::Update ( bool  good)

Definition at line 11 of file db.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ CAddrDb

friend class CAddrDb
friend

Definition at line 213 of file db.h.

Member Data Documentation

◆ blocks

int SeederAddrInfo::blocks
private

Definition at line 104 of file db.h.

◆ checkpointVerified

bool SeederAddrInfo::checkpointVerified
private

Definition at line 108 of file db.h.

◆ clientSubVersion

std::string SeederAddrInfo::clientSubVersion
private

Definition at line 107 of file db.h.

◆ clientVersion

int SeederAddrInfo::clientVersion
private

Definition at line 103 of file db.h.

◆ ignoreTill

int64_t SeederAddrInfo::ignoreTill
private

Definition at line 97 of file db.h.

◆ ip

CService SeederAddrInfo::ip
private

Definition at line 92 of file db.h.

◆ lastTry

int64_t SeederAddrInfo::lastTry
private

Definition at line 94 of file db.h.

◆ ourLastSuccess

int64_t SeederAddrInfo::ourLastSuccess
private

Definition at line 96 of file db.h.

◆ ourLastTry

int64_t SeederAddrInfo::ourLastTry
private

Definition at line 95 of file db.h.

◆ services

uint64_t SeederAddrInfo::services
private

Definition at line 93 of file db.h.

◆ stat1D

CAddrStat SeederAddrInfo::stat1D
private

Definition at line 100 of file db.h.

◆ stat1M

CAddrStat SeederAddrInfo::stat1M
private

Definition at line 102 of file db.h.

◆ stat1W

CAddrStat SeederAddrInfo::stat1W
private

Definition at line 101 of file db.h.

◆ stat2H

CAddrStat SeederAddrInfo::stat2H
private

Definition at line 98 of file db.h.

◆ stat8H

CAddrStat SeederAddrInfo::stat8H
private

Definition at line 99 of file db.h.

◆ success

int SeederAddrInfo::success
private

Definition at line 106 of file db.h.

◆ total

int SeederAddrInfo::total
private

Definition at line 105 of file db.h.


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