Bitcoin ABC 0.30.5
P2P Digital Currency
Classes | Macros | Enumerations | Functions
db.h File Reference
#include <chainparams.h>
#include <netbase.h>
#include <protocol.h>
#include <seeder/bitcoin.h>
#include <seeder/util.h>
#include <sync.h>
#include <util/time.h>
#include <version.h>
#include <cmath>
#include <cstdint>
#include <deque>
#include <map>
#include <set>
#include <vector>
Include dependency graph for db.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CAddrStat
 
class  CAddrReport
 
class  SeederAddrInfo
 
class  CAddrDbStats
 
struct  CServiceResult
 
class  CAddrDb
 

Macros

#define MIN_RETRY   1000
 
#define REQUIRE_VERSION   70001
 

Enumerations

enum class  ReliabilityStatus {
  OK , NOT_NODE_NETWORK , NOT_ROUTABLE , NOT_REQUIRED_VERSION ,
  NOT_REQUIRED_HEIGHT , BAD_UPTIME , UNVERIFIED_CHECKPOINT
}
 

Functions

static int GetRequireHeight ()
 
static bool HasCheckpoint ()
 
static std::string ToString (const CService &ip)
 

Macro Definition Documentation

◆ MIN_RETRY

#define MIN_RETRY   1000

Definition at line 24 of file db.h.

◆ REQUIRE_VERSION

#define REQUIRE_VERSION   70001

Definition at line 26 of file db.h.

Enumeration Type Documentation

◆ ReliabilityStatus

enum class ReliabilityStatus
strong
Enumerator
OK 
NOT_NODE_NETWORK 
NOT_ROUTABLE 
NOT_REQUIRED_VERSION 
NOT_REQUIRED_HEIGHT 
BAD_UPTIME 
UNVERIFIED_CHECKPOINT 

Definition at line 68 of file db.h.

Function Documentation

◆ GetRequireHeight()

static int GetRequireHeight ( )
inlinestatic

Definition at line 28 of file db.h.

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

◆ HasCheckpoint()

static bool HasCheckpoint ( )
inlinestatic

Definition at line 32 of file db.h.

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

◆ ToString()

static std::string ToString ( const CService ip)
inlinestatic

Definition at line 37 of file db.h.

Here is the call graph for this function: