mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Add missing Dash specific parameters back in help strings
This commit is contained in:
parent
b3ee3fc355
commit
ec8a9e0a6d
@ -386,7 +386,7 @@ UniValue sendtoaddress(const JSONRPCRequest& request)
|
|||||||
|
|
||||||
if (request.fHelp || request.params.size() < 2 || request.params.size() > 7)
|
if (request.fHelp || request.params.size() < 2 || request.params.size() > 7)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"sendtoaddress \"address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount )\n"
|
"sendtoaddress \"address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount use_is use_ps )\n"
|
||||||
"\nSend an amount to a given address.\n"
|
"\nSend an amount to a given address.\n"
|
||||||
+ HelpRequiringPassphrase() +
|
+ HelpRequiringPassphrase() +
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
@ -618,7 +618,7 @@ UniValue getreceivedbyaddress(const JSONRPCRequest& request)
|
|||||||
|
|
||||||
if (request.fHelp || request.params.size() < 1 || request.params.size() > 3)
|
if (request.fHelp || request.params.size() < 1 || request.params.size() > 3)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"getreceivedbyaddress \"address\" ( minconf )\n"
|
"getreceivedbyaddress \"address\" ( minconf addlockconf )\n"
|
||||||
"\nReturns the total amount received by the given address in transactions with at least minconf confirmations.\n"
|
"\nReturns the total amount received by the given address in transactions with at least minconf confirmations.\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. \"address\" (string, required) The dash address for transactions.\n"
|
"1. \"address\" (string, required) The dash address for transactions.\n"
|
||||||
@ -737,7 +737,7 @@ UniValue getbalance(const JSONRPCRequest& request)
|
|||||||
|
|
||||||
if (request.fHelp || request.params.size() > 4)
|
if (request.fHelp || request.params.size() > 4)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"getbalance ( \"account\" minconf include_watchonly )\n"
|
"getbalance ( \"account\" minconf addlockconf include_watchonly )\n"
|
||||||
"\nIf account is not specified, returns the server's total available balance.\n"
|
"\nIf account is not specified, returns the server's total available balance.\n"
|
||||||
"If account is specified (DEPRECATED), returns the balance in the account.\n"
|
"If account is specified (DEPRECATED), returns the balance in the account.\n"
|
||||||
"Note that the account \"\" is not the same as leaving the parameter out.\n"
|
"Note that the account \"\" is not the same as leaving the parameter out.\n"
|
||||||
@ -877,7 +877,7 @@ UniValue sendfrom(const JSONRPCRequest& request)
|
|||||||
|
|
||||||
if (request.fHelp || request.params.size() < 3 || request.params.size() > 7)
|
if (request.fHelp || request.params.size() < 3 || request.params.size() > 7)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"sendfrom \"fromaccount\" \"toaddress\" amount ( minconf \"comment\" \"comment_to\" )\n"
|
"sendfrom \"fromaccount\" \"toaddress\" amount ( minconf addlockconf \"comment\" \"comment_to\" )\n"
|
||||||
"\nDEPRECATED (use sendtoaddress). Sent an amount from an account to a dash address."
|
"\nDEPRECATED (use sendtoaddress). Sent an amount from an account to a dash address."
|
||||||
+ HelpRequiringPassphrase() + "\n"
|
+ HelpRequiringPassphrase() + "\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
@ -1261,7 +1261,7 @@ UniValue listreceivedbyaddress(const JSONRPCRequest& request)
|
|||||||
|
|
||||||
if (request.fHelp || request.params.size() > 4)
|
if (request.fHelp || request.params.size() > 4)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"listreceivedbyaddress ( minconf include_empty include_watchonly)\n"
|
"listreceivedbyaddress ( minconf addlockconf include_empty include_watchonly)\n"
|
||||||
"\nList balances by receiving address.\n"
|
"\nList balances by receiving address.\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.\n"
|
"1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.\n"
|
||||||
@ -1302,7 +1302,7 @@ UniValue listreceivedbyaccount(const JSONRPCRequest& request)
|
|||||||
|
|
||||||
if (request.fHelp || request.params.size() > 4)
|
if (request.fHelp || request.params.size() > 4)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"listreceivedbyaccount ( minconf include_empty include_watchonly)\n"
|
"listreceivedbyaccount ( minconf addlockconf include_empty include_watchonly)\n"
|
||||||
"\nDEPRECATED. List balances by account.\n"
|
"\nDEPRECATED. List balances by account.\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.\n"
|
"1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.\n"
|
||||||
@ -1568,7 +1568,7 @@ UniValue listaccounts(const JSONRPCRequest& request)
|
|||||||
|
|
||||||
if (request.fHelp || request.params.size() > 3)
|
if (request.fHelp || request.params.size() > 3)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"listaccounts ( minconf include_watchonly)\n"
|
"listaccounts ( minconf addlockconf include_watchonly)\n"
|
||||||
"\nDEPRECATED. Returns Object that has account names as keys, account balances as values.\n"
|
"\nDEPRECATED. Returns Object that has account names as keys, account balances as values.\n"
|
||||||
"\nArguments:\n"
|
"\nArguments:\n"
|
||||||
"1. minconf (numeric, optional, default=1) Only include transactions with at least this many confirmations\n"
|
"1. minconf (numeric, optional, default=1) Only include transactions with at least this many confirmations\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user