From 0b439baaa06358ed35f020f153e1d3f032993785 Mon Sep 17 00:00:00 2001 From: Javier Smooth Date: Fri, 8 May 2015 02:44:55 -0700 Subject: [PATCH 1/2] restore original p2p connection limit --- src/cryptonote_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index e39c21f..3d713a6 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -88,7 +88,7 @@ #define P2P_LOCAL_WHITE_PEERLIST_LIMIT 1000 #define P2P_LOCAL_GRAY_PEERLIST_LIMIT 5000 -#define P2P_DEFAULT_CONNECTIONS_COUNT 12 +#define P2P_DEFAULT_CONNECTIONS_COUNT 8 #define P2P_DEFAULT_HANDSHAKE_INTERVAL 60 //secondes #define P2P_DEFAULT_PACKET_MAX_SIZE 50000000 //50000000 bytes maximum packet size #define P2P_DEFAULT_PEERS_IN_HANDSHAKE 250 From 2da3e816c0653ecfb1fb0d3ffe3548958273a458 Mon Sep 17 00:00:00 2001 From: Javier Smooth Date: Fri, 8 May 2015 03:13:30 -0700 Subject: [PATCH 2/2] update seed node --- src/p2p/net_node.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index d4496ac..a7fc67a 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -219,7 +219,7 @@ namespace nodetool template bool node_server::init(const boost::program_options::variables_map& vm) { - ADD_HARDCODED_SEED_NODE("195.154.170.196:11180"); + ADD_HARDCODED_SEED_NODE("74.91.30.186:11180"); bool res = handle_command_line(vm); CHECK_AND_ASSERT_MES(res, false, "Failed to handle command line");