Dash Core  0.12.2.1
P2P Digital Currency
txdb.cpp File Reference
#include "txdb.h"
#include "chain.h"
#include "chainparams.h"
#include "hash.h"
#include "validation.h"
#include "pow.h"
#include "uint256.h"
#include <stdint.h>
#include <boost/thread.hpp>

Go to the source code of this file.

Variables

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_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 30 of file txdb.cpp.

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

◆ DB_BLOCK_FILES

const char DB_BLOCK_FILES = 'f'
static

Definition at line 22 of file txdb.cpp.

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

◆ DB_BLOCK_INDEX

const char DB_BLOCK_INDEX = 'b'
static

Definition at line 28 of file txdb.cpp.

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

◆ DB_COINS

const char DB_COINS = 'c'
static

◆ DB_FLAG

const char DB_FLAG = 'F'
static

Definition at line 31 of file txdb.cpp.

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

◆ DB_LAST_BLOCK

const char DB_LAST_BLOCK = 'l'
static

Definition at line 33 of file txdb.cpp.

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

◆ DB_REINDEX_FLAG

const char DB_REINDEX_FLAG = 'R'
static

Definition at line 32 of file txdb.cpp.

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

◆ DB_SPENTINDEX

const char DB_SPENTINDEX = 'p'
static

Definition at line 27 of file txdb.cpp.

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

◆ DB_TIMESTAMPINDEX

const char DB_TIMESTAMPINDEX = 's'
static

Definition at line 26 of file txdb.cpp.

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

◆ DB_TXINDEX

const char DB_TXINDEX = 't'
static

Definition at line 23 of file txdb.cpp.

Referenced by CBlockTreeDB::ReadTxIndex(), and CBlockTreeDB::WriteTxIndex().