diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/spork.md b/_includes/devdoc/dash-core/rpcs/rpcs/spork.md index 385f6e96..afd5c1f8 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.3* +*Example from Dash Core 0.14.0* {% highlight bash %} dash-cli -testnet spork show @@ -56,12 +56,15 @@ Result: "SPORK_2_INSTANTSEND_ENABLED": 0, "SPORK_3_INSTANTSEND_BLOCK_FILTERING": 0, "SPORK_5_INSTANTSEND_MAX_VALUE": 3000, - "SPORK_6_NEW_SIGS": 4000000000, - "SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT": 0, + "SPORK_6_NEW_SIGS": 0, "SPORK_9_SUPERBLOCKS_ENABLED": 0, - "SPORK_10_MASTERNODE_PAY_UPDATED_NODES": 0, "SPORK_12_RECONSIDER_BLOCKS": 0, - "SPORK_14_REQUIRE_SENTINEL_FLAG": 0 + "SPORK_15_DETERMINISTIC_MNS_ENABLED": 7300, + "SPORK_16_INSTANTSEND_AUTOLOCKS": 0, + "SPORK_17_QUORUM_DKG_ENABLED": 0, + "SPORK_18_QUORUM_DEBUG_ENABLED": 4070908800, + "SPORK_19_CHAINLOCKS_ENABLED": 4070908800, + "SPORK_20_INSTANTSEND_LLMQ_BASED": 4070908800 } {% endhighlight %} @@ -82,7 +85,7 @@ Result: {% enditemplate %} -*Example from Dash Core 0.12.3* +*Example from Dash Core 0.14.0* {% highlight bash %} dash-cli -testnet spork active @@ -94,12 +97,15 @@ Result: "SPORK_2_INSTANTSEND_ENABLED": true, "SPORK_3_INSTANTSEND_BLOCK_FILTERING": true, "SPORK_5_INSTANTSEND_MAX_VALUE": true, - "SPORK_6_NEW_SIGS": false, - "SPORK_8_MASTERNODE_PAYMENT_ENFORCEMENT": true, + "SPORK_6_NEW_SIGS": true, "SPORK_9_SUPERBLOCKS_ENABLED": true, - "SPORK_10_MASTERNODE_PAY_UPDATED_NODES": true, "SPORK_12_RECONSIDER_BLOCKS": true, - "SPORK_14_REQUIRE_SENTINEL_FLAG": true + "SPORK_15_DETERMINISTIC_MNS_ENABLED": true, + "SPORK_16_INSTANTSEND_AUTOLOCKS": true, + "SPORK_17_QUORUM_DKG_ENABLED": true, + "SPORK_18_QUORUM_DEBUG_ENABLED": false, + "SPORK_19_CHAINLOCKS_ENABLED": false, + "SPORK_20_INSTANTSEND_LLMQ_BASED": false } {% endhighlight %} diff --git a/_includes/devdoc/ref_p2p_networking.md b/_includes/devdoc/ref_p2p_networking.md index 1d729466..46f64215 100644 --- a/_includes/devdoc/ref_p2p_networking.md +++ b/_includes/devdoc/ref_p2p_networking.md @@ -1763,17 +1763,20 @@ Sporks (per [`src/spork.h`][spork.h]) | 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 -| 10007 | 8 | `MASTERNODE_PAYMENT_ENFORCEMENT` | Requires masternodes to be paid by miners when blocks are processed | 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 -| 10013 | 14 | `REQUIRE_SENTINEL_FLAG` | Only masternode's running sentinel will be paid | 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) | 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. +| 10017 | 18 | `SPORK_18_QUORUM_DEBUG_ENABLED` | Enable long-living masternode quorum (LLMQ) debugging. +| 10018 | 19 | `SPORK_19_CHAINLOCKS_ENABLED` | Enable LLMQ-based ChainLocks. +| 10019 | 20 | `SPORK_20_INSTANTSEND_LLMQ_BASED` | Enable LLMQ-based InstantSend. | | | | | | | **Removed Sporks** | -| _10012_ | _13_ | _`OLD_SUPERBLOCK_FLAG`_ | _Removed in Dash Core 0.12.3. No network function since block 614820_ +| _10007_ | _8_ | _`MASTERNODE_PAYMENT_ENFORCEMENT`_ | _Removed in Dash Core 0.14.0.
Requires masternodes to be paid by miners when blocks are processed_ +| _10009_ | _10_ | _`MASTERNODE_PAY_UPDATED_NODES`_ | _Removed in Dash Core 0.14.0.
Only current protocol version masternode's will be paid (not older nodes)_ +| _10012_ | _13_ | _`OLD_SUPERBLOCK_FLAG`_ | _Removed in Dash Core 0.12.3.
No network function since block 614820_ +| _10013_ | _14_ | _`REQUIRE_SENTINEL_FLAG`_ | _Removed in Dash Core 0.14.0.
Only masternode's running sentinel will be paid_ 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/references.md b/_includes/references.md index 1f522510..df1e45ce 100644 --- a/_includes/references.md +++ b/_includes/references.md @@ -495,7 +495,7 @@ periodically to point to recent code. Last update: 2017-09-05 --> {% endcomment [MAX_SIZE]: https://github.com/dashpay/dash/blob/c31ba8ba4c07e72620bd71753f2103ca103bb1c2/src/serialize.h#L26 [privatesend denominations]: https://github.com/dashpay/dash/blob/753b1e486b2757b1dba59998ee477e7ceff04f2d/src/privatesend.cpp#L149-L171 [rpcprotocol.h]: https://github.com/dashpay/dash/blob/3e0eee4c84f40b3cf277e8d03e004249d03c081d/src/rpcprotocol.h -[spork.h]: https://github.com/dashpay/dash/blob/e1702cd4eca5f276c75cae9de0eb274369b031f6/src/spork.h#L22 +[spork.h]: https://github.com/dashpay/dash/blob/a4f5ba38b65384fb9243ce78c111feceb377e1a9/src/spork.h#L20 [spork pubkey]: https://github.com/dashpay/dash/blob/eaf90b77177efbaf9cbed46e822f0d794f1a0ee5/src/chainparams.cpp#L158 [masternode payments pubkey]: https://github.com/dashpay/dash/blob/eaf90b77177efbaf9cbed46e822f0d794f1a0ee5/src/chainparams.cpp#L159 [block subsidy]: https://github.com/dashpay/dash/blob/9ed9474a9eb007bba70278ce19df68e84aeeb712/src/main.cpp#L1741