[#wallet-RemoveWallet-07] = xref:wallet.adoc[wallet]::RemoveWallet :relfileprefix: ../ :mrdocs: Remove a wallet from the wallet context and optionally update its load‐on‐startup setting. == Synopses Declared in `<wallet/wallet.h>` Remove a wallet from the wallet context and optionally update its load‐on‐startup setting. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:wallet/RemoveWallet-05.adoc[RemoveWallet]( xref:wallet/WalletContext.adoc[WalletContext]& context, std::shared_ptr<CWallet> const& wallet, std::optional<bool> load_on_start); ---- [.small]#xref:wallet/RemoveWallet-05.adoc[_» more..._]# Remove a wallet from the wallet context and optionally update its load‐on‐startup setting. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:wallet/RemoveWallet-01.adoc[RemoveWallet]( xref:wallet/WalletContext.adoc[WalletContext]& context, std::shared_ptr<CWallet> const& wallet, std::optional<bool> load_on_start, std::vector<bilingual_str>& warnings); ---- [.small]#xref:wallet/RemoveWallet-01.adoc[_» more..._]# == Return Value true if the wallet was removed. == Parameters [cols="1,4"] |=== | Name| Description | *context* | The wallet context to remove from. | *wallet* | The wallet to remove. | *load_on_start* | Optionally set whether the wallet loads on startup. | *warnings* | Warnings produced while removing the wallet. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#