We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9420723 commit cf18326Copy full SHA for cf18326
src/net.h
@@ -43,8 +43,8 @@ static const int TIMEOUT_INTERVAL = 20 * 60;
43
static const unsigned int MAX_INV_SZ = 50000;
44
/** The maximum number of new addresses to accumulate before announcing. */
45
static const unsigned int MAX_ADDR_TO_SEND = 1000;
46
-/** Maximum length of incoming protocol messages (no message over 2 MiB is currently acceptable). */
47
-static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 2 * 1024 * 1024;
+/** Maximum length of incoming protocol messages (no message over 4 MB is currently acceptable). */
+static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 4 * 1000 * 1000;
48
/** Maximum length of strSubVer in `version` message */
49
static const unsigned int MAX_SUBVERSION_LENGTH = 256;
50
/** -listen default */
0 commit comments