wallet, rpc: add listdescriptors private option

This commit is contained in:
S3RK
2021-06-24 08:35:23 +02:00
parent 088b348dbe
commit bb822a7af8
6 changed files with 52 additions and 7 deletions

View File

@@ -621,7 +621,7 @@ public:
const WalletDescriptor GetWalletDescriptor() const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
const std::vector<CScript> GetScriptPubKeys() const;
bool GetDescriptorString(std::string& out) const;
bool GetDescriptorString(std::string& out, const bool priv) const;
void UpgradeDescriptorCache();
};