Skip to content

Commit 740600b

Browse files
committed
changed to 80 mb max message size
1 parent e3fd760 commit 740600b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/net.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ static const int FEELER_INTERVAL = 120;
5555
static const unsigned int MAX_INV_SZ = 50000;
5656
/** The maximum number of new addresses to accumulate before announcing. */
5757
static const unsigned int MAX_ADDR_TO_SEND = 1000;
58-
/** Maximum length of incoming protocol messages (no message over 800 MB is currently acceptable). */
59-
static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 800 * 1000 * 1000;
58+
/** Maximum length of incoming protocol messages (no message over 80 MB is currently acceptable). */
59+
static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 80 * 1000 * 1000;
6060
/** Maximum length of strSubVer in `version` message */
6161
static const unsigned int MAX_SUBVERSION_LENGTH = 256;
6262
/** Maximum number of automatic outgoing nodes */

0 commit comments

Comments
 (0)