diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2014-09-09 09:10:30 -0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-15 15:54:24 +0200 |
commit | ee1bacc64f6e9ae05354c2646818737b18a08401 (patch) | |
tree | dc1379d17d2025c904bf7e3ec672f4d220008333 /src/p2p | |
parent | Create testnet data dir if necessary (diff) | |
download | monero-ee1bacc64f6e9ae05354c2646818737b18a08401.tar.xz |
Add testnet seed nodes
Diffstat (limited to 'src/p2p')
-rw-r--r-- | src/p2p/net_node.inl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 753af7321..9655a6176 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -241,7 +241,14 @@ namespace nodetool template<class t_payload_net_handler> bool node_server<t_payload_net_handler>::init(const boost::program_options::variables_map& vm, bool testnet) { - if (!testnet) { + if (testnet) + { + ADD_HARDCODED_SEED_NODE("107.152.187.202:28080"); + ADD_HARDCODED_SEED_NODE("197.242.158.240:28080"); + ADD_HARDCODED_SEED_NODE("107.152.130.98:28080"); + } + else + { ADD_HARDCODED_SEED_NODE("62.210.78.186:18080"); ADD_HARDCODED_SEED_NODE("195.12.60.154:18080"); ADD_HARDCODED_SEED_NODE("54.241.246.125:18080"); @@ -253,8 +260,6 @@ namespace nodetool ADD_HARDCODED_SEED_NODE("107.178.112.126:18080"); ADD_HARDCODED_SEED_NODE("107.158.233.98:18080"); ADD_HARDCODED_SEED_NODE("64.22.111.2:18080"); - } else { - m_network_id.data[0] += 1; } bool res = handle_command_line(vm, testnet); |