Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Functions | Variables
dbwrapper.h File Reference
#include <attributes.h>
#include <serialize.h>
#include <span.h>
#include <streams.h>
#include <util/check.h>
#include <util/fs.h>
#include <cstddef>
#include <exception>
#include <memory>
#include <optional>
#include <stdexcept>
#include <string>
#include <vector>
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

 dbwrapper_private
 These should be considered an implementation detail of the specific database.
 

Functions

const std::vector< unsigned char > & dbwrapper_private::GetObfuscateKey (const CDBWrapper &w)
 Work around circular dependency, as well as for testing in dbwrapper_tests. More...
 
bool DestroyDB (const std::string &path_str)
 

Variables

static const size_t DBWRAPPER_PREALLOC_KEY_SIZE = 64
 
static const size_t DBWRAPPER_PREALLOC_VALUE_SIZE = 1024
 

Function Documentation

◆ DestroyDB()

bool DestroyDB ( const std::string &  path_str)

Definition at line 37 of file dbwrapper.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ DBWRAPPER_PREALLOC_KEY_SIZE

const size_t DBWRAPPER_PREALLOC_KEY_SIZE = 64
static

Definition at line 23 of file dbwrapper.h.

◆ DBWRAPPER_PREALLOC_VALUE_SIZE

const size_t DBWRAPPER_PREALLOC_VALUE_SIZE = 1024
static

Definition at line 24 of file dbwrapper.h.