V0.14.1 spork updates (#143)

* Content - Update list of sporks
 - Move 5 and 12 to removed list

* RPC - Update spork output
This commit is contained in:
thephez 2019-08-08 13:03:32 -04:00 committed by GitHub
parent d1db8ba12d
commit 80e4cce47e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 16 deletions

View file

@ -44,7 +44,7 @@ To display the status of sporks, use the `show` or `active` syntax.
{% enditemplate %} {% enditemplate %}
*Example from Dash Core 0.14.0* *Example from Dash Core 0.14.1*
{% highlight bash %} {% highlight bash %}
dash-cli -testnet spork show dash-cli -testnet spork show
@ -55,16 +55,13 @@ Result:
{ {
"SPORK_2_INSTANTSEND_ENABLED": 0, "SPORK_2_INSTANTSEND_ENABLED": 0,
"SPORK_3_INSTANTSEND_BLOCK_FILTERING": 0, "SPORK_3_INSTANTSEND_BLOCK_FILTERING": 0,
"SPORK_5_INSTANTSEND_MAX_VALUE": 3000, "SPORK_6_NEW_SIGS": 4000000000,
"SPORK_6_NEW_SIGS": 0,
"SPORK_9_SUPERBLOCKS_ENABLED": 0, "SPORK_9_SUPERBLOCKS_ENABLED": 0,
"SPORK_12_RECONSIDER_BLOCKS": 0, "SPORK_15_DETERMINISTIC_MNS_ENABLED": 1047200,
"SPORK_15_DETERMINISTIC_MNS_ENABLED": 7300,
"SPORK_16_INSTANTSEND_AUTOLOCKS": 0, "SPORK_16_INSTANTSEND_AUTOLOCKS": 0,
"SPORK_17_QUORUM_DKG_ENABLED": 0, "SPORK_17_QUORUM_DKG_ENABLED": 0,
"SPORK_18_QUORUM_DEBUG_ENABLED": 4070908800, "SPORK_19_CHAINLOCKS_ENABLED": 0,
"SPORK_19_CHAINLOCKS_ENABLED": 4070908800, "SPORK_20_INSTANTSEND_LLMQ_BASED": 0
"SPORK_20_INSTANTSEND_LLMQ_BASED": 4070908800
} }
{% endhighlight %} {% endhighlight %}
@ -96,16 +93,13 @@ Result:
{ {
"SPORK_2_INSTANTSEND_ENABLED": true, "SPORK_2_INSTANTSEND_ENABLED": true,
"SPORK_3_INSTANTSEND_BLOCK_FILTERING": true, "SPORK_3_INSTANTSEND_BLOCK_FILTERING": true,
"SPORK_5_INSTANTSEND_MAX_VALUE": true, "SPORK_6_NEW_SIGS": false,
"SPORK_6_NEW_SIGS": true,
"SPORK_9_SUPERBLOCKS_ENABLED": true, "SPORK_9_SUPERBLOCKS_ENABLED": true,
"SPORK_12_RECONSIDER_BLOCKS": true,
"SPORK_15_DETERMINISTIC_MNS_ENABLED": true, "SPORK_15_DETERMINISTIC_MNS_ENABLED": true,
"SPORK_16_INSTANTSEND_AUTOLOCKS": true, "SPORK_16_INSTANTSEND_AUTOLOCKS": true,
"SPORK_17_QUORUM_DKG_ENABLED": true, "SPORK_17_QUORUM_DKG_ENABLED": true,
"SPORK_18_QUORUM_DEBUG_ENABLED": false, "SPORK_19_CHAINLOCKS_ENABLED": true,
"SPORK_19_CHAINLOCKS_ENABLED": false, "SPORK_20_INSTANTSEND_LLMQ_BASED": true
"SPORK_20_INSTANTSEND_LLMQ_BASED": false
} }
{% endhighlight %} {% endhighlight %}

View file

@ -1707,10 +1707,8 @@ Sporks (per [`src/spork.h`][spork.h])
| ---------- | ---------- | ----------- | ----------- | | ---------- | ---------- | ----------- | ----------- |
| 10001 | 2 | `INSTANTSEND_ENABLED` | Turns on and off InstantSend network wide | 10001 | 2 | `INSTANTSEND_ENABLED` | Turns on and off InstantSend network wide
| 10002 | 3 | `INSTANTSEND_BLOCK_FILTERING` | Turns on and off InstantSend block filtering | 10002 | 3 | `INSTANTSEND_BLOCK_FILTERING` | Turns on and off InstantSend block filtering
| 10004 | 5 | `INSTANTSEND_MAX_VALUE` | Controls the max value for an InstantSend transaction (currently 2000 dash)
| 10005 | 6 | `NEW_SIGS` | Turns on and off new signature format for Dash-specific messages | 10005 | 6 | `NEW_SIGS` | Turns on and off new signature format for Dash-specific messages
| 10008 | 9 | `SUPERBLOCKS_ENABLED` | Superblocks are enabled (10% of the block reward allocated to fund the dash treasury for funding approved proposals) | 10008 | 9 | `SUPERBLOCKS_ENABLED` | Superblocks are enabled (10% of the block reward allocated to fund the dash treasury for funding approved proposals)
| 10011 | 12 | `RECONSIDER_BLOCKS` | Forces reindex of a specified number of blocks to recover from unintentional network forks
| 10014 | 15 | `DETERMINISTIC_MNS_ENABLED` | Deterministic masternode lists are enabled | 10014 | 15 | `DETERMINISTIC_MNS_ENABLED` | Deterministic masternode lists are enabled
| 10015 | 16 | `INSTANTSEND_AUTOLOCKS` | Automatic InstantSend for transactions with <=4 inputs (also eliminates the special InstantSend fee requirement for these transactions) | 10015 | 16 | `INSTANTSEND_AUTOLOCKS` | Automatic InstantSend for transactions with <=4 inputs (also eliminates the special InstantSend fee requirement for these transactions)
| 10016 | 17 | `SPORK_17_QUORUM_DKG_ENABLED` | Enable long-living masternode quorum (LLMQ) distributed key generation (DKG). When enabled, simple PoSe scoring and banning is active as well. | 10016 | 17 | `SPORK_17_QUORUM_DKG_ENABLED` | Enable long-living masternode quorum (LLMQ) distributed key generation (DKG). When enabled, simple PoSe scoring and banning is active as well.
@ -1718,8 +1716,10 @@ Sporks (per [`src/spork.h`][spork.h])
| 10019 | 20 | `SPORK_20_INSTANTSEND_LLMQ_BASED` | Enable LLMQ-based InstantSend. | 10019 | 20 | `SPORK_20_INSTANTSEND_LLMQ_BASED` | Enable LLMQ-based InstantSend.
| | | | | | | |
| | | **Removed Sporks** | | | | **Removed Sporks** |
| _10004_ | _5_ | _`INSTANTSEND_MAX_VALUE`_ | _Removed in Dash Core 0.14.1.<br>Controls the max value for an InstantSend transaction (currently 2000 dash)_
| _10007_ | _8_ | _`MASTERNODE_PAYMENT_ENFORCEMENT`_ | _Removed in Dash Core 0.14.0.<br>Requires masternodes to be paid by miners when blocks are processed_ | _10007_ | _8_ | _`MASTERNODE_PAYMENT_ENFORCEMENT`_ | _Removed in Dash Core 0.14.0.<br>Requires masternodes to be paid by miners when blocks are processed_
| _10009_ | _10_ | _`MASTERNODE_PAY_UPDATED_NODES`_ | _Removed in Dash Core 0.14.0.<br>Only current protocol version masternode's will be paid (not older nodes)_ | _10009_ | _10_ | _`MASTERNODE_PAY_UPDATED_NODES`_ | _Removed in Dash Core 0.14.0.<br>Only current protocol version masternode's will be paid (not older nodes)_
| _10011_ | _12_ | _`RECONSIDER_BLOCKS`_ | _Removed in Dash Core 0.14.1.<br>Forces reindex of a specified number of blocks to recover from unintentional network forks_
| _10012_ | _13_ | _`OLD_SUPERBLOCK_FLAG`_ | _Removed in Dash Core 0.12.3.<br>No network function since block 614820_ | _10012_ | _13_ | _`OLD_SUPERBLOCK_FLAG`_ | _Removed in Dash Core 0.12.3.<br>No network function since block 614820_
| _10013_ | _14_ | _`REQUIRE_SENTINEL_FLAG`_ | _Removed in Dash Core 0.14.0.<br>Only masternode's running sentinel will be paid_ | _10013_ | _14_ | _`REQUIRE_SENTINEL_FLAG`_ | _Removed in Dash Core 0.14.0.<br>Only masternode's running sentinel will be paid_
| _10017_ | _18_ | _`QUORUM_DEBUG_ENABLED`_ | _Removed in Dash Core 0.14.0.<br><br>Temporarily used on Testnet only quorum debugging._ | _10017_ | _18_ | _`QUORUM_DEBUG_ENABLED`_ | _Removed in Dash Core 0.14.0.<br><br>Temporarily used on Testnet only quorum debugging._