mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
RPC - Update getblockchaininfo to show BIP-9 progress
Related to dashpay/dash#2435
This commit is contained in:
parent
63a6f6ce45
commit
5193ae21b1
3 changed files with 27 additions and 2 deletions
|
@ -102,7 +102,7 @@ These RPCs are all Dash-specific and not found in Bitcoin Core
|
|||
|
||||
* [GetBestBlockHash][rpc getbestblockhash]: {{summary_getBestBlockHash}}
|
||||
* [GetBlock][rpc getblock]: {{summary_getBlock}} {{UPDATED0_13_0}}
|
||||
* [GetBlockChainInfo][rpc getblockchaininfo]: {{summary_getBlockChainInfo}} {{DASH_UPDATED0_12_3}} {{UPDATED0_12_1}}
|
||||
* [GetBlockChainInfo][rpc getblockchaininfo]: {{summary_getBlockChainInfo}} {{DASH_UPDATED0_13_0}} {{UPDATED0_12_1}}
|
||||
* [GetBlockCount][rpc getblockcount]: {{summary_getBlockCount}}
|
||||
* [GetBlockHash][rpc getblockhash]: {{summary_getBlockHash}}
|
||||
* [GetBlockHashes][rpc getblockhashes]: {{summary_getBlockHashes}} {{DASH_NEW0_12_1}}
|
||||
|
|
|
@ -165,6 +165,31 @@ The `getblockchaininfo` RPC {{summary_getBlockChainInfo}}
|
|||
p: "Optional<br>(0 or 1)"
|
||||
d: "The bit (0-28) in the block version field used to signal this softfork. Field is only shown when status is `started`"
|
||||
|
||||
- n: "→ → →<br>`period`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Added in Dash Core 0.13.0*<br><br>The window size/period for this softfork. Field is only shown when status is `started`"
|
||||
|
||||
- n: "→ → →<br>`threshold`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Added in Dash Core 0.13.0*<br><br>The threshold for this softfork. Field is only shown when status is `started`"
|
||||
|
||||
- n: "→ → →<br>`windowStart`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Added in Dash Core 0.13.0*<br><br>The starting block height of the current window. Field is only shown when status is `started`"
|
||||
|
||||
- n: "→ → →<br>`windowBlocks`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Added in Dash Core 0.13.0*<br><br>The number of blocks in the current window that had the version bit set for this softfork. Field is only shown when status is `started`"
|
||||
|
||||
- n: "→ → →<br>`windowProgress`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Added in Dash Core 0.13.0*<br><br>The progress (between 0 and 1) for activation of this softfork. Field is only shown when status is `started`"
|
||||
|
||||
- n: "→ → →<br>`startTime`"
|
||||
t: "numeric<br>(int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
|
|
|
@ -77,7 +77,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header::
|
|||
<td class="tg-yw4l">Blockchain</td>
|
||||
<td class="tg-yw4l"><a href="#getblockchaininfo">GetBlockChainInfo</a></td>
|
||||
<td class="tg-baqh">Y</td>
|
||||
<td class="tg-baqh">Updated in 0.12.3.0</td>
|
||||
<td class="tg-baqh">Updated in 0.13.0.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tg-b7b8">Blockchain</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue