aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-08-26 02:34:55 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2022-10-25 15:57:38 +0200
commit845279132b494f03b84d689c666fdcfad37f5a42 (patch)
treeb0b555f84f04e094678fec400db7e489db412931 /src/wallet/scriptpubkeyman.h
parent088e38d3bbea9694b319bc34e0d2e70d210c38b4 (diff)
downloadbitcoin-845279132b494f03b84d689c666fdcfad37f5a42.tar.xz
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.
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index 3ab489c374..4ff7fdb154 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -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;