From e3fd76020472d938472e650a18790ff6a7de4314 Mon Sep 17 00:00:00 2001 From: joshafest Date: Thu, 28 Dec 2017 19:19:31 +0530 Subject: [PATCH 1/2] Bump protocol version --- src/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/version.h b/src/version.h index 6c2dc893..44833b09 100644 --- a/src/version.h +++ b/src/version.h @@ -9,7 +9,7 @@ * network protocol versioning */ -static const int PROTOCOL_VERSION = 70082; +static const int PROTOCOL_VERSION = 70083; //! initial proto version, to be increased after version/verack negotiation static const int INIT_PROTO_VERSION = 209; From 740600b6f85bd8d50d9b3462445d72ac293a0b44 Mon Sep 17 00:00:00 2001 From: joshafest Date: Thu, 28 Dec 2017 22:06:30 +0530 Subject: [PATCH 2/2] changed to 80 mb max message size --- src/net.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net.h b/src/net.h index 28181e2b..4db1249e 100644 --- a/src/net.h +++ b/src/net.h @@ -55,8 +55,8 @@ static const int FEELER_INTERVAL = 120; static const unsigned int MAX_INV_SZ = 50000; /** The maximum number of new addresses to accumulate before announcing. */ static const unsigned int MAX_ADDR_TO_SEND = 1000; -/** Maximum length of incoming protocol messages (no message over 800 MB is currently acceptable). */ -static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 800 * 1000 * 1000; +/** Maximum length of incoming protocol messages (no message over 80 MB is currently acceptable). */ +static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 80 * 1000 * 1000; /** Maximum length of strSubVer in `version` message */ static const unsigned int MAX_SUBVERSION_LENGTH = 256; /** Maximum number of automatic outgoing nodes */