wallet: Upgrade existing descriptor caches

Add functions to upgrade existing descriptor caches to support the use
of last hardened xpub caching.
This commit is contained in:
Andrew Chow
2021-03-01 17:03:52 -05:00
parent 432ba9e543
commit 74fede3b8b
6 changed files with 62 additions and 0 deletions

View File

@@ -631,6 +631,8 @@ public:
const std::vector<CScript> GetScriptPubKeys() const;
bool GetDescriptorString(std::string& out, bool priv) const;
void UpgradeDescriptorCache();
};
#endif // BITCOIN_WALLET_SCRIPTPUBKEYMAN_H