wallet::AddWalletSetting

Add wallet name to persistent configuration so it will be loaded on startup.

Synopsis

Declared in <wallet/wallet.h>

bool
AddWalletSetting(
    interfaces::Chain& chain,
    std::string const& wallet_name);

Return Value

true if the setting was written.

Parameters

NameDescription
chainThe chain interface holding persistent settings.
wallet_nameThe wallet name to add.