set fork height

This commit is contained in:
wowario 2023-02-24 10:27:54 +03:00
parent 26d039db0a
commit 83a0e91e23
No known key found for this signature in database
GPG Key ID: 793504B449C69220

View File

@ -45,6 +45,7 @@ const hardfork_t mainnet_hard_forks[] = {
{ 17, 254287, 0, 1600576524 }, { 17, 254287, 0, 1600576524 },
{ 18, 331170, 0, 1623245591 }, { 18, 331170, 0, 1623245591 },
{ 19, 331458, 0, 1624793373 }, { 19, 331458, 0, 1624793373 },
{ 20, 514000, 0, 1677222289 },
}; };
// since Wownero starts from v7, added + 6 so that the total number of hard forks = version number // since Wownero starts from v7, added + 6 so that the total number of hard forks = version number
const size_t num_mainnet_hard_forks = sizeof(mainnet_hard_forks) / sizeof(mainnet_hard_forks[0]) + 6; const size_t num_mainnet_hard_forks = sizeof(mainnet_hard_forks) / sizeof(mainnet_hard_forks[0]) + 6;