[#wallet-HasLegacyRecords-0e]
= xref:wallet.adoc[wallet]::HasLegacyRecords
:relfileprefix: ../
:mrdocs:

`HasLegacyRecords` overloads

== Synopses

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

Returns true if there are any DBKeys&colon;&colon;LEGACY&lowbar;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&period;&period;&period;_]#

Returns true if there are any DBKeys&colon;&colon;LEGACY&lowbar;TYPES record in the wallet db&period;


[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&period;&period;&period;_]#

== Return Value

true if the wallet contains any legacy records&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet to inspect&period;
| *batch*
| An open batch on the wallet database to read through&period;
|===


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