|
|
@ -414,7 +414,7 @@ void CWallet::Flush(bool shutdown) |
|
|
|
|
|
|
|
|
|
|
|
bool CWallet::Verify() |
|
|
|
bool CWallet::Verify() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (GetBoolArg("-disablewallet", false)) |
|
|
|
if (GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
LogPrintf("Using BerkeleyDB version %s\n", DbEnv::version(0, 0, 0)); |
|
|
|
LogPrintf("Using BerkeleyDB version %s\n", DbEnv::version(0, 0, 0)); |
|
|
@ -3296,7 +3296,7 @@ std::string CWallet::GetWalletHelpString(bool showDebug) |
|
|
|
|
|
|
|
|
|
|
|
bool CWallet::InitLoadWallet() |
|
|
|
bool CWallet::InitLoadWallet() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (GetBoolArg("-disablewallet", false)) { |
|
|
|
if (GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) { |
|
|
|
pwalletMain = NULL; |
|
|
|
pwalletMain = NULL; |
|
|
|
LogPrintf("Wallet disabled!\n"); |
|
|
|
LogPrintf("Wallet disabled!\n"); |
|
|
|
return true; |
|
|
|
return true; |
|
|
@ -3473,7 +3473,7 @@ bool CWallet::InitLoadWallet() |
|
|
|
|
|
|
|
|
|
|
|
bool CWallet::ParameterInteraction() |
|
|
|
bool CWallet::ParameterInteraction() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (GetBoolArg("-disablewallet", false)) |
|
|
|
if (GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
|
|
|
|
if (GetBoolArg("-blocksonly", DEFAULT_BLOCKSONLY) && SoftSetBoolArg("-walletbroadcast", false)) { |
|
|
|
if (GetBoolArg("-blocksonly", DEFAULT_BLOCKSONLY) && SoftSetBoolArg("-walletbroadcast", false)) { |
|
|
|