diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-07-08 15:41:31 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-04-23 13:59:42 -0400 |
commit | db7177af8c159abbcc209f2caafcd45d54c181c5 (patch) | |
tree | d9f7d1f8b2aafc4026e32c3786d757b646f38b37 /src/wallet/walletdb.h | |
parent | 78f8a92910d34247fa5d04368338c598d9908267 (diff) |
Add LoadDescriptorScriptPubKeyMan and SetActiveScriptPubKeyMan to CWallet
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r-- | src/wallet/walletdb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index a436f60ab3..4bd03da4a3 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -54,6 +54,8 @@ enum class DBErrors namespace DBKeys { extern const std::string ACENTRY; +extern const std::string ACTIVEEXTERNALSPK; +extern const std::string ACTIVEINTERNALSPK; extern const std::string BESTBLOCK; extern const std::string BESTBLOCK_NOMERKLE; extern const std::string CRYPTED_KEY; @@ -74,6 +76,7 @@ extern const std::string PURPOSE; extern const std::string SETTINGS; extern const std::string TX; extern const std::string VERSION; +extern const std::string WALLETDESCRIPTOR; extern const std::string WATCHMETA; extern const std::string WATCHS; } // namespace DBKeys @@ -245,6 +248,8 @@ public: /// Erase destination data tuple from wallet database bool EraseDestData(const std::string &address, const std::string &key); + bool WriteActiveScriptPubKeyMan(uint8_t type, const uint256& id, bool internal); + DBErrors LoadWallet(CWallet* pwallet); DBErrors FindWalletTx(std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx); DBErrors ZapWalletTx(std::vector<CWalletTx>& vWtx); |