Browse Source

Merge #8982: Eliminating Inconsistencies in Textual Output

3a286ab Eliminating Inconsistencies in Textual Output (S. Matthew English)
0.14
MarcoFalke 8 years ago
parent
commit
f08222e882
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
  1. 6
      src/rpc/blockchain.cpp

6
src/rpc/blockchain.cpp

@ -151,7 +151,7 @@ UniValue getblockcount(const JSONRPCRequest& request) @@ -151,7 +151,7 @@ UniValue getblockcount(const JSONRPCRequest& request)
if (request.fHelp || request.params.size() != 0)
throw runtime_error(
"getblockcount\n"
"\nReturns the number of blocks in the longest block chain.\n"
"\nReturns the number of blocks in the longest blockchain.\n"
"\nResult:\n"
"n (numeric) The current block count\n"
"\nExamples:\n"
@ -168,7 +168,7 @@ UniValue getbestblockhash(const JSONRPCRequest& request) @@ -168,7 +168,7 @@ UniValue getbestblockhash(const JSONRPCRequest& request)
if (request.fHelp || request.params.size() != 0)
throw runtime_error(
"getbestblockhash\n"
"\nReturns the hash of the best (tip) block in the longest block chain.\n"
"\nReturns the hash of the best (tip) block in the longest blockchain.\n"
"\nResult\n"
"\"hex\" (string) the block hash hex encoded\n"
"\nExamples\n"
@ -1027,7 +1027,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request) @@ -1027,7 +1027,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
if (request.fHelp || request.params.size() != 0)
throw runtime_error(
"getblockchaininfo\n"
"Returns an object containing various state info regarding block chain processing.\n"
"Returns an object containing various state info regarding blockchain processing.\n"
"\nResult:\n"
"{\n"
" \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"

Loading…
Cancel
Save