diff --git a/net/conn/conn.go b/net/conn/conn.go index ba9a9c570..e79e8283d 100644 --- a/net/conn/conn.go +++ b/net/conn/conn.go @@ -21,8 +21,8 @@ const ( // ChanBuffer is the size of the buffer in the Conn Chan ChanBuffer = 10 - // MaxMessageSize is the size of the largest single message - MaxMessageSize = 1 << 20 + // MaxMessageSize is the size of the largest single message. (4MB) + MaxMessageSize = 1 << 22 // HandshakeTimeout for when nodes first connect HandshakeTimeout = time.Second * 5