Bitcoin ABC  0.23.1
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
 
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
 

Friends

class CAddrDb
 

Detailed Description

Definition at line 75 of file db.h.

Constructor & Destructor Documentation

◆ SeederAddrInfo()

SeederAddrInfo::SeederAddrInfo ( )
inline

Definition at line 95 of file db.h.

Member Function Documentation

◆ GetBanTime()

int64_t SeederAddrInfo::GetBanTime ( ) const
inline

Definition at line 156 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 178 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 99 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 116 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 205 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 203 of file db.h.

Member Data Documentation

◆ blocks

int SeederAddrInfo::blocks
private

Definition at line 89 of file db.h.

◆ clientSubVersion

std::string SeederAddrInfo::clientSubVersion
private

Definition at line 92 of file db.h.

◆ clientVersion

int SeederAddrInfo::clientVersion
private

Definition at line 88 of file db.h.

◆ ignoreTill

int64_t SeederAddrInfo::ignoreTill
private

Definition at line 82 of file db.h.

◆ ip

CService SeederAddrInfo::ip
private

Definition at line 77 of file db.h.

◆ lastTry

int64_t SeederAddrInfo::lastTry
private

Definition at line 79 of file db.h.

◆ ourLastSuccess

int64_t SeederAddrInfo::ourLastSuccess
private

Definition at line 81 of file db.h.

◆ ourLastTry

int64_t SeederAddrInfo::ourLastTry
private

Definition at line 80 of file db.h.

◆ services

uint64_t SeederAddrInfo::services
private

Definition at line 78 of file db.h.

◆ stat1D

CAddrStat SeederAddrInfo::stat1D
private

Definition at line 85 of file db.h.

◆ stat1M

CAddrStat SeederAddrInfo::stat1M
private

Definition at line 87 of file db.h.

◆ stat1W

CAddrStat SeederAddrInfo::stat1W
private

Definition at line 86 of file db.h.

◆ stat2H

CAddrStat SeederAddrInfo::stat2H
private

Definition at line 83 of file db.h.

◆ stat8H

CAddrStat SeederAddrInfo::stat8H
private

Definition at line 84 of file db.h.

◆ success

int SeederAddrInfo::success
private

Definition at line 91 of file db.h.

◆ total

int SeederAddrInfo::total
private

Definition at line 90 of file db.h.


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