Neil Booth
f600d3bd87
Fix a couple of issues with 0.9.0
...
Fixes #69
2016-12-12 07:24:00 +09:00
Neil Booth
d36925d459
Prepare 0.9.0a
2016-12-12 00:44:04 +09:00
Neil Booth
f1ea36126c
Fix typo
2016-12-12 00:42:57 +09:00
Neil Booth
72ae3eabfc
Prepare 0.9.0
2016-12-12 00:11:48 +09:00
Neil Booth
957dfb6fb8
Merge branch 'develop'
2016-12-12 00:06:26 +09:00
Neil Booth
1ef6a4d785
Split mempool out into new file.
...
Rework mempool handling
2016-12-12 00:05:42 +09:00
Neil Booth
42868f899c
Merge branch 'develop'
2016-12-10 18:06:30 +09:00
Neil Booth
ed3db731c2
Prepare 0.8.12
2016-12-10 18:06:14 +09:00
Neil Booth
263e88ad57
Tweak request handling
...
Pause serving sessions whose socket buffer is full (anti-DoS)
Serve requests in batches of 8
Don't store the session in the request
RPC has priority 0; every other session at least 1
Periodically consolidate small session groups into 1
2016-12-10 18:06:13 +09:00
Neil Booth
b3b3f047c2
Better columns
2016-12-10 18:06:13 +09:00
Neil Booth
cfb92a139f
Prefer transport.abort()
2016-12-10 13:52:05 +09:00
Neil Booth
c6093639b5
Don't set socket timeout
2016-12-10 13:39:46 +09:00
Neil Booth
792f58fb5d
Merge branch 'develop'
2016-12-10 11:09:18 +09:00
Neil Booth
89d83349e1
Prepare 0.8.11
2016-12-10 11:08:44 +09:00
Neil Booth
d1e314a48b
Show group session count in the groups RPC call
2016-12-10 11:05:57 +09:00
Neil Booth
c181f8df82
Put a try/except around socket.shutdown
2016-12-10 10:43:01 +09:00
Neil Booth
97d1397f2c
Prepare 0.8.10
2016-12-10 09:08:28 +09:00
Neil Booth
6fcb8b0574
Fix cut-n-pasteo
2016-12-10 09:07:08 +09:00
Neil Booth
5b24516a1c
Merge branch 'develop'
2016-12-10 08:56:23 +09:00
Neil Booth
c9035795c7
Prepare 0.8.9
2016-12-10 08:56:05 +09:00
Neil Booth
99d7e65de8
Give sockets a grace period to close
...
Defaults to 15 seconds for now.
Update docs on systemd and process limits.
Fixes #62
2016-12-10 08:52:24 +09:00
Neil Booth
b8239c54d9
Catch UnicodeError in IRC gethostbyname
...
Fixes #68
2016-12-10 08:52:24 +09:00
Neil Booth
c523064632
Improve RPC groups call
...
Show columns correctly for RPC sessions call
2016-12-10 08:52:23 +09:00
Neil Booth
fac3c70c65
Merge branch 'develop'
2016-12-09 22:41:44 +09:00
Neil Booth
e5bda647df
Update version
2016-12-09 22:41:26 +09:00
Neil Booth
9bdad7ad66
Fix column ordering.
2016-12-09 22:40:36 +09:00
Neil Booth
5374eccd16
Merge branch 'develop'
2016-12-09 22:11:49 +09:00
Neil Booth
5f73fa02a3
Prepare 0.8.8
2016-12-09 22:10:59 +09:00
Neil Booth
2a461bd98c
Serve sessions in a priority queue.
...
Add new RPC command requests.
Adjust sessions RPC command to show pending requests.
Only keep first 15 chars in version string.
Set socket timeout
Try more forceful closing of socket
Fixes #67
2016-12-09 22:06:04 +09:00
Neil Booth
1a9e8cdcd4
More work
2016-12-09 08:06:03 +09:00
Neil Booth
53e8398302
Merge branch 'release-0.8.7' into develop
2016-12-09 07:41:48 +09:00
Neil Booth
4839e6bdc6
Merge branch 'release-0.8.7'
2016-12-09 07:41:40 +09:00
Neil Booth
21d1825f09
Prepare 0.8.7
2016-12-09 07:41:24 +09:00
Neil Booth
b23c10696f
Merge branch 'develop' of github.com:kyuupichan/electrumx into develop
2016-12-09 07:38:20 +09:00
Neil
6427f40d75
Merge pull request #64 from bauerj/patch-2
...
Tweak systemd unit file settings
2016-12-09 07:38:08 +09:00
Johann Bauer
337f351b6e
Tweak systemd unit file settings
...
- Set the open file limit to 8192, which should hopefully be enough
- Set the timeout for process termination to 30 minutes. Systemd will send another SIGTERM after 30 minutes and then a SIGKILL after 60 minutes. That should be plenty of time for electrumx to cleanly finish whatever it's doing
2016-12-08 15:12:18 +01:00
Neil Booth
7399452294
Temporary hack to fix initial sync slowdown
2016-12-08 22:47:29 +09:00
Neil Booth
cbb1e504cc
Cache headers.
2016-12-08 06:31:15 +09:00
Neil Booth
e40db63beb
Queue requests, which have a process method.
2016-12-08 00:29:46 +09:00
Neil Booth
e908466e1e
Merge branch 'release-0.8.6' into develop
2016-12-07 19:47:06 +09:00
Neil Booth
b6e7eb3c04
Merge branch 'release-0.8.6'
2016-12-07 19:46:56 +09:00
Neil Booth
2d411ab20a
Prepare 0.8.6
2016-12-07 19:46:45 +09:00
Neil Booth
4e512343be
Fix other JSON bugs introduced in 0.8.5
...
Further clean up the JSON code.
2016-12-07 19:44:36 +09:00
Neil
b8122b9430
Merge pull request #61 from valesi/0.8.5-rpc-fix
...
Update RPC client for JSON rework and add missing arg in json_request_text
2016-12-07 19:13:18 +09:00
Shane Moore
e17a9ee2c7
Update RPC client for JSON rework and add missing arg in json_request_text
...
Fixes #60
2016-12-07 00:25:43 -08:00
Neil Booth
2b1d236b0d
Merge branch 'release-0.8.5' into develop
2016-12-07 08:16:51 +09:00
Neil Booth
82a7ca9dd4
Merge branch 'release-0.8.5'
2016-12-07 08:16:37 +09:00
Neil Booth
b9f28ba9dc
Prepare 0.8.5
2016-12-07 08:16:23 +09:00
Neil Booth
b2e4d32de6
Remove special-casing of all_seeing_eye
2016-12-07 08:11:30 +09:00
Neil Booth
f904ce2f5d
Rework the JSON layer
...
Batch requests are now processed and encoded incrementally.
Their bandwidth usage is also incrementally added, and so overlarge
responses are rejected as soon as they become too large.
JSON text is also more memory efficient than the python data
structures they represent.
2016-12-07 08:11:30 +09:00