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

Record type prefixes used as keys in the wallet database&period;

== Variables

[cols="1,4"]
|===
| Name| Description
| xref:wallet/DBKeys/ACENTRY.adoc[`ACENTRY`] 
| Legacy accounting entry record&period;
| xref:wallet/DBKeys/ACTIVEEXTERNALSPK.adoc[`ACTIVEEXTERNALSPK`] 
| Active external ScriptPubKeyMan record&period;
| xref:wallet/DBKeys/ACTIVEINTERNALSPK.adoc[`ACTIVEINTERNALSPK`] 
| Active internal ScriptPubKeyMan record&period;
| xref:wallet/DBKeys/BESTBLOCK.adoc[`BESTBLOCK`] 
| Best block locator scanned by the wallet&period;
| xref:wallet/DBKeys/BESTBLOCK_NOMERKLE.adoc[`BESTBLOCK&lowbar;NOMERKLE`] 
| Best block locator without a merkle branch&period;
| xref:wallet/DBKeys/CRYPTED_KEY.adoc[`CRYPTED&lowbar;KEY`] 
| Encrypted private key record&period;
| xref:wallet/DBKeys/CSCRIPT.adoc[`CSCRIPT`] 
| Watch&hyphen;only script record&period;
| xref:wallet/DBKeys/DEFAULTKEY.adoc[`DEFAULTKEY`] 
| Legacy default key record&period;
| xref:wallet/DBKeys/DESTDATA.adoc[`DESTDATA`] 
| Destination metadata record&period;
| xref:wallet/DBKeys/FLAGS.adoc[`FLAGS`] 
| Wallet flags record&period;
| xref:wallet/DBKeys/HDCHAIN.adoc[`HDCHAIN`] 
| HD chain data record&period;
| xref:wallet/DBKeys/KEY.adoc[`KEY`] 
| Unencrypted private key record&period;
| xref:wallet/DBKeys/KEYMETA.adoc[`KEYMETA`] 
| Key metadata record&period;
| xref:wallet/DBKeys/LEGACY_TYPES.adoc[`LEGACY&lowbar;TYPES`] 
| Keys in this set pertain only to legacy wallets and are removed during migration to descriptors&period;
| xref:wallet/DBKeys/LOCKED_UTXO.adoc[`LOCKED&lowbar;UTXO`] 
| Locked UTXO record&period;
| xref:wallet/DBKeys/MASTER_KEY.adoc[`MASTER&lowbar;KEY`] 
| Master key record used to encrypt other keys&period;
| xref:wallet/DBKeys/MINVERSION.adoc[`MINVERSION`] 
| Minimum client version required to read the wallet&period;
| xref:wallet/DBKeys/NAME.adoc[`NAME`] 
| Address book label record&period;
| xref:wallet/DBKeys/OLD_KEY.adoc[`OLD&lowbar;KEY`] 
| Legacy wallet key record&period;
| xref:wallet/DBKeys/ORDERPOSNEXT.adoc[`ORDERPOSNEXT`] 
| Next transaction ordering position record&period;
| xref:wallet/DBKeys/POOL.adoc[`POOL`] 
| Key pool entry record&period;
| xref:wallet/DBKeys/PURPOSE.adoc[`PURPOSE`] 
| Address purpose record&period;
| xref:wallet/DBKeys/SETTINGS.adoc[`SETTINGS`] 
| Wallet settings record&period;
| xref:wallet/DBKeys/TX.adoc[`TX`] 
| Wallet transaction record&period;
| xref:wallet/DBKeys/VERSION.adoc[`VERSION`] 
| Wallet format version record&period;
| xref:wallet/DBKeys/WALLETDESCRIPTOR.adoc[`WALLETDESCRIPTOR`] 
| Wallet descriptor record&period;
| xref:wallet/DBKeys/WALLETDESCRIPTORCKEY.adoc[`WALLETDESCRIPTORCKEY`] 
| Encrypted descriptor private key record&period;
| xref:wallet/DBKeys/WALLETDESCRIPTORKEY.adoc[`WALLETDESCRIPTORKEY`] 
| Descriptor private key record&period;
| xref:wallet/DBKeys/WATCHMETA.adoc[`WATCHMETA`] 
| Watch&hyphen;only key metadata record&period;
| xref:wallet/DBKeys/WATCHS.adoc[`WATCHS`] 
| Watch&hyphen;only script record&period;
| xref:wallet/DBKeys/WTX_VARIANT.adoc[`WTX&lowbar;VARIANT`] 
| Wallet transaction variant record&period;
|===



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