[#wallet-WalletFlags] = xref:wallet.adoc[wallet]::WalletFlags :relfileprefix: ../ :mrdocs: Feature and state flags stored on a wallet. == Synopsis Declared in `<wallet/walletutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum WalletFlags : uint64_t; ---- == Members [cols="1,4"] |=== | Name| Description | `WALLET_FLAG_AVOID_REUSE` | Categorize coins as clean or reused and handle reused coins with privacy in mind. | `WALLET_FLAG_KEY_ORIGIN_METADATA` | Metadata has already been upgraded to contain key origins. | `WALLET_FLAG_LAST_HARDENED_XPUB_CACHED` | Descriptor cache has been upgraded to cache last hardened xpubs. | `WALLET_FLAG_DISABLE_PRIVATE_KEYS` | Wallet may not contain private keys (watch‐only or pubkeys only). | `WALLET_FLAG_BLANK_WALLET` | Flag set when a wallet contains no HD seed and no private keys, scripts, addresses, and other watch only things, and is therefore "blank." | `WALLET_FLAG_DESCRIPTORS` | Indicate that this wallet supports DescriptorScriptPubKeyMan | `WALLET_FLAG_EXTERNAL_SIGNER` | Indicates that the wallet needs an external signer |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#