reset testnet

This commit is contained in:
Sean Darcy 2022-05-27 16:24:56 +10:00
parent 307e7b933a
commit d63142182c
2 changed files with 24 additions and 28 deletions

View File

@ -52,36 +52,32 @@ static constexpr std::array mainnet_hard_forks =
static constexpr std::array testnet_hard_forks =
{
hard_fork{hf::hf7, 0, 0, 1533631121 }, // Testnet was rebooted during Loki 3 development
hard_fork{hf::hf8, 0, 2, 1533631122 },
hard_fork{hf::hf9_service_nodes, 0, 3, 1533631123 },
hard_fork{hf::hf10_bulletproofs, 0, 4, 1542681077 },
hard_fork{hf::hf11_infinite_staking, 0, 5, 1551223964 },
hard_fork{hf::hf12_checkpointing, 0, 75471, 1561608000 }, // 2019-06-28 14:00 AEDT
hard_fork{hf::hf13_enforce_checkpoints, 0, 127028, 1568440800 }, // 2019-09-13 16:00 AEDT
hard_fork{hf::hf14_blink, 0, 174630, 1575075600 }, // 2019-11-30 07:00 UTC
hard_fork{hf::hf15_ons, 0, 244777, 1583940000 }, // 2020-03-11 15:20 UTC
hard_fork{hf::hf16_pulse, 0, 382222, 1600468200 }, // 2020-09-18 22:30 UTC
hard_fork{hf::hf17, 0, 447275, 1608276840 }, // 2020-12-18 05:34 UTC
hard_fork{hf::hf18, 0, 501750, 1616631051 }, // 2021-03-25 12:10 UTC
hard_fork{hf::hf18, 1, 578637, 1624040400 }, // 2021-06-18 18:20 UTC
hard_fork{hf::hf19_reward_batching, 0, 732355, 1650402545 },
hard_fork{hf::hf19_reward_batching, 1, 751553, 1652152424 },
hard_fork{hf::hf7, 0, 0, 1653632397}, // Testnet was rebooted during HF19 - Oxen 10
hard_fork{hf::hf11_infinite_staking, 0, 2, 1653632397},
hard_fork{hf::hf12_checkpointing, 0, 3, 1653632397},
hard_fork{hf::hf13_enforce_checkpoints, 0, 4, 1653632397},
hard_fork{hf::hf14_blink, 0, 5, 1653632397},
hard_fork{hf::hf15_ons, 0, 6, 1653632397},
hard_fork{hf::hf16_pulse, 0, 200, 1653632397},
hard_fork{hf::hf17, 0, 251, 1653632397},
hard_fork{hf::hf18, 0, 252, 1653632397},
hard_fork{hf::hf19_reward_batching, 0, 253, 1653632397},
hard_fork{hf::hf19_reward_batching, 1, 254, 1653632397}, // 2022-05-27T06:19:57.000Z UTC
};
static constexpr std::array devnet_hard_forks =
{
hard_fork{hf::hf7, 0, 0, 1653500577},
hard_fork{hf::hf11_infinite_staking, 0, 2, 1653500577},
hard_fork{hf::hf12_checkpointing, 0, 3, 1653500577},
hard_fork{hf::hf13_enforce_checkpoints, 0, 4, 1653500577},
hard_fork{hf::hf14_blink, 0, 5, 1653500577},
hard_fork{hf::hf15_ons, 0, 6, 1653500577},
hard_fork{hf::hf16_pulse, 0, 100, 1653500577},
hard_fork{hf::hf17, 0, 151, 1653500577},
hard_fork{hf::hf18, 0, 152, 1653500577},
hard_fork{hf::hf19_reward_batching, 0, 153, 1653500577},
hard_fork{hf::hf19_reward_batching, 1, 154, 1653500577},
hard_fork{hf::hf7, 0, 0, 1653632397},
hard_fork{hf::hf11_infinite_staking, 0, 2, 1653632397},
hard_fork{hf::hf12_checkpointing, 0, 3, 1653632397},
hard_fork{hf::hf13_enforce_checkpoints, 0, 4, 1653632397},
hard_fork{hf::hf14_blink, 0, 5, 1653632397},
hard_fork{hf::hf15_ons, 0, 6, 1653632397},
hard_fork{hf::hf16_pulse, 0, 200, 1653632397},
hard_fork{hf::hf17, 0, 251, 1653632397},
hard_fork{hf::hf18, 0, 252, 1653632397},
hard_fork{hf::hf19_reward_batching, 0, 253, 1653632397},
hard_fork{hf::hf19_reward_batching, 1, 254, 1653632397}, // 2022-05-27T06:19:57.000Z UTC
};

View File

@ -363,8 +363,8 @@ namespace config
inline constexpr uint16_t ZMQ_RPC_DEFAULT_PORT = 38158;
inline constexpr uint16_t QNET_DEFAULT_PORT = 38159;
inline constexpr boost::uuids::uuid const NETWORK_ID = { {
0x5f, 0x3a, 0x78, 0x65, 0xe1, 0x6f, 0xca, 0xb8, 0x02, 0xa1, 0xdc, 0x17, 0x61, 0x64, 0x15, 0xbe,
} }; // Bender's daydream
0x22, 0x3a, 0x78, 0x65, 0xe1, 0x6f, 0xca, 0xb8, 0x02, 0xa1, 0xdc, 0x17, 0x61, 0x64, 0x15, 0xbe,
} };
inline constexpr std::string_view GENESIS_TX = "03011e001e01ff00018080c9db97f4fb270259b546996f69aa71abe4238995f41d780ab1abebcac9f00e808f147bdb9e3228420112573af8c309b69a1a646f41b5212ba7d9c4590bf86e04f36c486467cfef9d3d72000000000000000000000000000000000000000000000000000000000000000000"sv;
inline constexpr uint32_t GENESIS_NONCE = 10001;