Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

txdb.cpp File Reference
#include <txdb.h>
#include <chainparams.h>
#include <hash.h>
#include <random.h>
#include <pow.h>
#include <uint256.h>
#include <util.h>
#include <ui_interface.h>
#include <init.h>
#include <stdint.h>
#include <boost/thread.hpp>
+ Include dependency graph for txdb.cpp:

Go to the source code of this file.

Variables

static const char DB_COIN = 'C'
 
static const char DB_COINS = 'c'
 
static const char DB_BLOCK_FILES = 'f'
 
static const char DB_TXINDEX = 't'
 
static const char DB_ADDRESSINDEX = 'a'
 
static const char DB_ADDRESSUNSPENTINDEX = 'u'
 
static const char DB_TIMESTAMPINDEX = 's'
 
static const char DB_SPENTINDEX = 'p'
 
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'
 

Variable Documentation

◆ DB_ADDRESSINDEX

const char DB_ADDRESSINDEX = 'a'
static

◆ DB_ADDRESSUNSPENTINDEX

const char DB_ADDRESSUNSPENTINDEX = 'u'
static

◆ DB_BEST_BLOCK

const char DB_BEST_BLOCK = 'B'
static

Definition at line 31 of file txdb.cpp.

Referenced by CCoinsViewDB::BatchWrite(), and CCoinsViewDB::GetBestBlock().

◆ DB_BLOCK_FILES

const char DB_BLOCK_FILES = 'f'
static

Definition at line 23 of file txdb.cpp.

Referenced by CBlockTreeDB::ReadBlockFileInfo(), and CBlockTreeDB::WriteBatchSync().

◆ DB_BLOCK_INDEX

const char DB_BLOCK_INDEX = 'b'
static

Definition at line 29 of file txdb.cpp.

Referenced by CBlockTreeDB::LoadBlockIndexGuts(), and CBlockTreeDB::WriteBatchSync().

◆ DB_COIN

const char DB_COIN = 'C'
static

◆ DB_COINS

const char DB_COINS = 'c'
static

Definition at line 22 of file txdb.cpp.

Referenced by CCoinsViewDB::Upgrade().

◆ DB_FLAG

const char DB_FLAG = 'F'
static

Definition at line 33 of file txdb.cpp.

Referenced by CBlockTreeDB::ReadFlag(), and CBlockTreeDB::WriteFlag().

◆ DB_HEAD_BLOCKS

const char DB_HEAD_BLOCKS = 'H'
static

Definition at line 32 of file txdb.cpp.

Referenced by CCoinsViewDB::BatchWrite(), and CCoinsViewDB::GetHeadBlocks().

◆ DB_LAST_BLOCK

const char DB_LAST_BLOCK = 'l'
static

Definition at line 35 of file txdb.cpp.

Referenced by CBlockTreeDB::ReadLastBlockFile(), and CBlockTreeDB::WriteBatchSync().

◆ DB_REINDEX_FLAG

const char DB_REINDEX_FLAG = 'R'
static

Definition at line 34 of file txdb.cpp.

Referenced by CBlockTreeDB::ReadReindexing(), and CBlockTreeDB::WriteReindexing().

◆ DB_SPENTINDEX

const char DB_SPENTINDEX = 'p'
static

Definition at line 28 of file txdb.cpp.

Referenced by CBlockTreeDB::ReadSpentIndex(), and CBlockTreeDB::UpdateSpentIndex().

◆ DB_TIMESTAMPINDEX

const char DB_TIMESTAMPINDEX = 's'
static

Definition at line 27 of file txdb.cpp.

Referenced by CBlockTreeDB::ReadTimestampIndex(), and CBlockTreeDB::WriteTimestampIndex().

◆ DB_TXINDEX

const char DB_TXINDEX = 't'
static
Released under the MIT license