Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
dbwrapper.h File Reference
#include <clientversion.h>#include <fs.h>#include <serialize.h>#include <streams.h>#include <util.h>#include <utilstrencodings.h>#include <version.h>#include <typeindex>#include <leveldb/db.h>#include <leveldb/write_batch.h>
Include dependency graph for dbwrapper.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | dbwrapper_error |
| class | CDBBatch |
| Batch of changes queued to be written to a CDBWrapper. More... | |
| class | CDBIterator |
| class | CDBWrapper |
| class | CDBTransactionIterator< CDBTransaction > |
| class | CDBTransaction< Parent, CommitTarget > |
| struct | CDBTransaction< Parent, CommitTarget >::DataStreamCmp |
| struct | CDBTransaction< Parent, CommitTarget >::ValueHolder |
| struct | CDBTransaction< Parent, CommitTarget >::ValueHolderImpl< V > |
Namespaces | |
| dbwrapper_private | |
| These should be considered an implementation detail of the specific database. | |
Functions | |
| void | dbwrapper_private::HandleError (const leveldb::Status &status) |
| Handle database error by throwing dbwrapper_error exception. More... | |
| const std::vector< unsigned char > & | dbwrapper_private::GetObfuscateKey (const CDBWrapper &w) |
| Work around circular dependency, as well as for testing in dbwrapper_tests. More... | |
Variables | |
| static const size_t | DBWRAPPER_PREALLOC_KEY_SIZE = 64 |
| static const size_t | DBWRAPPER_PREALLOC_VALUE_SIZE = 1024 |
Variable Documentation
◆ DBWRAPPER_PREALLOC_KEY_SIZE
|
static |
Definition at line 21 of file dbwrapper.h.
Referenced by CDBWrapper::CompactRange(), CDBBatch::Erase(), CDBWrapper::EstimateSize(), CDBWrapper::Exists(), CDBTransaction< RootTransaction, RootTransaction >::KeyToDataStream(), CDBWrapper::Read(), CDBWrapper::ReadDataStream(), CDBIterator::Seek(), and CDBBatch::Write().
◆ DBWRAPPER_PREALLOC_VALUE_SIZE
|
static |
Definition at line 22 of file dbwrapper.h.
Referenced by CDBBatch::Write().

