Skip to content

Commit 1141364

Browse files
committed
[trivial] (whitespace only) fix getblockchaininfo alignment
1 parent bd9c181 commit 1141364

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

src/rpc/blockchain.cpp

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,46 +1128,46 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
11281128
"Returns an object containing various state info regarding blockchain processing.\n"
11291129
"\nResult:\n"
11301130
"{\n"
1131-
" \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"
1132-
" \"blocks\": xxxxxx, (numeric) the current number of blocks processed in the server\n"
1133-
" \"headers\": xxxxxx, (numeric) the current number of headers we have validated\n"
1134-
" \"bestblockhash\": \"...\", (string) the hash of the currently best block\n"
1135-
" \"difficulty\": xxxxxx, (numeric) the current difficulty\n"
1136-
" \"mediantime\": xxxxxx, (numeric) median time for the current best block\n"
1131+
" \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n"
1132+
" \"blocks\": xxxxxx, (numeric) the current number of blocks processed in the server\n"
1133+
" \"headers\": xxxxxx, (numeric) the current number of headers we have validated\n"
1134+
" \"bestblockhash\": \"...\", (string) the hash of the currently best block\n"
1135+
" \"difficulty\": xxxxxx, (numeric) the current difficulty\n"
1136+
" \"mediantime\": xxxxxx, (numeric) median time for the current best block\n"
11371137
" \"verificationprogress\": xxxx, (numeric) estimate of verification progress [0..1]\n"
11381138
" \"initialblockdownload\": xxxx, (bool) (debug information) estimate of whether this node is in Initial Block Download mode.\n"
1139-
" \"chainwork\": \"xxxx\" (string) total amount of work in active chain, in hexadecimal\n"
1140-
" \"size_on_disk\": xxxxxx, (numeric) the estimated size of the block and undo files on disk\n"
1141-
" \"pruned\": xx, (boolean) if the blocks are subject to pruning\n"
1142-
" \"pruneheight\": xxxxxx, (numeric) lowest-height complete block stored (only present if pruning is enabled)\n"
1143-
" \"automatic_pruning\": xx, (boolean) whether automatic pruning is enabled (only present if pruning is enabled)\n"
1139+
" \"chainwork\": \"xxxx\" (string) total amount of work in active chain, in hexadecimal\n"
1140+
" \"size_on_disk\": xxxxxx, (numeric) the estimated size of the block and undo files on disk\n"
1141+
" \"pruned\": xx, (boolean) if the blocks are subject to pruning\n"
1142+
" \"pruneheight\": xxxxxx, (numeric) lowest-height complete block stored (only present if pruning is enabled)\n"
1143+
" \"automatic_pruning\": xx, (boolean) whether automatic pruning is enabled (only present if pruning is enabled)\n"
11441144
" \"prune_target_size\": xxxxxx, (numeric) the target size used by pruning (only present if automatic pruning is enabled)\n"
1145-
" \"softforks\": [ (array) status of softforks in progress\n"
1145+
" \"softforks\": [ (array) status of softforks in progress\n"
11461146
" {\n"
1147-
" \"id\": \"xxxx\", (string) name of softfork\n"
1148-
" \"version\": xx, (numeric) block version\n"
1149-
" \"reject\": { (object) progress toward rejecting pre-softfork blocks\n"
1150-
" \"status\": xx, (boolean) true if threshold reached\n"
1147+
" \"id\": \"xxxx\", (string) name of softfork\n"
1148+
" \"version\": xx, (numeric) block version\n"
1149+
" \"reject\": { (object) progress toward rejecting pre-softfork blocks\n"
1150+
" \"status\": xx, (boolean) true if threshold reached\n"
11511151
" },\n"
11521152
" }, ...\n"
11531153
" ],\n"
1154-
" \"bip9_softforks\": { (object) status of BIP9 softforks in progress\n"
1155-
" \"xxxx\" : { (string) name of the softfork\n"
1156-
" \"status\": \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n"
1157-
" \"bit\": xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n"
1158-
" \"startTime\": xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
1159-
" \"timeout\": xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n"
1160-
" \"since\": xx, (numeric) height of the first block to which the status applies\n"
1161-
" \"statistics\": { (object) numeric statistics about BIP9 signalling for a softfork (only for \"started\" status)\n"
1162-
" \"period\": xx, (numeric) the length in blocks of the BIP9 signalling period \n"
1163-
" \"threshold\": xx, (numeric) the number of blocks with the version bit set required to activate the feature \n"
1164-
" \"elapsed\": xx, (numeric) the number of blocks elapsed since the beginning of the current period \n"
1165-
" \"count\": xx, (numeric) the number of blocks with the version bit set in the current period \n"
1166-
" \"possible\": xx (boolean) returns false if there are not enough blocks left in this period to pass activation threshold \n"
1154+
" \"bip9_softforks\": { (object) status of BIP9 softforks in progress\n"
1155+
" \"xxxx\" : { (string) name of the softfork\n"
1156+
" \"status\": \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n"
1157+
" \"bit\": xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n"
1158+
" \"startTime\": xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
1159+
" \"timeout\": xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n"
1160+
" \"since\": xx, (numeric) height of the first block to which the status applies\n"
1161+
" \"statistics\": { (object) numeric statistics about BIP9 signalling for a softfork (only for \"started\" status)\n"
1162+
" \"period\": xx, (numeric) the length in blocks of the BIP9 signalling period \n"
1163+
" \"threshold\": xx, (numeric) the number of blocks with the version bit set required to activate the feature \n"
1164+
" \"elapsed\": xx, (numeric) the number of blocks elapsed since the beginning of the current period \n"
1165+
" \"count\": xx, (numeric) the number of blocks with the version bit set in the current period \n"
1166+
" \"possible\": xx (boolean) returns false if there are not enough blocks left in this period to pass activation threshold \n"
11671167
" }\n"
11681168
" }\n"
11691169
" }\n"
1170-
" \"warnings\" : \"...\", (string) any network and blockchain warnings.\n"
1170+
" \"warnings\" : \"...\", (string) any network and blockchain warnings.\n"
11711171
"}\n"
11721172
"\nExamples:\n"
11731173
+ HelpExampleCli("getblockchaininfo", "")

0 commit comments

Comments
 (0)