Merge pull request #253 from wowario/testforks

add testnet fork heights
This commit is contained in:
jw 2020-05-11 09:22:15 -07:00 committed by GitHub
commit 116d29906c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 size_t num_mainnet_hard_forks = sizeof(mainnet_hard_forks) / sizeof(mainnet_hard_forks[0]);
const hardfork_t testnet_hard_forks[] = { const hardfork_t testnet_hard_forks[] = {
// version 1 from the start of the blockchain { 7, 1, 0, 1519605000 },
{ 1, 1, 0, 1341378000 }, { 8, 5, 0, 1524214739 },
{ 9, 10, 0, 1538689773 },
// 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. { 10, 15, 0, 1541700352 },
{ 2, 624634, 0, 1445355000 }, { 11, 20, 0, 1549238400 },
{ 12, 25, 0, 1549318761 },
// versions 3-5 were passed in rapid succession from September 18th, 2016 { 13, 30, 0, 1559292691 },
{ 3, 800500, 0, 1472415034 }, { 14, 35, 0, 1559292774 },
{ 4, 801219, 0, 1472415035 }, { 15, 40, 0, 1573280497 },
{ 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 { 16, 45, 0, 1589210508 },
{ 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 },
}; };
const size_t num_testnet_hard_forks = sizeof(testnet_hard_forks) / sizeof(testnet_hard_forks[0]); const size_t num_testnet_hard_forks = sizeof(testnet_hard_forks) / sizeof(testnet_hard_forks[0]);