wallet: support fetching scriptPubKeys with minimum descriptor range index

This extra method will be needed for updating the filter set for
faster wallet rescans; after an internal top-up has happened, we only
want to add the newly created scriptPubKeys.
This commit is contained in:
Sebastian Falbesoner
2022-08-26 02:34:55 +02:00
parent 088e38d3bb
commit 845279132b
2 changed files with 8 additions and 2 deletions

View File

@@ -643,6 +643,7 @@ public:
const WalletDescriptor GetWalletDescriptor() const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
const std::unordered_set<CScript, SaltedSipHasher> GetScriptPubKeys() const override;
const std::unordered_set<CScript, SaltedSipHasher> GetScriptPubKeys(int32_t minimum_index) const;
bool GetDescriptorString(std::string& out, const bool priv) const;