aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAva Chow <github@achow101.com>2023-12-21 17:33:19 -0500
committerAva Chow <github@achow101.com>2024-03-18 11:53:23 -0400
commit66632e5c24c1b59afef1e89b562fbd0117ab6ef5 (patch)
treeab85f866628ce9003255b3ef00e42cc881e3499b /src/wallet/wallet.h
parentfa6a259985b61235ebc21eae2a76014cc9437d5f (diff)
downloadbitcoin-66632e5c24c1b59afef1e89b562fbd0117ab6ef5.tar.xz
wallet: Add IsActiveScriptPubKeyMan
Given a ScriptPubKeyMan, it's useful to ask the wallet whether it is currently active.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 8b0ee22276..305d359a64 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -942,6 +942,7 @@ public:
//! Returns all unique ScriptPubKeyMans in m_internal_spk_managers and m_external_spk_managers
std::set<ScriptPubKeyMan*> GetActiveScriptPubKeyMans() const;
+ bool IsActiveScriptPubKeyMan(const ScriptPubKeyMan& spkm) const;
//! Returns all unique ScriptPubKeyMans
std::set<ScriptPubKeyMan*> GetAllScriptPubKeyMans() const;