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

Delete the legacy wallet records from disk&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
DeleteRecordsWithDB(xref:wallet/WalletBatch.adoc[WalletBatch]& batch);
----

== Return Value

true if the records were deleted&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *batch*
| The database batch to delete the records through&period;
|===


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