wallet::WalletTool::ExecuteWalletToolFunc

Runs a wallet-tool command such as create, info, or dump.

Synopsis

Declared in <wallet/wallettool.h>

bool
ExecuteWalletToolFunc(
    ArgsManager const& args,
    std::string const& command);

Return Value

true if the command completed successfully.

Parameters

NameDescription
argsThe parsed arguments controlling the command.
commandThe name of the wallet-tool command to run.