From 15a88600eb20043f147375f217f576d0b146a5b6 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 30 Nov 2016 07:26:34 +0900 Subject: [PATCH 1/2] Upped read buffer limit to 1m bytes This accomodates large tx sends of up to 500k bytes. However they are unlikely to be propogated by your daemon as the default relay limit it imposes is 100K. --- RELEASE-NOTES | 5 +++++ lib/jsonrpc.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 329d4dc..ffe8355 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,3 +1,8 @@ +version 0.7.17 +-------------- + +- upped read buffer limit to 1000000 bytes. + version 0.7.16 -------------- diff --git a/lib/jsonrpc.py b/lib/jsonrpc.py index e11a5af..1cdc5fa 100644 --- a/lib/jsonrpc.py +++ b/lib/jsonrpc.py @@ -101,7 +101,7 @@ class JSONRPC(asyncio.Protocol, LoggedClass): # 1000 are treated as 1000. self.max_send = 0 # If buffered incoming data exceeds this the connection is closed - self.max_buffer_size = 150000 + self.max_buffer_size = 1000000 self.anon_logs = False def peername(self, *, for_log=True): From d3f8ed31c20fab5799b5a2e5b9264e57680b5641 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 30 Nov 2016 07:29:21 +0900 Subject: [PATCH 2/2] 0.7.17 release --- server/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/version.py b/server/version.py index daa5cba..3a2a92c 100644 --- a/server/version.py +++ b/server/version.py @@ -1 +1 @@ -VERSION = "ElectrumX 0.7.16" +VERSION = "ElectrumX 0.7.17"