diff --git a/src/net.h b/src/net.h index dc727152a..9d492e267 100644 --- a/src/net.h +++ b/src/net.h @@ -59,9 +59,9 @@ static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 4 * 1000 * 1000; /** Maximum length of strSubVer in `version` message */ static const unsigned int MAX_SUBVERSION_LENGTH = 256; /** Maximum number of automatic outgoing nodes */ -static const int MAX_OUTBOUND_CONNECTIONS = 8; +static const int MAX_OUTBOUND_CONNECTIONS = 20; /** Maximum number of addnode outgoing nodes */ -static const int MAX_ADDNODE_CONNECTIONS = 8; +static const int MAX_ADDNODE_CONNECTIONS = 20; /** -listen default */ static const bool DEFAULT_LISTEN = true; /** -upnp default */