diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-05-04 18:49:38 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-10-09 09:04:15 -0400 |
commit | bbe4a36152fb8d9c8c3682ca2380f1c88cca61cb (patch) | |
tree | 65306dd546f1a2ed679fc87e364375075af5d262 /src/wallet/scriptpubkeyman.h | |
parent | 9be1437c49f986e8ed964d5f863b4bbcec340751 (diff) | |
download | bitcoin-bbe4a36152fb8d9c8c3682ca2380f1c88cca61cb.tar.xz |
wallet: Add GetDescriptorString to DescriptorScriptPubKeyMan
GetDescriptorString returns a normalized descriptor for a
DescriptorScriptPubKeyMan.
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 a96d971734..4750f769df 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -615,6 +615,8 @@ public: const WalletDescriptor GetWalletDescriptor() const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man); const std::vector<CScript> GetScriptPubKeys() const; + + bool GetDescriptorString(std::string& out, bool priv) const; }; #endif // BITCOIN_WALLET_SCRIPTPUBKEYMAN_H |