Browse Source

small changes to rpc command help message strings

0.10
Philip Kaufmann 11 years ago
parent
commit
6943cb9b4f
  1. 4
      src/rpcblockchain.cpp
  2. 2
      src/rpcnet.cpp
  3. 4
      src/rpcwallet.cpp

4
src/rpcblockchain.cpp

@ -410,8 +410,8 @@ Value verifychain(const Array& params, bool fHelp) @@ -410,8 +410,8 @@ Value verifychain(const Array& params, bool fHelp)
"verifychain ( checklevel numblocks )\n"
"\nVerifies blockchain database.\n"
"\nArguments:\n"
"1. checklevel (numeric, optional, default=3) The level\n"
"2. numblocks (numeric, optional, 288) The number of blocks\n"
"1. checklevel (numeric, optional, 0-4, default=3) How thorough the block verification is.\n"
"2. numblocks (numeric, optional, default=288, 0=all) The number of blocks to check.\n"
"\nResult:\n"
"true|false (boolean) Verified or not\n"
"\nExamples:\n"

2
src/rpcnet.cpp

@ -47,7 +47,7 @@ Value ping(const Array& params, bool fHelp) @@ -47,7 +47,7 @@ Value ping(const Array& params, bool fHelp)
"ping\n"
"\nRequests that a ping be sent to all other nodes, to measure ping time.\n"
"Results provided in getpeerinfo, pingtime and pingwait fields are decimal seconds.\n"
"Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping."
"Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping.\n"
"\nExamples:\n"
+ HelpExampleCli("ping", "")
+ HelpExampleRpc("ping", "")

4
src/rpcwallet.cpp

@ -1850,9 +1850,9 @@ Value settxfee(const Array& params, bool fHelp) @@ -1850,9 +1850,9 @@ Value settxfee(const Array& params, bool fHelp)
if (fHelp || params.size() < 1 || params.size() > 1)
throw runtime_error(
"settxfee amount\n"
"\nSet the transaction fee per KB.\n"
"\nSet the transaction fee per kB.\n"
"\nArguments:\n"
"1. amount (numeric, required) The transaction fee in BTC/KB rounded to the nearest 0.00000001\n"
"1. amount (numeric, required) The transaction fee in BTC/kB rounded to the nearest 0.00000001\n"
"\nResult\n"
"true|false (boolean) Returns true if successful\n"
"\nExamples:\n"

Loading…
Cancel
Save