#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 | DatabaseFormat { DatabaseFormat::BERKELEY,
DatabaseFormat::SQLITE
} |
| |
| enum | DatabaseStatus {
DatabaseStatus::SUCCESS,
DatabaseStatus::FAILED_BAD_PATH,
DatabaseStatus::FAILED_BAD_FORMAT,
DatabaseStatus::FAILED_ALREADY_LOADED,
DatabaseStatus::FAILED_ALREADY_EXISTS,
DatabaseStatus::FAILED_NOT_FOUND,
DatabaseStatus::FAILED_CREATE,
DatabaseStatus::FAILED_LOAD,
DatabaseStatus::FAILED_VERIFY,
DatabaseStatus::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()
| fs::path BDBDataFile |
( |
const fs::path & |
path | ) |
|
◆ IsBDBFile()
| bool IsBDBFile |
( |
const fs::path & |
path | ) |
|
◆ IsSQLiteFile()
| bool IsSQLiteFile |
( |
const fs::path & |
path | ) |
|
◆ ListDatabases()
| std::vector<fs::path> ListDatabases |
( |
const fs::path & |
path | ) |
|
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()
| fs::path SQLiteDataFile |
( |
const fs::path & |
path | ) |
|