Bitcoin Core  22.99.0
P2P Digital Currency
Classes | Functions | Variables
txdb.cpp File Reference
#include <txdb.h>
#include <chain.h>
#include <node/ui_interface.h>
#include <pow.h>
#include <random.h>
#include <shutdown.h>
#include <uint256.h>
#include <util/system.h>
#include <util/translation.h>
#include <util/vector.h>
#include <stdint.h>
Include dependency graph for txdb.cpp:

Go to the source code of this file.

Classes

class  CCoinsViewDBCursor
 Specialization of CCoinsViewCursor to iterate over a CCoinsViewDB. More...
 

Functions

std::optional< bilingual_strCheckLegacyTxindex (CBlockTreeDB &block_tree_db)
 

Variables

static constexpr uint8_t DB_COIN {'C'}
 
static constexpr uint8_t DB_COINS {'c'}
 
static constexpr uint8_t DB_BLOCK_FILES {'f'}
 
static constexpr uint8_t DB_BLOCK_INDEX {'b'}
 
static constexpr uint8_t DB_BEST_BLOCK {'B'}
 
static constexpr uint8_t DB_HEAD_BLOCKS {'H'}
 
static constexpr uint8_t DB_FLAG {'F'}
 
static constexpr uint8_t DB_REINDEX_FLAG {'R'}
 
static constexpr uint8_t 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 35 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

constexpr uint8_t DB_BEST_BLOCK {'B'}
staticconstexpr

Definition at line 25 of file txdb.cpp.

◆ DB_BLOCK_FILES

constexpr uint8_t DB_BLOCK_FILES {'f'}
staticconstexpr

Definition at line 22 of file txdb.cpp.

◆ DB_BLOCK_INDEX

constexpr uint8_t DB_BLOCK_INDEX {'b'}
staticconstexpr

Definition at line 23 of file txdb.cpp.

◆ DB_COIN

constexpr uint8_t DB_COIN {'C'}
staticconstexpr

Definition at line 20 of file txdb.cpp.

◆ DB_COINS

constexpr uint8_t DB_COINS {'c'}
staticconstexpr

Definition at line 21 of file txdb.cpp.

◆ DB_FLAG

constexpr uint8_t DB_FLAG {'F'}
staticconstexpr

Definition at line 27 of file txdb.cpp.

◆ DB_HEAD_BLOCKS

constexpr uint8_t DB_HEAD_BLOCKS {'H'}
staticconstexpr

Definition at line 26 of file txdb.cpp.

◆ DB_LAST_BLOCK

constexpr uint8_t DB_LAST_BLOCK {'l'}
staticconstexpr

Definition at line 29 of file txdb.cpp.

◆ DB_REINDEX_FLAG

constexpr uint8_t DB_REINDEX_FLAG {'R'}
staticconstexpr

Definition at line 28 of file txdb.cpp.

◆ DB_TXINDEX_BLOCK

constexpr uint8_t DB_TXINDEX_BLOCK {'T'}
staticconstexpr

Definition at line 32 of file txdb.cpp.