|
|
@ -178,15 +178,18 @@ bool WalletParameterInteraction() |
|
|
|
|
|
|
|
|
|
|
|
void RegisterWalletRPC(CRPCTable &t) |
|
|
|
void RegisterWalletRPC(CRPCTable &t) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (gArgs.GetBoolArg("-disablewallet", false)) return; |
|
|
|
if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
RegisterWalletRPCCommands(t); |
|
|
|
RegisterWalletRPCCommands(t); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool VerifyWallets() |
|
|
|
bool VerifyWallets() |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) |
|
|
|
if (gArgs.GetBoolArg("-disablewallet", DEFAULT_DISABLE_WALLET)) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
uiInterface.InitMessage(_("Verifying wallet(s)...")); |
|
|
|
uiInterface.InitMessage(_("Verifying wallet(s)...")); |
|
|
|
|
|
|
|
|
|
|
|