Skip to content

Commit 52dd050

Browse files
authored
Max Message changed from 4Mb to 800MB
This fixes the oversized transaction issue -Provide extended block chain support (BSD-Improvement Protocol -2) - Smart contract field for data storage.
1 parent b36d4de commit 52dd050

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 4 MB is currently acceptable). */
59-
static const unsigned int MAX_PROTOCOL_MESSAGE_LENGTH = 4 * 1000 * 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;
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)