aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-08-29 11:48:25 -0400
committerJohn Newbery <john@johnnewbery.com>2017-09-07 16:19:17 -0700
commit9c76ba18cdfe01fe9266e0dcf6714dbe0abbb837 (patch)
treeabaa247a4fa23eb98ffde4f6bba991e6b56a5a94 /src
parentf088a1bb392eaecd912ff9bca6967a8f4765c2b7 (diff)
[wallet] Rename InitLoadWallet() to OpenWallets()
Rationale: - this init function can now open multiple wallets (hence Wallet->Wallets) - This is named as the antonym to CloseWallets(), which carries out the opposite action.
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp2
-rw-r--r--src/wallet/init.cpp2
-rw-r--r--src/wallet/init.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 7c99dc74ef..387bd2e2f7 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1567,7 +1567,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
// ********************************************************* Step 8: load wallet
#ifdef ENABLE_WALLET
- if (!InitLoadWallet())
+ if (!OpenWallets())
return false;
#else
LogPrintf("No wallet support compiled in!\n");
diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp
index 18365b1b72..95b188b629 100644
--- a/src/wallet/init.cpp
+++ b/src/wallet/init.cpp
@@ -228,7 +228,7 @@ bool WalletVerify()
return true;
}
-bool InitLoadWallet()
+bool OpenWallets()
{
if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) {
LogPrintf("Wallet disabled!\n");
diff --git a/src/wallet/init.h b/src/wallet/init.h
index fa2251506d..1821e5e707 100644
--- a/src/wallet/init.h
+++ b/src/wallet/init.h
@@ -20,6 +20,6 @@ bool WalletParameterInteraction();
bool WalletVerify();
//! Load wallet databases.
-bool InitLoadWallet();
+bool OpenWallets();
#endif // BITCOIN_WALLET_INIT_H