Access to the block database (blocks/index/)
More...
#include <txdb.h>
|
| | CBlockTreeDB (size_t nCacheSize, bool fMemory=false, bool fWipe=false) |
| |
| bool | WriteBlockIndex (const CDiskBlockIndex &blockindex) |
| |
| bool | WriteBatchSync (const std::vector< std::pair< int, const CBlockFileInfo * > > &fileInfo, int nLastFile, const std::vector< const CBlockIndex * > &blockinfo) |
| |
| bool | ReadBlockFileInfo (int nFile, CBlockFileInfo &fileinfo) |
| |
| bool | ReadLastBlockFile (int &nFile) |
| |
| bool | WriteReindexing (bool fReindex) |
| |
| bool | ReadReindexing (bool &fReindex) |
| |
| bool | ReadTxIndex (const uint256 &txid, CDiskTxPos &pos) |
| |
| bool | WriteTxIndex (const std::vector< std::pair< uint256, CDiskTxPos > > &list) |
| |
| bool | WriteFlag (const std::string &name, bool fValue) |
| |
| bool | ReadFlag (const std::string &name, bool &fValue) |
| |
| bool | WriteInt (const std::string &name, int nValue) |
| |
| bool | ReadInt (const std::string &name, int &nValue) |
| |
| bool | LoadBlockIndexGuts () |
| |
| bool | ReadKeyImage (const std::string &keyImage, uint256 &bh) |
| |
| bool | ReadKeyImages (const std::string &keyImage, std::vector< uint256 > &bhs) |
| |
| bool | WriteKeyImage (const std::string &keyImage, const uint256 &height) |
| |
| | CDBWrapper (const fs::path &path, size_t nCacheSize, bool fMemory=false, bool fWipe=false) |
| |
| | ~CDBWrapper () |
| |
| template<typename K , typename V > |
| bool | Read (const K &key, V &value) const |
| |
| template<typename K , typename V > |
| bool | Write (const K &key, const V &value, bool fSync=false) |
| |
| template<typename K > |
| bool | Exists (const K &key) const |
| |
| template<typename K > |
| bool | Erase (const K &key, bool fSync=false) |
| |
| bool | WriteBatch (CDBBatch &batch, bool fSync=false) |
| |
| bool | Flush () |
| |
| bool | Sync () |
| |
| CDBIterator * | NewIterator () |
| |
| bool | IsEmpty () |
| | Return true if the database managed by this class contains no entries. More...
|
| |
Access to the block database (blocks/index/)
Definition at line 74 of file txdb.h.
◆ CBlockTreeDB() [1/2]
| CBlockTreeDB::CBlockTreeDB |
( |
size_t |
nCacheSize, |
|
|
bool |
fMemory = false, |
|
|
bool |
fWipe = false |
|
) |
| |
◆ CBlockTreeDB() [2/2]
◆ LoadBlockIndexGuts()
| bool CBlockTreeDB::LoadBlockIndexGuts |
( |
| ) |
|
◆ operator=()
◆ ReadBlockFileInfo()
| bool CBlockTreeDB::ReadBlockFileInfo |
( |
int |
nFile, |
|
|
CBlockFileInfo & |
fileinfo |
|
) |
| |
◆ ReadFlag()
| bool CBlockTreeDB::ReadFlag |
( |
const std::string & |
name, |
|
|
bool & |
fValue |
|
) |
| |
◆ ReadInt()
| bool CBlockTreeDB::ReadInt |
( |
const std::string & |
name, |
|
|
int & |
nValue |
|
) |
| |
◆ ReadKeyImage()
| bool CBlockTreeDB::ReadKeyImage |
( |
const std::string & |
keyImage, |
|
|
uint256 & |
bh |
|
) |
| |
◆ ReadKeyImages()
| bool CBlockTreeDB::ReadKeyImages |
( |
const std::string & |
keyImage, |
|
|
std::vector< uint256 > & |
bhs |
|
) |
| |
◆ ReadLastBlockFile()
| bool CBlockTreeDB::ReadLastBlockFile |
( |
int & |
nFile | ) |
|
◆ ReadReindexing()
| bool CBlockTreeDB::ReadReindexing |
( |
bool & |
fReindex | ) |
|
◆ ReadTxIndex()
◆ WriteBatchSync()
| bool CBlockTreeDB::WriteBatchSync |
( |
const std::vector< std::pair< int, const CBlockFileInfo * > > & |
fileInfo, |
|
|
int |
nLastFile, |
|
|
const std::vector< const CBlockIndex * > & |
blockinfo |
|
) |
| |
◆ WriteBlockIndex()
◆ WriteFlag()
| bool CBlockTreeDB::WriteFlag |
( |
const std::string & |
name, |
|
|
bool |
fValue |
|
) |
| |
◆ WriteInt()
| bool CBlockTreeDB::WriteInt |
( |
const std::string & |
name, |
|
|
int |
nValue |
|
) |
| |
◆ WriteKeyImage()
| bool CBlockTreeDB::WriteKeyImage |
( |
const std::string & |
keyImage, |
|
|
const uint256 & |
height |
|
) |
| |
◆ WriteReindexing()
| bool CBlockTreeDB::WriteReindexing |
( |
bool |
fReindex | ) |
|
◆ WriteTxIndex()
| bool CBlockTreeDB::WriteTxIndex |
( |
const std::vector< std::pair< uint256, CDiskTxPos > > & |
list | ) |
|
The documentation for this class was generated from the following files: