[#wallet-HasLegacyRecords-08] = xref:wallet.adoc[wallet]::HasLegacyRecords :relfileprefix: ../ :mrdocs: Returns true if there are any DBKeys::LEGACY_TYPES record in the wallet db. == Synopsis Declared in `<wallet/walletdb.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool HasLegacyRecords( xref:wallet/CWallet.adoc[CWallet]& wallet, xref:wallet/DatabaseBatch.adoc[DatabaseBatch]& batch); ---- == 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]#