diff --git a/eth/main.cpp b/eth/main.cpp index abb78c20d..1c553885c 100644 --- a/eth/main.cpp +++ b/eth/main.cpp @@ -547,7 +547,7 @@ int main(int argc, char** argv) string publicIP; string remoteHost; unsigned short remotePort = 30303; - unsigned peers = 5; + unsigned peers = 11; bool bootstrap = false; unsigned networkId = 0; diff --git a/libp2p/Host.h b/libp2p/Host.h index 4cfca7718..78dc50727 100644 --- a/libp2p/Host.h +++ b/libp2p/Host.h @@ -243,7 +243,7 @@ private: std::list> m_connecting; ///< Pending connections. Mutex x_connecting; ///< Mutex for m_connecting. - unsigned m_idealPeerCount = 5; ///< Ideal number of peers to be connected to. + unsigned m_idealPeerCount = 11; ///< Ideal number of peers to be connected to. std::map> m_capabilities; ///< Each of the capabilities we support.