[#wallet-LegacyDataSPKM-DeleteRecordsWithDB] = xref:wallet.adoc[wallet]::xref:wallet/LegacyDataSPKM.adoc[LegacyDataSPKM]::DeleteRecordsWithDB :relfileprefix: ../../ :mrdocs: Delete the legacy wallet records from disk. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool DeleteRecordsWithDB(xref:wallet/WalletBatch.adoc[WalletBatch]& batch); ---- == Return Value true if the records were deleted. == Parameters [cols="1,4"] |=== | Name| Description | *batch* | The database batch to delete the records through. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#