@@ -1128,46 +1128,46 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
1128
1128
" Returns an object containing various state info regarding blockchain processing.\n "
1129
1129
" \n Result:\n "
1130
1130
" {\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 "
1137
1137
" \" verificationprogress\" : xxxx, (numeric) estimate of verification progress [0..1]\n "
1138
1138
" \" 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 "
1144
1144
" \" 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 "
1146
1146
" {\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 "
1151
1151
" },\n "
1152
1152
" }, ...\n "
1153
1153
" ],\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 "
1167
1167
" }\n "
1168
1168
" }\n "
1169
1169
" }\n "
1170
- " \" warnings\" : \" ...\" , (string) any network and blockchain warnings.\n "
1170
+ " \" warnings\" : \" ...\" , (string) any network and blockchain warnings.\n "
1171
1171
" }\n "
1172
1172
" \n Examples:\n "
1173
1173
+ HelpExampleCli (" getblockchaininfo" , " " )
0 commit comments