aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorAva Chow <github@achow101.com>2023-12-21 17:14:51 -0500
committerAva Chow <github@achow101.com>2024-03-20 16:15:43 -0400
commit5febe28c9e131fb93fac9c35f80c42759654f150 (patch)
tree4c7c0b0d8abb56b73a17c40d3812172b6fa2f478 /src/wallet/scriptpubkeyman.h
parent66632e5c24c1b59afef1e89b562fbd0117ab6ef5 (diff)
downloadbitcoin-5febe28c9e131fb93fac9c35f80c42759654f150.tar.xz
wallet, rpc: Add gethdkeys RPC
gethdkeys retrieves all HD keys stored in the wallet's descriptors.
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index f8741425a7..695071515b 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -672,7 +672,7 @@ public:
std::unordered_set<CScript, SaltedSipHasher> GetScriptPubKeys(int32_t minimum_index) const;
int32_t GetEndRange() const;
- bool GetDescriptorString(std::string& out, const bool priv) const;
+ [[nodiscard]] bool GetDescriptorString(std::string& out, const bool priv) const;
void UpgradeDescriptorCache();
};