[#wallet-MakeWalletDatabase] = xref:wallet.adoc[wallet]::MakeWalletDatabase :relfileprefix: ../ :mrdocs: Open the database backend for a wallet. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::unique_ptr<WalletDatabase> MakeWalletDatabase( std::string const& name, xref:wallet/DatabaseOptions.adoc[DatabaseOptions] const& options, xref:wallet/DatabaseStatus.adoc[DatabaseStatus]& status, xref:bilingual_str.adoc[bilingual_str]& error); ---- == Return Value The wallet database, or nullptr on failure. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#