From 4209b715ebbd5ec01ee4fcc075f1bf16e1a39240 Mon Sep 17 00:00:00 2001 From: wowario Date: Sat, 26 May 2018 09:15:19 +0300 Subject: [PATCH] testnet v9 --- src/checkpoints/checkpoints.cpp | 4 ---- src/cryptonote_config.h | 2 +- src/cryptonote_core/blockchain.cpp | 1 + src/p2p/net_node.inl | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/checkpoints/checkpoints.cpp b/src/checkpoints/checkpoints.cpp index 40c5fbfea..c7daa4da3 100755 --- a/src/checkpoints/checkpoints.cpp +++ b/src/checkpoints/checkpoints.cpp @@ -163,10 +163,6 @@ namespace cryptonote { if (nettype == TESTNET) { - ADD_CHECKPOINT(1, "4acea72fb2e9cb1a697930ebebf67d63c62c4dc711cc0764ba31f9437f908564"); - ADD_CHECKPOINT(10, "91f126cd60861f1801eeedbe6068ac997f09644bc7a3527fbc7457aa254ef399"); - ADD_CHECKPOINT(100, "6b9d737d08707f3361d095a31f78bbb9f828088c92699b0326cde4ea59cd82ac"); - ADD_CHECKPOINT(1000, "c9bed1b23c3c5a5c7cfac3cff786173b65e2cea8005d8ef686b56708281c60cf"); return true; } if (nettype == STAGENET) diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index fbb57fe4a..46eb49b20 100755 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -177,7 +177,7 @@ uint16_t const P2P_DEFAULT_PORT = 11180; uint16_t const RPC_DEFAULT_PORT = 11181; uint16_t const ZMQ_RPC_DEFAULT_PORT = 11182; boost::uuids::uuid const NETWORK_ID = { { -0x11, 0x33, 0xFF, 0x77, 0x61, 0x04, 0x41, 0x61, 0x17, 0x31, 0x00, 0x82, 0x16, 0xA1, 0xA1, 0x11 +0x11, 0x33, 0xFF, 0x77, 0x61, 0x04, 0x41, 0x61, 0x17, 0x31, 0x00, 0x82, 0x16, 0xA7, 0xA4, 0x12 } }; // Bender's daydream std::string const GENESIS_TX = "013c01ff0001ffffffffff1f029b2e4c0281c0b02e7c53291a94d1d0cbff8883f8024f5142ee494ffbbd088071210160eb755f618a2336055dee60f307fe0ded81c5b37b53d310175ca9ee69b0c8ad"; uint32_t const GENESIS_NONCE = 70; diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index b73a90c0f..e941f8d0d 100755 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -105,6 +105,7 @@ static const struct { //{ 1, 1, 0, 1341378000 }, { 7, 1, 0, 1519605000 }, { 8, 10, 0, 1523255371 }, + { 9, 20, 0, 1527315105 }, }; static const uint64_t testnet_hard_fork_version_1_till = ((uint64_t)(1)); diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 17dcd8ef1..0199469ac 100755 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -370,7 +370,7 @@ namespace nodetool { std::set full_addrs; if (nettype == cryptonote::TESTNET) { - full_addrs.insert("167.160.87.144:11180"); + full_addrs.insert("206.189.166.14:11180"); full_addrs.insert("5.255.86.129:11180"); } else { full_addrs.insert("66.70.218.230:34567");