Creates or opens a wallet database at the given path.
Declared in <wallet/db.h>
std::unique_ptr<WalletDatabase>
MakeDatabase(
fs::path const& path,
DatabaseOptions const& options,
DatabaseStatus& status,
bilingual_str& error);
The database handle, or nullptr on failure.
| 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. |