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

Feature and state flags stored on a wallet&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum WalletFlags : uint64&lowbar;t;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `WALLET&lowbar;FLAG&lowbar;AVOID&lowbar;REUSE` 
| Categorize coins as clean or reused and handle reused coins with privacy in mind&period;
| `WALLET&lowbar;FLAG&lowbar;KEY&lowbar;ORIGIN&lowbar;METADATA` 
| Metadata has already been upgraded to contain key origins&period;
| `WALLET&lowbar;FLAG&lowbar;LAST&lowbar;HARDENED&lowbar;XPUB&lowbar;CACHED` 
| Descriptor cache has been upgraded to cache last hardened xpubs&period;
| `WALLET&lowbar;FLAG&lowbar;DISABLE&lowbar;PRIVATE&lowbar;KEYS` 
| Wallet may not contain private keys (watch&hyphen;only or pubkeys only)&period;
| `WALLET&lowbar;FLAG&lowbar;BLANK&lowbar;WALLET` 
| Flag set when a wallet contains no HD seed and no private keys, scripts, addresses, and other watch only things, and is therefore &quot;blank&period;&quot;
| `WALLET&lowbar;FLAG&lowbar;DESCRIPTORS` 
| Indicate that this wallet supports DescriptorScriptPubKeyMan
| `WALLET&lowbar;FLAG&lowbar;EXTERNAL&lowbar;SIGNER` 
| Indicates that the wallet needs an external signer
|===



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