Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Namespaces | Functions
dbwrapper.cpp File Reference
#include <dbwrapper.h>
#include <memory>
#include <random.h>
#include <leveldb/cache.h>
#include <leveldb/env.h>
#include <leveldb/filter_policy.h>
#include <memenv.h>
#include <stdint.h>
#include <algorithm>
Include dependency graph for dbwrapper.cpp:

Go to the source code of this file.

Classes

class  CBitcoinLevelDBLogger
 

Namespaces

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

Functions

static void SetMaxOpenFiles (leveldb::Options *options)
 
static leveldb::Options GetOptions (size_t nCacheSize)
 
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...
 

Function Documentation

◆ GetOptions()

static leveldb::Options GetOptions ( size_t  nCacheSize)
static

Definition at line 100 of file dbwrapper.cpp.

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

◆ SetMaxOpenFiles()

static void SetMaxOpenFiles ( leveldb::Options *  options)
static

Definition at line 75 of file dbwrapper.cpp.

Here is the caller graph for this function: