reset testnet

This commit is contained in:
wowario 2018-06-15 01:22:00 +03:00
parent 74a30ddccd
commit 44095676ff
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
3 changed files with 5 additions and 2 deletions

View File

@ -163,6 +163,9 @@ namespace cryptonote
{
if (nettype == TESTNET)
{
ADD_CHECKPOINT(1, "0e7e25ec4d39a98888e5b7dda643d79eb321802de4bd03686a2936b7a455a7e3");
ADD_CHECKPOINT(10, "37d2c2d9e19f2334135e2ef41184c55f5e5d1c8789a4efcc25bec775a15d783f"); //Hard fork to v8
ADD_CHECKPOINT(20, "6550adca5c4f3194609c4cd719a98fbd70c32c925ac011fd3f5d678c0961f431"); //Hard fork to v9
return true;
}
if (nettype == STAGENET)

View File

@ -371,7 +371,7 @@ namespace nodetool
std::set<std::string> full_addrs;
if (nettype == cryptonote::TESTNET) {
full_addrs.insert("206.189.166.14:11180");
full_addrs.insert("5.255.86.129:11180");
full_addrs.insert("104.236.48.55:11180");
} else {
full_addrs.insert("66.70.218.230:34567");
full_addrs.insert("34.209.48.213:34567");

View File

@ -9123,7 +9123,7 @@ uint64_t wallet2::get_daemon_blockchain_target_height(string &err)
uint64_t wallet2::get_approximate_blockchain_height() const
{
// time of v8 fork
const time_t fork_time = m_nettype == TESTNET ? 1523255371 : 1524622167;
const time_t fork_time = m_nettype == TESTNET ? 1529020649 : 1524622167;
// v8 fork block
const uint64_t fork_block = m_nettype == TESTNET ? 10 : 6969;
// avg seconds per block