wallet::CWallet::LoadWalletArgs

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

NameDescription
walletThe wallet to configure.
contextThe wallet context supplying the arguments.
errorSet to an error message on failure.
warningsWarnings produced while applying arguments.