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

set a single wallet flag

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetWalletFlag(uint64&lowbar;t flags);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *flags*
| The wallet flag(s) to set&period;
|===


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