aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorAndrew Chow <github@achow101.com>2022-08-25 14:35:28 -0400
committerAndrew Chow <github@achow101.com>2022-08-26 13:14:51 -0400
commit22401f17e026ead4bc3fe96967eec56a719a4f75 (patch)
treeaf171262e7a0b0e5dc5935459660fe7a23fc27f7 /src/wallet/scriptpubkeyman.h
parent35f428fae68ad974abdce0fa905148f620a9443c (diff)
downloadbitcoin-22401f17e026ead4bc3fe96967eec56a719a4f75.tar.xz
Implement LegacyScriptPubKeyMan::DeleteRecords
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index 19ec277c56..3ab489c374 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -517,6 +517,8 @@ public:
/** Get the DescriptorScriptPubKeyMans (with private keys) that have the same scriptPubKeys as this LegacyScriptPubKeyMan.
* Does not modify this ScriptPubKeyMan. */
std::optional<MigrationData> MigrateToDescriptor();
+ /** Delete all the records ofthis LegacyScriptPubKeyMan from disk*/
+ bool DeleteRecords();
};
/** Wraps a LegacyScriptPubKeyMan so that it can be returned in a new unique_ptr. Does not provide privkeys */