Bitcoin Core  0.19.99
P2P Digital Currency
Functions | Variables
base.cpp File Reference
#include <chainparams.h>
#include <index/base.h>
#include <shutdown.h>
#include <tinyformat.h>
#include <ui_interface.h>
#include <util/system.h>
#include <validation.h>
#include <warnings.h>
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) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
 

Variables

constexpr char 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 20 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)
static

Definition at line 72 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 char DB_BEST_BLOCK = 'B'

Definition at line 14 of file base.cpp.

◆ SYNC_LOCATOR_WRITE_INTERVAL

constexpr int64_t SYNC_LOCATOR_WRITE_INTERVAL = 30

Definition at line 17 of file base.cpp.

◆ SYNC_LOG_INTERVAL

constexpr int64_t SYNC_LOG_INTERVAL = 30

Definition at line 16 of file base.cpp.