Bitcoin Core 32.1.0
P2P Digital Currency
Loading...
Searching...
No Matches
dbwrapper.h File Reference
#include <attributes.h>
#include <serialize.h>
#include <span.h>
#include <streams.h>
#include <util/byte_units.h>
#include <util/check.h>
#include <util/expected.h>
#include <util/fs.h>
#include <util/obfuscation.h>
#include <cstddef>
#include <cstdint>
#include <exception>
#include <memory>
#include <optional>
#include <span>
#include <stdexcept>
#include <string>
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
struct  CDBWrapper::ReadFailure

Namespaces

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

Functions

const Obfuscation & dbwrapper_private::GetObfuscation (const CDBWrapper &)
 Work around circular dependency, as well as for testing in dbwrapper_tests.
bool DestroyDB (const std::string &path_str)

Variables

constexpr size_t DBWRAPPER_PREALLOC_KEY_SIZE = 64
constexpr size_t DBWRAPPER_PREALLOC_VALUE_SIZE = 1024
constexpr size_t DBWRAPPER_MAX_FILE_SIZE {32_MiB}

Function Documentation

◆ DestroyDB()

bool DestroyDB ( const std::string & path_str)

Definition at line 39 of file dbwrapper.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ DBWRAPPER_MAX_FILE_SIZE

size_t DBWRAPPER_MAX_FILE_SIZE {32_MiB}
inlineconstexpr

Definition at line 33 of file dbwrapper.h.

◆ DBWRAPPER_PREALLOC_KEY_SIZE

size_t DBWRAPPER_PREALLOC_KEY_SIZE = 64
inlineconstexpr

Definition at line 31 of file dbwrapper.h.

◆ DBWRAPPER_PREALLOC_VALUE_SIZE

size_t DBWRAPPER_PREALLOC_VALUE_SIZE = 1024
inlineconstexpr

Definition at line 32 of file dbwrapper.h.