Apply command-line and configuration arguments to a wallet.
Declared in <wallet/wallet.h>
static
bool
LoadWalletArgs(
std::shared_ptr<CWallet> wallet,
WalletContext const& context,
bilingual_str& error,
std::vector<bilingual_str>& warnings);
true if the arguments were applied successfully.
| 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. |