Open the database backend for a wallet.

Synopsis

Declared in <wallet/wallet.h>

std::unique_ptr<WalletDatabase>
MakeWalletDatabase(
    std::string const& name,
    DatabaseOptions const& options,
    DatabaseStatus& status,
    bilingual_str& error);

Return Value

The wallet database, or nullptr on failure.

Parameters

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.

Created with MrDocs