Access to the block database (blocks/index/).
More...
#include <blockstorage.h>
|
| void | 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) |
| void | WriteReindexing (bool fReindexing) |
| void | ReadReindexing (bool &fReindexing) |
| void | WriteFlag (const std::string &name, bool fValue) |
| bool | ReadFlag (const std::string &name, bool &fValue) |
| | CDBWrapper (const DBParams ¶ms) |
| | CDBWrapper (const CDBWrapper &)=delete |
| | CDBWrapper (const DBParams ¶ms) |
| | ~CDBWrapper () |
| | CDBWrapper (const CDBWrapper &)=delete |
| CDBWrapper & | operator= (const CDBWrapper &)=delete |
| template<typename K, typename V> |
| bool | Read (const K &key, V &value) const |
| template<typename K, typename V> |
| void | Write (const K &key, const V &value, bool fSync=false) |
| template<typename K> |
| bool | Exists (const K &key) const |
| template<typename K> |
| void | Erase (const K &key, bool fSync=false) |
| void | WriteBatch (CDBBatch &batch, bool fSync=false) |
| size_t | DynamicMemoryUsage () const |
| CDBIterator * | NewIterator () |
| bool | IsEmpty () |
| | Return true if the database managed by this class contains no entries.
|
| template<typename K> |
| size_t | EstimateSize (const K &key_begin, const K &key_end) const |
Access to the block database (blocks/index/).
Definition at line 98 of file blockstorage.h.
◆ CDBWrapper() [1/2]
◆ CDBWrapper() [2/2]
◆ ReadBlockFileInfo()
| bool kernel::BlockTreeDB::ReadBlockFileInfo |
( |
int | nFile, |
|
|
CBlockFileInfo & | info ) |
◆ ReadFlag()
| bool kernel::BlockTreeDB::ReadFlag |
( |
const std::string & | name, |
|
|
bool & | fValue ) |
◆ ReadLastBlockFile()
| bool kernel::BlockTreeDB::ReadLastBlockFile |
( |
int & | nFile | ) |
|
◆ ReadReindexing()
| void kernel::BlockTreeDB::ReadReindexing |
( |
bool & | fReindexing | ) |
|
◆ WriteBatchSync()
| void kernel::BlockTreeDB::WriteBatchSync |
( |
const std::vector< std::pair< int, const CBlockFileInfo * > > & | fileInfo, |
|
|
int | nLastFile, |
|
|
const std::vector< const CBlockIndex * > & | blockinfo ) |
◆ WriteFlag()
| void kernel::BlockTreeDB::WriteFlag |
( |
const std::string & | name, |
|
|
bool | fValue ) |
◆ WriteReindexing()
| void kernel::BlockTreeDB::WriteReindexing |
( |
bool | fReindexing | ) |
|
The documentation for this class was generated from the following files: