Skip to content

Commit 53b2162

Browse files
authored
Harden spork15 value to 1047200 when on mainnet (#2830)
This is a hackish version of #2824, meant for 0.13.x only. The reason for this hackish version is that the code has diverged quite a bit and its not worth the effort to backport the hardening code. Even though 0.13.x included a lot of fixes for sporks handling and syncing, I still feel more safe with hardening the spork15 block height. If something goes wrong with spork syncing (e.g. its slower then the first DIP2/3 block arrives), the whole sync process will fail otherwise.
1 parent 3db4e31 commit 53b2162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spork.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ std::map<int, int64_t> mapSporkDefaults = {
2727
{SPORK_10_MASTERNODE_PAY_UPDATED_NODES, 4070908800ULL}, // OFF
2828
{SPORK_12_RECONSIDER_BLOCKS, 0}, // 0 BLOCKS
2929
{SPORK_14_REQUIRE_SENTINEL_FLAG, 4070908800ULL}, // OFF
30-
{SPORK_15_DETERMINISTIC_MNS_ENABLED, 4070908800ULL}, // OFF
30+
{SPORK_15_DETERMINISTIC_MNS_ENABLED, 1047200}, // Hardened to mainnet activation height (we only did this for 0.13.x)
3131
{SPORK_16_INSTANTSEND_AUTOLOCKS, 4070908800ULL}, // OFF
3232
{SPORK_17_QUORUM_DKG_ENABLED, 4070908800ULL}, // OFF
3333
};

0 commit comments

Comments
 (0)