From 9ee10b23490098af81fc0c011fa206c42a236c5f Mon Sep 17 00:00:00 2001 From: thephez Date: Mon, 12 Feb 2018 12:30:24 -0500 Subject: [PATCH] content - Spork 13 removal updates - RPC output examples / summary table - Spork list - Closes #19 --- _includes/devdoc/dash-core/rpcs/rpcs/spork.md | 6 ++---- _includes/devdoc/ref_p2p_networking.md | 6 ++++-- _includes/layout/base/rpc-table.html | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/spork.md b/_includes/devdoc/dash-core/rpcs/rpcs/spork.md index 2ac92546..0d1e059b 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/spork.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/spork.md @@ -44,7 +44,7 @@ To display the status of sporks, use the `show` or `active` syntax. {% enditemplate %} -*Example from Dash Core 0.12.2* +*Example from Dash Core 0.12.3* {% highlight bash %} dash-cli -testnet spork show @@ -60,7 +60,6 @@ Result: "SPORK_9_SUPERBLOCKS_ENABLED": 0, "SPORK_10_MASTERNODE_PAY_UPDATED_NODES": 0, "SPORK_12_RECONSIDER_BLOCKS": 0, - "SPORK_13_OLD_SUPERBLOCK_FLAG": 4070908800, "SPORK_14_REQUIRE_SENTINEL_FLAG": 0 } {% endhighlight %} @@ -82,7 +81,7 @@ Result: {% enditemplate %} -*Example from Dash Core 0.12.2* +*Example from Dash Core 0.12.3* {% highlight bash %} dash-cli -testnet spork active @@ -98,7 +97,6 @@ Result: "SPORK_9_SUPERBLOCKS_ENABLED": true, "SPORK_10_MASTERNODE_PAY_UPDATED_NODES": true, "SPORK_12_RECONSIDER_BLOCKS": true, - "SPORK_13_OLD_SUPERBLOCK_FLAG": false, "SPORK_14_REQUIRE_SENTINEL_FLAG": true } {% endhighlight %} diff --git a/_includes/devdoc/ref_p2p_networking.md b/_includes/devdoc/ref_p2p_networking.md index 76ac0ed5..5fd4001a 100644 --- a/_includes/devdoc/ref_p2p_networking.md +++ b/_includes/devdoc/ref_p2p_networking.md @@ -1310,7 +1310,7 @@ signature before accepting the spork message as valid. | 8 | nTimeSigned | int64_t | Required | Time the spork value was signed | 66 | vchSig | char[] | Required | Length (1 byte) + Signature (65 bytes) -Defined Sporks (per [`src/spork.h`][spork.h]) +Sporks (per [`src/spork.h`][spork.h]) | Spork ID | Number | Name | Description | | ---------- | ---------- | ----------- | ----------- | @@ -1321,8 +1321,10 @@ Defined Sporks (per [`src/spork.h`][spork.h]) | 10008 | 9 | `SUPERBLOCKS_ENABLED` | Superblocks are enabled (10% of the block reward allocated to fund the dash treasury for funding approved proposals) | 10009 | 10 | `MASTERNODE_PAY_UPDATED_NODES` | Only current protocol version masternode's will be paid (not older nodes) | 10011 | 12 | `RECONSIDER_BLOCKS` | Forces reindex of a specified number of blocks to recover from unintentional network forks -| 10012 | 13 | `OLD_SUPERBLOCK_FLAG` | Deprecated. No network function since block 614820 | 10013 | 14 | `REQUIRE_SENTINEL_FLAG` | Only masternode's running sentinel will be paid +| | | | +| | | **Removed Sporks** | +| _10012_ | _13_ | _`OLD_SUPERBLOCK_FLAG`_ | _Removed in Dash Core 0.12.3. No network function since block 614820_ To verify `vchSig`, compare the hard-coded spork public key (`strSporkPubKey` from [`src/chainparams.cpp`][spork pubkey]) with the public key recovered from diff --git a/_includes/layout/base/rpc-table.html b/_includes/layout/base/rpc-table.html index c6b0b24a..bd4e9473 100644 --- a/_includes/layout/base/rpc-table.html +++ b/_includes/layout/base/rpc-table.html @@ -287,7 +287,7 @@ th.tg-sort-header::-moz-selection { background:transparent; }th.tg-sort-header:: Dash Spork Y - + Updated in 0.12.3 Dash