Creates or opens a wallet database at the given path.
Synopsis
Declared in <wallet/db.h>
std::unique_ptr<WalletDatabase>
MakeDatabase(
fs::path const& path,
DatabaseOptions const& options,
DatabaseStatus& status,
bilingual_str& error);
Return Value
The database handle, or nullptr on failure.
Parameters
Name |
Description |
path |
The wallet path. |
options |
Options controlling how the database is opened or created. |
status |
Receives the outcome of the operation. |
error |
Receives an error description on failure. |
Created with MrDocs