Bitcoin ABC  0.28.12
P2P Digital Currency
Classes | Namespaces | Functions | Variables
dbwrapper.h File Reference
#include <clientversion.h>
#include <fs.h>
#include <serialize.h>
#include <span.h>
#include <streams.h>
#include <util/strencodings.h>
#include <util/system.h>
#include <leveldb/db.h>
#include <leveldb/write_batch.h>
#include <optional>
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
 
 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< uint8_t > & 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 21 of file dbwrapper.h.

◆ DBWRAPPER_PREALLOC_VALUE_SIZE

const size_t DBWRAPPER_PREALLOC_VALUE_SIZE = 1024
static

Definition at line 22 of file dbwrapper.h.