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 | WriteBestInvalidWork (const CBigNum &bnBestInvalidWork) |
|
bool | ReadBlockFileInfo (int nFile, CBlockFileInfo &fileinfo) |
|
bool | WriteBlockFileInfo (int nFile, const CBlockFileInfo &fileinfo) |
|
bool | ReadLastBlockFile (int &nFile) |
|
bool | WriteLastBlockFile (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 | LoadBlockIndexGuts () |
|
| CLevelDBWrapper (const boost::filesystem::path &path, size_t nCacheSize, bool fMemory=false, bool fWipe=false) |
|
| ~CLevelDBWrapper () |
|
template<typename K , typename V > |
bool | Read (const K &key, V &value) throw (leveldb_error) |
|
template<typename K , typename V > |
bool | Write (const K &key, const V &value, bool fSync=false) throw (leveldb_error) |
|
template<typename K > |
bool | Exists (const K &key) throw (leveldb_error) |
|
template<typename K > |
bool | Erase (const K &key, bool fSync=false) throw (leveldb_error) |
|
bool | WriteBatch (CLevelDBBatch &batch, bool fSync=false) throw (leveldb_error) |
|
bool | Flush () |
|
bool | Sync () throw (leveldb_error) |
|
leveldb::Iterator * | NewIterator () |
|
Access to the block database (blocks/index/)
Definition at line 47 of file txdb.h.
CBlockTreeDB::CBlockTreeDB |
( |
size_t |
nCacheSize, |
|
|
bool |
fMemory = false , |
|
|
bool |
fWipe = false |
|
) |
| |
bool CBlockTreeDB::LoadBlockIndexGuts |
( |
| ) |
|
bool CBlockTreeDB::ReadBlockFileInfo |
( |
int |
nFile, |
|
|
CBlockFileInfo & |
fileinfo |
|
) |
| |
bool CBlockTreeDB::ReadFlag |
( |
const std::string & |
name, |
|
|
bool & |
fValue |
|
) |
| |
bool CBlockTreeDB::ReadLastBlockFile |
( |
int & |
nFile | ) |
|
bool CBlockTreeDB::ReadReindexing |
( |
bool & |
fReindex | ) |
|
bool CBlockTreeDB::WriteBestInvalidWork |
( |
const CBigNum & |
bnBestInvalidWork | ) |
|
bool CBlockTreeDB::WriteBlockFileInfo |
( |
int |
nFile, |
|
|
const CBlockFileInfo & |
fileinfo |
|
) |
| |
bool CBlockTreeDB::WriteFlag |
( |
const std::string & |
name, |
|
|
bool |
fValue |
|
) |
| |
bool CBlockTreeDB::WriteLastBlockFile |
( |
int |
nFile | ) |
|
bool CBlockTreeDB::WriteReindexing |
( |
bool |
fReindex | ) |
|
bool CBlockTreeDB::WriteTxIndex |
( |
const std::vector< std::pair< uint256, CDiskTxPos > > & |
list | ) |
|
The documentation for this class was generated from the following files: