diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-04-06 12:55:34 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-04-13 13:20:39 -0400 |
commit | 9c16b1735f8e530ce68d678e9ca0eceb2ceb3520 (patch) | |
tree | a636ac6e00de5846bd6210d31f286bba32decbd4 /src/wallet/wallet.h | |
parent | 6ef45bc9688412da9e13218e08f802125bf589c0 (diff) | |
download | bitcoin-9c16b1735f8e530ce68d678e9ca0eceb2ceb3520.tar.xz |
Move wallet upgrading to its own function
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 6c54c72e76..776187fcac 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1175,6 +1175,9 @@ public: LogPrintf(("%s " + fmt).c_str(), GetDisplayName(), parameters...); }; + /** Upgrade the wallet */ + static bool UpgradeWallet(std::shared_ptr<CWallet> wallet, bool first_run, std::string& error, std::vector<std::string>& warnings); + //! Returns all unique ScriptPubKeyMans in m_internal_spk_managers and m_external_spk_managers std::set<ScriptPubKeyMan*> GetActiveScriptPubKeyMans() const; |