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

struct  DBOptions
 User-controlled performance and debug options. More...
 
struct  DBParams
 Application-specific storage settings. More...
 
class  dbwrapper_error
 
class  CDBBatch
 Batch of changes queued to be written to a CDBWrapper. More...
 
class  CDBIterator
 
class  CDBWrapper
 

Namespaces

namespace  dbwrapper
 
namespace  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 22 of file dbwrapper.h.

◆ DBWRAPPER_PREALLOC_VALUE_SIZE

const size_t DBWRAPPER_PREALLOC_VALUE_SIZE = 1024
static

Definition at line 23 of file dbwrapper.h.