You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[rpc] Tidy up reporting of buried and ongoing softforks
This combines reporting of buried (formally ISM) softfork deployments
and BIP9 versionbits softfork deployments into one JSON object in the
getblockchaininfo return object.
"\"status\": xx, (boolean) true if threshold reached\n"
1284
-
" },\n"
1285
-
" }, ...\n"
1286
-
" ],\n"
1287
-
"\"bip9_softforks\": { (object) status of BIP9 softforks in progress\n"
1273
+
"\"softforks\": { (object) status of softforks\n"
1288
1274
"\"xxxx\" : { (string) name of the softfork\n"
1289
-
"\"status\": \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n"
1290
-
"\"bit\": xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n"
1291
-
"\"startTime\": xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
1292
-
"\"timeout\": xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n"
1293
-
"\"since\": xx, (numeric) height of the first block to which the status applies\n"
1294
-
"\"statistics\": { (object) numeric statistics about BIP9 signalling for a softfork (only for \"started\" status)\n"
1295
-
"\"period\": xx, (numeric) the length in blocks of the BIP9 signalling period \n"
1296
-
"\"threshold\": xx, (numeric) the number of blocks with the version bit set required to activate the feature \n"
1297
-
"\"elapsed\": xx, (numeric) the number of blocks elapsed since the beginning of the current period \n"
1298
-
"\"count\": xx, (numeric) the number of blocks with the version bit set in the current period \n"
1299
-
"\"possible\": xx (boolean) returns false if there are not enough blocks left in this period to pass activation threshold \n"
1300
-
" }\n"
1275
+
"\"type\": \"xxxx\", (string) one of \"buried\", \"bip9\"\n"
1276
+
"\"bip9\": { (object) status of bip9 softforks (only for \"bip9\" type)\n"
1277
+
"\"status\": \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n"
1278
+
"\"bit\": xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n"
1279
+
"\"startTime\": xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n"
1280
+
"\"timeout\": xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n"
1281
+
"\"since\": xx, (numeric) height of the first block to which the status applies\n"
1282
+
"\"statistics\": { (object) numeric statistics about BIP9 signalling for a softfork\n"
1283
+
"\"period\": xx, (numeric) the length in blocks of the BIP9 signalling period \n"
1284
+
"\"threshold\": xx, (numeric) the number of blocks with the version bit set required to activate the feature \n"
1285
+
"\"elapsed\": xx, (numeric) the number of blocks elapsed since the beginning of the current period \n"
1286
+
"\"count\": xx, (numeric) the number of blocks with the version bit set in the current period \n"
1287
+
"\"possible\": xx (boolean) returns false if there are not enough blocks left in this period to pass activation threshold \n"
1288
+
" }\n"
1289
+
" },\n"
1290
+
"\"height\": \"xxxxxx\", (numeric) height of the first block which the rules are or will be enforced (only for \"buried\" type, or \"bip9\" type with \"active\" status)\n"
1291
+
"\"active\": xx, (boolean) true if the rules are enforced for the mempool and the next block\n"
1301
1292
" }\n"
1302
1293
" }\n"
1303
1294
"\"warnings\" : \"...\", (string) any network and blockchain warnings.\n"
0 commit comments