[#wallet-HasLegacyRecords-0e] = xref:wallet.adoc[wallet]::HasLegacyRecords :relfileprefix: ../ :mrdocs: `HasLegacyRecords` overloads == Synopses Declared in `<wallet/walletdb.h>` Returns true if there are any DBKeys::LEGACY_TYPES record in the wallet db [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:wallet/HasLegacyRecords-0f.adoc[HasLegacyRecords](xref:wallet/CWallet.adoc[CWallet]& wallet); ---- [.small]#xref:wallet/HasLegacyRecords-0f.adoc[_» more..._]# Returns true if there are any DBKeys::LEGACY_TYPES record in the wallet db. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:wallet/HasLegacyRecords-08.adoc[HasLegacyRecords]( xref:wallet/CWallet.adoc[CWallet]& wallet, xref:wallet/DatabaseBatch.adoc[DatabaseBatch]& batch); ---- [.small]#xref:wallet/HasLegacyRecords-08.adoc[_» more..._]# == Return Value true if the wallet contains any legacy records. == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The wallet to inspect. | *batch* | An open batch on the wallet database to read through. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#