Skip to content

Commit 3a286ab

Browse files
author
S. Matthew English
authored
Eliminating Inconsistencies in Textual Output
There were discrepancies between usage of "block chain" and "blockchain", I've changed them to the latter. The reason for this was that Wikipedia when describing this data structure writes "A blockchain — *originally block chain*", so it seemed the more appropriate term.
1 parent f2d7056 commit 3a286ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rpc/blockchain.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ UniValue getblockcount(const JSONRPCRequest& request)
151151
if (request.fHelp || request.params.size() != 0)
152152
throw runtime_error(
153153
"getblockcount\n"
154-
"\nReturns the number of blocks in the longest block chain.\n"
154+
"\nReturns the number of blocks in the longest blockchain.\n"
155155
"\nResult:\n"
156156
"n (numeric) The current block count\n"
157157
"\nExamples:\n"
@@ -168,7 +168,7 @@ UniValue getbestblockhash(const JSONRPCRequest& request)
168168
if (request.fHelp || request.params.size() != 0)
169169
throw runtime_error(
170170
"getbestblockhash\n"
171-
"\nReturns the hash of the best (tip) block in the longest block chain.\n"
171+
"\nReturns the hash of the best (tip) block in the longest blockchain.\n"
172172
"\nResult\n"
173173
"\"hex\" (string) the block hash hex encoded\n"
174174
"\nExamples\n"
@@ -1027,7 +1027,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
10271027
if (request.fHelp || request.params.size() != 0)
10281028
throw runtime_error(
10291029
"getblockchaininfo\n"
1030-
"Returns an object containing various state info regarding block chain processing.\n"
1030+
"Returns an object containing various state info regarding blockchain processing.\n"
10311031
"\nResult:\n"
10321032
"{\n"
10331033
" \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"

0 commit comments

Comments
 (0)