Skip to content

Commit

Permalink
speed up testnet hardforks for local development (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser authored Jul 6, 2022
1 parent d89842b commit 08c5838
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/hardforks/hardforks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,22 @@ const hardfork_t testnet_hard_forks[] = {
{ 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 },
{ 2, 10, 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 },
{ 13, 1543939, 0, 1599069376 },
{ 14, 1544659, 0, 1599069377 },
{ 3, 20, 0, 1472415034 },
{ 4, 30, 0, 1472415035 },
{ 5, 40, 0, 1472415036 + 86400*180 }, // add 5 months on testnet to shut the update warning up since there's a large gap to v6

{ 6, 50, 0, 1501709789 },
{ 7, 60, 0, 1512211236 },
{ 8, 70, 0, 1533211200 },
{ 9, 80, 0, 1533297600 },
{ 10, 90, 0, 1550153694 },
{ 11, 100, 0, 1550225678 },
{ 12, 110, 0, 1569582000 },
{ 13, 120, 0, 1599069376 },
{ 14, 130, 0, 1599069377 },
};
const size_t num_testnet_hard_forks = sizeof(testnet_hard_forks) / sizeof(testnet_hard_forks[0]);
const uint64_t testnet_hard_fork_version_1_till = 624633;
Expand Down

0 comments on commit 08c5838

Please sign in to comment.