[#wallet-CWallet-LoadWalletArgs]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::LoadWalletArgs
:relfileprefix: ../../
:mrdocs:

Apply command&hyphen;line and configuration arguments to a wallet&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
LoadWalletArgs(
    std::shared&lowbar;ptr&lt;CWallet&gt; wallet,
    xref:wallet/WalletContext.adoc[WalletContext] const& context,
    xref:bilingual_str.adoc[bilingual&lowbar;str]& error,
    std::vector&lt;bilingual&lowbar;str&gt;& warnings);
----

== Return Value

true if the arguments were applied successfully&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet to configure&period;
| *context*
| The wallet context supplying the arguments&period;
| *error*
| Set to an error message on failure&period;
| *warnings*
| Warnings produced while applying arguments&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
