From 9d31efa09e40a6228835ec903d4c8e19f17c82cf Mon Sep 17 00:00:00 2001 From: wowario Date: Mon, 11 May 2020 18:37:41 +0300 Subject: [PATCH] add testnet fork heights --- src/hardforks/hardforks.cpp | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/src/hardforks/hardforks.cpp b/src/hardforks/hardforks.cpp index 87a9a7553..861a0c377 100644 --- a/src/hardforks/hardforks.cpp +++ b/src/hardforks/hardforks.cpp @@ -45,24 +45,16 @@ const hardfork_t mainnet_hard_forks[] = { const size_t num_mainnet_hard_forks = sizeof(mainnet_hard_forks) / sizeof(mainnet_hard_forks[0]); const hardfork_t testnet_hard_forks[] = { - // version 1 from the start of the blockchain - { 1, 1, 0, 1341378000 }, - - // version 2 starts from block 624634, which is on or around the 23rd of November, 2015. Fork time finalised on 2015-11-20. No fork voting occurs for the v2 fork. - { 2, 624634, 0, 1445355000 }, - - // versions 3-5 were passed in rapid succession from September 18th, 2016 - { 3, 800500, 0, 1472415034 }, - { 4, 801219, 0, 1472415035 }, - { 5, 802660, 0, 1472415036 + 86400*180 }, // add 5 months on testnet to shut the update warning up since there's a large gap to v6 - - { 6, 971400, 0, 1501709789 }, - { 7, 1057027, 0, 1512211236 }, - { 8, 1057058, 0, 1533211200 }, - { 9, 1057778, 0, 1533297600 }, - { 10, 1154318, 0, 1550153694 }, - { 11, 1155038, 0, 1550225678 }, - { 12, 1308737, 0, 1569582000 }, + { 7, 1, 0, 1519605000 }, + { 8, 5, 0, 1524214739 }, + { 9, 10, 0, 1538689773 }, + { 10, 15, 0, 1541700352 }, + { 11, 20, 0, 1549238400 }, + { 12, 25, 0, 1549318761 }, + { 13, 30, 0, 1559292691 }, + { 14, 35, 0, 1559292774 }, + { 15, 40, 0, 1573280497 }, + { 16, 45, 0, 1589210508 }, }; const size_t num_testnet_hard_forks = sizeof(testnet_hard_forks) / sizeof(testnet_hard_forks[0]);