Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <clientversion.h>#include <fs.h>#include <serialize.h>#include <streams.h>#include <sync.h>#include <util.h>#include <version.h>#include <atomic>#include <map>#include <memory>#include <string>#include <vector>#include <db_cxx.h>
Include dependency graph for db.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | BerkeleyEnvironment |
| class | BerkeleyDatabase |
| An instance of this class represents one database. More... | |
| class | BerkeleyBatch |
| RAII class that provides access to a Berkeley database. More... | |
Functions | |
| BerkeleyEnvironment * | GetWalletEnv (const fs::path &wallet_path, std::string &database_filename) |
| Get BerkeleyEnvironment and database filename given a wallet path. More... | |
Variables | |
| static const unsigned int | DEFAULT_WALLET_DBLOGSIZE = 100 |
| static const bool | DEFAULT_WALLET_PRIVDB = true |
Function Documentation
◆ GetWalletEnv()
| BerkeleyEnvironment* GetWalletEnv | ( | const fs::path & | wallet_path, |
| std::string & | database_filename | ||
| ) |
Get BerkeleyEnvironment and database filename given a wallet path.
Definition at line 60 of file db.cpp.
References LOCK.
Referenced by CWallet::AutoBackupWallet(), BerkeleyDatabase::BerkeleyDatabase(), BerkeleyBatch::Recover(), BerkeleyBatch::VerifyDatabaseFile(), and BerkeleyBatch::VerifyEnvironment().
Variable Documentation
◆ DEFAULT_WALLET_DBLOGSIZE
|
static |
Definition at line 25 of file db.h.
Referenced by BerkeleyBatch::Flush(), and WalletInit::GetHelpString().
◆ DEFAULT_WALLET_PRIVDB
|
static |
Definition at line 26 of file db.h.
Referenced by WalletInit::GetHelpString(), and BerkeleyEnvironment::Open().

