Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Macros | Functions
bdb.h File Reference
#include <clientversion.h>
#include <common/system.h>
#include <serialize.h>
#include <streams.h>
#include <util/fs.h>
#include <wallet/db.h>
#include <atomic>
#include <condition_variable>
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
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::BerkeleyCursor
 
class  wallet::BerkeleyBatch
 RAII class that provides access to a Berkeley database. More...
 

Namespaces

 wallet
 

Macros

#define BDB_DB_FILE_ID_LEN   20 /* Unique file ID length. */
 

Functions

std::shared_ptr< BerkeleyEnvironment > wallet::GetBerkeleyEnv (const fs::path &env_directory, bool use_shared_memory)
 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...
 

Macro Definition Documentation

◆ BDB_DB_FILE_ID_LEN

#define BDB_DB_FILE_ID_LEN   20 /* Unique file ID length. */

Definition at line 33 of file bdb.h.