Bitcoin Core  0.19.99
P2P Digital Currency
Classes | Namespaces | Functions | Variables
dbwrapper.h File Reference
#include <clientversion.h>
#include <fs.h>
#include <serialize.h>
#include <streams.h>
#include <util/system.h>
#include <util/strencodings.h>
#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
 

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

const size_t DBWRAPPER_PREALLOC_KEY_SIZE = 64
static

Definition at line 18 of file dbwrapper.h.

◆ DBWRAPPER_PREALLOC_VALUE_SIZE

const size_t DBWRAPPER_PREALLOC_VALUE_SIZE = 1024
static

Definition at line 19 of file dbwrapper.h.