wallet::DumpWallet

Dumps the records of a wallet database to a human-readable file.

Synopsis

Declared in <wallet/dump.h>

bool
DumpWallet(
    ArgsManager const& args,
    WalletDatabase& db,
    bilingual_str& error);

Return Value

true if the wallet was dumped successfully.

Parameters

NameDescription
argsThe parsed arguments specifying the dump file and options.
dbThe wallet database to read records from.
errorReceives an error message on failure.