#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>
Go to the source code of this file.
◆ BerkeleyDatabaseSanityCheck()
bool BerkeleyDatabaseSanityCheck |
( |
| ) |
|
Perform sanity check of runtime BDB version versus linked BDB version.
Definition at line 726 of file bdb.cpp.
◆ BerkeleyDatabaseVersion()
std::string BerkeleyDatabaseVersion |
( |
| ) |
|
◆ GetBerkeleyEnv()
Get BerkeleyEnvironment given a directory path.
- Parameters
-
[in] | env_directory | Path to environment directory |
- Returns
- A shared pointer to the BerkeleyEnvironment object for the wallet directory, never empty because ~BerkeleyEnvironment erases the weak pointer from the g_dbenvs map.
- Postcondition
- A new BerkeleyEnvironment weak pointer is inserted into g_dbenvs if the directory path key was not already in the map.
Definition at line 61 of file bdb.cpp.
◆ MakeBerkeleyDatabase()
Return object giving access to Berkeley database at specified path.
Definition at line 825 of file bdb.cpp.
◆ DEFAULT_WALLET_DBLOGSIZE
const unsigned int DEFAULT_WALLET_DBLOGSIZE = 100 |
|
static |
Definition at line 34 of file bdb.h.
◆ DEFAULT_WALLET_PRIVDB
const bool DEFAULT_WALLET_PRIVDB = true |
|
static |
Definition at line 35 of file bdb.h.