Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/rpcwallet.cpp
Show First 20 Lines • Show All 906 Lines • ▼ Show 20 Lines | if (!EnsureWalletIsAvailable(pwallet, request.fHelp)) { | ||||
return NullUniValue; | return NullUniValue; | ||||
} | } | ||||
if (request.fHelp || request.params.size() > 3) { | if (request.fHelp || request.params.size() > 3) { | ||||
throw std::runtime_error( | throw std::runtime_error( | ||||
"getbalance ( \"account\" minconf include_watchonly )\n" | "getbalance ( \"account\" minconf include_watchonly )\n" | ||||
"\nIf account is not specified, returns the server's total " | "\nIf account is not specified, returns the server's total " | ||||
"available balance.\n" | "available balance.\n" | ||||
"The available balance is what the wallet considers currently " | |||||
"spendable,\n" | |||||
"and is thus affected by options which limit spendability such as " | |||||
"-spendzeroconfchange.\n" | |||||
"If account is specified (DEPRECATED), returns the balance in the " | "If account is specified (DEPRECATED), returns the balance in the " | ||||
"account.\n" | "account.\n" | ||||
"Note that the account \"\" is not the same as leaving the " | "Note that the account \"\" is not the same as leaving the " | ||||
"parameter out.\n" | "parameter out.\n" | ||||
"The server total may be different to the balance in the default " | "The server total may be different to the balance in the default " | ||||
"\"\" account.\n" | "\"\" account.\n" | ||||
"\nArguments:\n" | "\nArguments:\n" | ||||
"1. \"account\" (string, optional) DEPRECATED. The account " | "1. \"account\" (string, optional) DEPRECATED. The account " | ||||
▲ Show 20 Lines • Show All 3,436 Lines • Show Last 20 Lines |