|
| | CBlockTreeDB (size_t nCacheSize, bool fMemory=false, bool fWipe=false) |
| |
| | CBlockTreeDB (const CBlockTreeDB &)=delete |
| |
| CBlockTreeDB & | operator= (const CBlockTreeDB &)=delete |
| |
| 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 &info) |
| |
| bool | ReadLastBlockFile (int &nFile) |
| |
| bool | WriteReindexing (bool fReindexing) |
| |
| bool | ReadReindexing (bool &fReindexing) |
| |
| bool | ReadTxIndex (const uint256 &txid, CDiskTxPos &pos) |
| |
| bool | WriteTxIndex (const std::vector< std::pair< uint256, CDiskTxPos > > &vect) |
| |
| 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 (std::function< CBlockIndex *(const uint256 &)> insertBlockIndex) |
| |
| | CDBWrapper (const fs::path &path, size_t nCacheSize, bool fMemory=false, bool fWipe=false, int nVersion=CLIENT_VERSION) |
| |
| | ~CDBWrapper () |
| |
| template<typename K > |
| bool | ReadDataStream (const K &key, CDataStream &ssValue) const |
| |
| bool | ReadDataStream (const CDataStream &ssKey, CDataStream &ssValue) const |
| |
| template<typename K , typename V > |
| bool | Read (const K &key, V &value) const |
| |
| template<typename V > |
| bool | Read (const CDataStream &ssKey, 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 |
| |
| bool | Exists (const CDataStream &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...
|
| |
| template<typename K > |
| size_t | EstimateSize (const K &key_begin, const K &key_end) const |
| |
| template<typename K > |
| void | CompactRange (const K &key_begin, const K &key_end) const |
| | Compact a certain range of keys in the database. More...
|
| |
| void | CompactFull () const |
| |
Access to the block database (blocks/index/)
Definition at line 127 of file txdb.h.