Rename the status-next
field to status_next
in getdeploymentinfo before the RPC is released in v23.
Before
0Result:
1{ (json object)
2 "hash" : "str", (string) requested block hash (or tip)
3 "height" : n, (numeric) requested block height (or tip)
4 "deployments" : { (json object)
5 "xxxx" : { (json object) name of the deployment
6 "type" : "str", (string) one of "buried", "bip9"
7 "height" : n, (numeric, optional) height of the first block which the rules are or will be enforced (only for "buried" type, or "bip9" type with "active" status)
8 "active" : true|false, (boolean) true if the rules are enforced for the mempool and the next block
9 "bip9" : { (json object, optional) status of bip9 softforks (only for "bip9" type)
10 "bit" : n, (numeric, optional) the bit (0-28) in the block version field used to signal this softfork (only for "started" and "locked_in" status)
11 "start_time" : xxx, (numeric) the minimum median time past of a block at which the bit gains its meaning
12 "timeout" : xxx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in
13 "min_activation_height" : n, (numeric) minimum height of blocks for which the rules may be enforced
14 "status" : "str", (string) status of deployment at specified block (one of "defined", "started", "locked_in", "active", "failed")
15 "since" : n, (numeric) height of the first block to which the status applies
16 "status-next" : "str", (string) status of deployment at the next block
17 "statistics" : { (json object, optional) numeric statistics about signalling for a softfork (only for "started" and "locked_in" status)
18 "period" : n, (numeric) the length in blocks of the signalling period
19 "threshold" : n, (numeric, optional) the number of blocks with the version bit set required to activate the feature (only for "started" status)
20 "elapsed" : n, (numeric) the number of blocks elapsed since the beginning of the current period
21 "count" : n, (numeric) the number of blocks with the version bit set in the current period
22 "possible" : true|false (boolean, optional) returns false if there are not enough blocks left in this period to pass activation threshold (only for "started" status)
23 },
24 "signalling" : "str" (string) indicates blocks that signalled with a # and blocks that did not with a -
25 }
26 }
27 }
28}
After
0Result:
1{ (json object)
2 "hash" : "str", (string) requested block hash (or tip)
3 "height" : n, (numeric) requested block height (or tip)
4 "deployments" : { (json object)
5 "xxxx" : { (json object) name of the deployment
6 "type" : "str", (string) one of "buried", "bip9"
7 "height" : n, (numeric, optional) height of the first block which the rules are or will be enforced (only for "buried" type, or "bip9" type with "active" status)
8 "active" : true|false, (boolean) true if the rules are enforced for the mempool and the next block
9 "bip9" : { (json object, optional) status of bip9 softforks (only for "bip9" type)
10 "bit" : n, (numeric, optional) the bit (0-28) in the block version field used to signal this softfork (only for "started" and "locked_in" status)
11 "start_time" : xxx, (numeric) the minimum median time past of a block at which the bit gains its meaning
12 "timeout" : xxx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in
13 "min_activation_height" : n, (numeric) minimum height of blocks for which the rules may be enforced
14 "status" : "str", (string) status of deployment at specified block (one of "defined", "started", "locked_in", "active", "failed")
15 "since" : n, (numeric) height of the first block to which the status applies
16 "status_next" : "str", (string) status of deployment at the next block
17 "statistics" : { (json object, optional) numeric statistics about signalling for a softfork (only for "started" and "locked_in" status)
18 "period" : n, (numeric) the length in blocks of the signalling period
19 "threshold" : n, (numeric, optional) the number of blocks with the version bit set required to activate the feature (only for "started" status)
20 "elapsed" : n, (numeric) the number of blocks elapsed since the beginning of the current period
21 "count" : n, (numeric) the number of blocks with the version bit set in the current period
22 "possible" : true|false (boolean, optional) returns false if there are not enough blocks left in this period to pass activation threshold (only for "started" status)
23 },
24 "signalling" : "str" (string) indicates blocks that signalled with a # and blocks that did not with a -
25 }
26 }
27 }
28}