Apply command‐line and configuration arguments to a wallet.

Synopsis

Declared in <wallet/wallet.h>

static
bool
LoadWalletArgs(
    std::shared_ptr<CWallet> wallet,
    WalletContext const& context,
    bilingual_str& error,
    std::vector<bilingual_str>& warnings);

Return Value

true if the arguments were applied successfully.

Parameters

Name

Description

wallet

The wallet to configure.

context

The wallet context supplying the arguments.

error

Set to an error message on failure.

warnings

Warnings produced while applying arguments.

Created with MrDocs