mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
[wallet] Rename WalletVerify() to VerifyWallets()
This function can now verify multiple wallets.
This commit is contained in:
parent
9c76ba18cd
commit
1b9cee66e1
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user