[wallet] Rename WalletVerify() to VerifyWallets()

This function can now verify multiple wallets.
This commit is contained in:
John Newbery 2017-08-29 11:51:02 -04:00
parent 9c76ba18cd
commit 1b9cee66e1
3 changed files with 3 additions and 3 deletions

View File

@ -1246,7 +1246,7 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
// ********************************************************* Step 5: verify wallet database integrity // ********************************************************* Step 5: verify wallet database integrity
#ifdef ENABLE_WALLET #ifdef ENABLE_WALLET
if (!WalletVerify()) if (!VerifyWallets())
return false; return false;
#endif #endif
// ********************************************************* Step 6: network initialization // ********************************************************* Step 6: network initialization

View File

@ -171,7 +171,7 @@ bool WalletParameterInteraction()
return true; return true;
} }
bool WalletVerify() bool VerifyWallets()
{ {
if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET))
return true; return true;

View File

@ -17,7 +17,7 @@ bool WalletParameterInteraction();
//! Responsible for reading and validating the -wallet arguments and verifying the wallet database. //! Responsible for reading and validating the -wallet arguments and verifying the wallet database.
// This function will perform salvage on the wallet if requested, as long as only one wallet is // This function will perform salvage on the wallet if requested, as long as only one wallet is
// being loaded (CWallet::ParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet). // being loaded (CWallet::ParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).
bool WalletVerify(); bool VerifyWallets();
//! Load wallet databases. //! Load wallet databases.
bool OpenWallets(); bool OpenWallets();