diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-02-22 12:07:55 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-03-11 14:31:06 +0100 |
commit | fc7c60d6998a330966ffe99274c93b5278ed2ee1 (patch) | |
tree | 9f4f5b094c029197049a909f3017b16b235e891d /src/wallet/wallet.h | |
parent | 0fa88ef784dda77422fdb20b7358803f9b30a5c1 (diff) |
[Wallet] move "load wallet phase" to CWallet
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 6312735c97..d009211a92 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -874,6 +874,9 @@ public: /* Returns the wallets help message */ static std::string GetWalletHelpString(bool showDebug); + + /* initializes the wallet, returns a new CWallet instance or a null pointer in case of an error */ + static CWallet* InitLoadWallet(bool fDisableWallet, const std::string& strWalletFile, std::string& warningString, std::string& errorString); }; /** A key allocated from the key pool. */ |