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

Go to the source code of this file.

Classes

class  CBitcoinLevelDBLogger
 

Namespaces

namespace  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< uint8_t > & 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 103 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 78 of file dbwrapper.cpp.

Here is the caller graph for this function: