Bitcoin Core  22.99.0
P2P Digital Currency
Classes | Namespaces | Functions | Variables
bdb.h File Reference
#include <clientversion.h>
#include <fs.h>
#include <serialize.h>
#include <streams.h>
#include <util/system.h>
#include <wallet/db.h>
#include <atomic>
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include <db_cxx.h>
Include dependency graph for bdb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wallet::WalletDatabaseFileId
 
class  wallet::BerkeleyEnvironment
 
class  wallet::BerkeleyDatabase
 An instance of this class represents one database. More...
 
class  wallet::BerkeleyBatch
 RAII class that provides access to a Berkeley database. More...
 
class  wallet::BerkeleyBatch::SafeDbt
 RAII class that automatically cleanses its data on destruction. More...
 

Namespaces

 wallet
 

Functions

std::shared_ptr< BerkeleyEnvironment > wallet::GetBerkeleyEnv (const fs::path &env_directory)
 Get BerkeleyEnvironment given a directory path. More...
 
std::string wallet::BerkeleyDatabaseVersion ()
 
bool wallet::BerkeleyDatabaseSanityCheck ()
 Perform sanity check of runtime BDB version versus linked BDB version. More...
 
std::unique_ptr< BerkeleyDatabase > wallet::MakeBerkeleyDatabase (const fs::path &path, const DatabaseOptions &options, DatabaseStatus &status, bilingual_str &error)
 Return object giving access to Berkeley database at specified path. More...
 

Variables

static const unsigned int wallet::DEFAULT_WALLET_DBLOGSIZE = 100
 
static const bool wallet::DEFAULT_WALLET_PRIVDB = true