diff options
author | Andrew Chow <github@achow101.com> | 2022-08-25 14:35:28 -0400 |
---|---|---|
committer | Andrew Chow <github@achow101.com> | 2022-08-26 13:14:51 -0400 |
commit | 22401f17e026ead4bc3fe96967eec56a719a4f75 (patch) | |
tree | af171262e7a0b0e5dc5935459660fe7a23fc27f7 /src/wallet/scriptpubkeyman.h | |
parent | 35f428fae68ad974abdce0fa905148f620a9443c (diff) | |
download | bitcoin-22401f17e026ead4bc3fe96967eec56a719a4f75.tar.xz |
Implement LegacyScriptPubKeyMan::DeleteRecords
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r-- | src/wallet/scriptpubkeyman.h | 2 |
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 */ |