Bitcoin ABC  0.26.3
P2P Digital Currency
Functions | Variables
txdb.cpp File Reference
#include <txdb.h>
#include <chain.h>
#include <node/ui_interface.h>
#include <pow/pow.h>
#include <random.h>
#include <shutdown.h>
#include <util/system.h>
#include <util/translation.h>
#include <util/vector.h>
#include <version.h>
#include <cstdint>
#include <memory>
Include dependency graph for txdb.cpp:

Go to the source code of this file.

Functions

std::optional< bilingual_strCheckLegacyTxindex (CBlockTreeDB &block_tree_db)
 

Variables

static const char DB_COIN = 'C'
 
static const char DB_COINS = 'c'
 
static const char DB_BLOCK_FILES = 'f'
 
static const char DB_BLOCK_INDEX = 'b'
 
static const char DB_BEST_BLOCK = 'B'
 
static const char DB_HEAD_BLOCKS = 'H'
 
static const char DB_FLAG = 'F'
 
static const char DB_REINDEX_FLAG = 'R'
 
static const char DB_LAST_BLOCK = 'l'
 
static constexpr uint8_t DB_TXINDEX_BLOCK {'T'}
 

Function Documentation

◆ CheckLegacyTxindex()

std::optional<bilingual_str> CheckLegacyTxindex ( CBlockTreeDB block_tree_db)

Definition at line 36 of file txdb.cpp.

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

Variable Documentation

◆ DB_BEST_BLOCK

const char DB_BEST_BLOCK = 'B'
static

Definition at line 26 of file txdb.cpp.

◆ DB_BLOCK_FILES

const char DB_BLOCK_FILES = 'f'
static

Definition at line 23 of file txdb.cpp.

◆ DB_BLOCK_INDEX

const char DB_BLOCK_INDEX = 'b'
static

Definition at line 24 of file txdb.cpp.

◆ DB_COIN

const char DB_COIN = 'C'
static

Definition at line 21 of file txdb.cpp.

◆ DB_COINS

const char DB_COINS = 'c'
static

Definition at line 22 of file txdb.cpp.

◆ DB_FLAG

const char DB_FLAG = 'F'
static

Definition at line 28 of file txdb.cpp.

◆ DB_HEAD_BLOCKS

const char DB_HEAD_BLOCKS = 'H'
static

Definition at line 27 of file txdb.cpp.

◆ DB_LAST_BLOCK

const char DB_LAST_BLOCK = 'l'
static

Definition at line 30 of file txdb.cpp.

◆ DB_REINDEX_FLAG

const char DB_REINDEX_FLAG = 'R'
static

Definition at line 29 of file txdb.cpp.

◆ DB_TXINDEX_BLOCK

constexpr uint8_t DB_TXINDEX_BLOCK {'T'}
staticconstexpr

Definition at line 33 of file txdb.cpp.