Open the database backend for a wallet.
Declared in <wallet/wallet.h>
std::unique_ptr<WalletDatabase>
MakeWalletDatabase(
std::string const& name,
DatabaseOptions const& options,
DatabaseStatus& status,
bilingual_str& error);
The wallet database, or nullptr on failure.
| Name | Description |
|---|---|
| name | The wallet name. |
| options | Database options used to open the backend. |
| status | Set to the database open status. |
| error | Set to an error message on failure. |