#include <clientversion.h>
#include <fs.h>
#include <streams.h>
#include <support/allocators/secure.h>
#include <atomic>
#include <memory>
#include <optional>
#include <string>
Go to the source code of this file.
|
enum class | DatabaseFormat { BERKELEY
, SQLITE
} |
|
enum class | DatabaseStatus {
SUCCESS
, FAILED_BAD_PATH
, FAILED_BAD_FORMAT
, FAILED_ALREADY_LOADED
,
FAILED_ALREADY_EXISTS
, FAILED_NOT_FOUND
, FAILED_CREATE
, FAILED_LOAD
,
FAILED_VERIFY
, FAILED_ENCRYPT
} |
|
◆ DatabaseFormat
Enumerator |
---|
BERKELEY | |
SQLITE | |
Definition at line 198 of file db.h.
◆ DatabaseStatus
Enumerator |
---|
SUCCESS | |
FAILED_BAD_PATH | |
FAILED_BAD_FORMAT | |
FAILED_ALREADY_LOADED | |
FAILED_ALREADY_EXISTS | |
FAILED_NOT_FOUND | |
FAILED_CREATE | |
FAILED_LOAD | |
FAILED_VERIFY | |
FAILED_ENCRYPT | |
Definition at line 212 of file db.h.
◆ BDBDataFile()
◆ IsBDBFile()
◆ IsSQLiteFile()
bool IsSQLiteFile |
( |
const fs::path & |
path | ) |
|
◆ ListDatabases()
Recursively list database paths in directory.
Definition at line 13 of file db.cpp.
◆ MakeDatabase()
◆ SplitWalletPath()
void SplitWalletPath |
( |
const fs::path & |
wallet_path, |
|
|
fs::path & |
env_directory, |
|
|
std::string & |
database_filename |
|
) |
| |
◆ SQLiteDataFile()