From 44095676ff853353e5e735cff355bfa2f7e72b0e Mon Sep 17 00:00:00 2001 From: wowario Date: Fri, 15 Jun 2018 01:22:00 +0300 Subject: [PATCH] reset testnet --- src/checkpoints/checkpoints.cpp | 3 +++ src/p2p/net_node.inl | 2 +- src/wallet/wallet2.cpp | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/checkpoints/checkpoints.cpp b/src/checkpoints/checkpoints.cpp index 29acb126c..c09850599 100755 --- a/src/checkpoints/checkpoints.cpp +++ b/src/checkpoints/checkpoints.cpp @@ -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) diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 2ed7ec891..dd06f7ee3 100755 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -371,7 +371,7 @@ namespace nodetool std::set 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"); diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 72af3f2ab..e7ebc64be 100755 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -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