Bitcoin ABC  0.29.2
P2P Digital Currency
Functions | Variables
base.cpp File Reference
#include <chain.h>
#include <chainparams.h>
#include <config.h>
#include <index/base.h>
#include <node/blockstorage.h>
#include <node/ui_interface.h>
#include <shutdown.h>
#include <tinyformat.h>
#include <util/thread.h>
#include <util/translation.h>
#include <validation.h>
#include <warnings.h>
#include <functional>
Include dependency graph for base.cpp:

Go to the source code of this file.

Functions

template<typename... Args>
static void FatalError (const char *fmt, const Args &...args)
 
static const CBlockIndexNextSyncBlock (const CBlockIndex *pindex_prev, CChain &chain) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
 

Variables

constexpr uint8_t DB_BEST_BLOCK {'B'}
 
constexpr int64_t SYNC_LOG_INTERVAL = 30
 
constexpr int64_t SYNC_LOCATOR_WRITE_INTERVAL = 30
 

Function Documentation

◆ FatalError()

template<typename... Args>
static void FatalError ( const char *  fmt,
const Args &...  args 
)
static

Definition at line 28 of file base.cpp.

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

◆ NextSyncBlock()

static const CBlockIndex* NextSyncBlock ( const CBlockIndex pindex_prev,
CChain chain 
)
static

Definition at line 116 of file base.cpp.

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

Variable Documentation

◆ DB_BEST_BLOCK

constexpr uint8_t DB_BEST_BLOCK {'B'}
constexpr

Definition at line 22 of file base.cpp.

◆ SYNC_LOCATOR_WRITE_INTERVAL

constexpr int64_t SYNC_LOCATOR_WRITE_INTERVAL = 30
constexpr

Definition at line 25 of file base.cpp.

◆ SYNC_LOG_INTERVAL

constexpr int64_t SYNC_LOG_INTERVAL = 30
constexpr

Definition at line 24 of file base.cpp.