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
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
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
Neil Booth
b116040365
Clean up param verification code
2016-12-07 08:11:29 +09:00
Neil Booth
36a06ea2c2
Prepare 0.8.4
2016-12-06 06:40:19 +09:00
Neil Booth
1f1f0f42f8
Remove invalidated history cache on notifications
2016-12-06 06:36:11 +09:00
Neil Booth
643c990684
Revert "Add feature to rate limit connections"
...
This reverts commit a82ab0b075 .
2016-12-05 23:27:36 +09:00
Neil Booth
bc9027094b
Fix environment variable (bauerj)
2016-12-05 06:37:22 +09:00
Neil Booth
be8adbbcd5
Fix some typos.
2016-12-04 23:41:07 +09:00
Neil Booth
ce2aaa542a
Merge branch 'rate_limit' into develop
2016-12-04 21:15:18 +09:00
Neil Booth
a82ab0b075
Add feature to rate limit connections
2016-12-04 21:14:45 +09:00
Neil Booth
5b991e808c
Merge branch 'release-0.8.3' into develop
2016-12-04 12:05:02 +09:00
Neil Booth
3f88bc1ab9
Prepare 0.8.3
2016-12-04 12:04:38 +09:00
Neil Booth
9d336daf71
Merge branch 'session_logs' into develop
2016-12-04 11:59:38 +09:00
Neil Booth
79a9e91994
Handle closing sessions a little differently
...
Move connection type to first flag letter.
All seeing eye is not stale.
2016-12-04 11:57:25 +09:00
Neil Booth
fcf696d3f3
Don't require 2 params for version requests
2016-12-04 10:54:22 +09:00
Neil Booth
d952b530f6
Merge branch 'release-0.8.2' into develop
2016-12-03 23:40:17 +09:00
Neil Booth
9456b75a91
Prepare 0.8.2
2016-12-03 23:39:46 +09:00
Neil Booth
238b9e0285
Process blocks in the executor
...
This should eliminate latency when new blocks come in
and prevent sessions being dropped whilst they are processed.
2016-12-03 23:32:20 +09:00
Neil Booth
ab9d9f7c07
Reduce bandwith usage over the bandwith interval
...
So if e.g. your limit is 10MB per hour, then every minute
your cumulative usage will be reduced by 1/6MB.
2016-12-03 23:32:20 +09:00
Neil Booth
26de3f0261
Prepare 0.8.1
2016-12-03 20:24:53 +09:00
Neil Booth
656f749c70
Add LRU cache for history
2016-12-03 20:20:28 +09:00
Neil Booth
556574640f
IRC encoding fix
2016-12-03 20:19:58 +09:00
Neil Booth
04369dd228
Forcefully drop stale sessions or if shutting down
...
Don't wait for the socket
2016-12-03 18:33:23 +09:00
Neil Booth
aaf0592f52
Fix typo
2016-12-03 15:10:57 +09:00
Neil Booth
e2243ff002
Merge branch 'release-0.8.0' into develop
2016-12-03 14:40:03 +09:00
Neil Booth
33b1ce8f6d
Prepare 0.8.0
2016-12-03 14:39:36 +09:00
Neil Booth
c4e7878407
Add session ID for each session
...
Show it in the logs with each session-specific message.
Show the sessions ID in the sessions list with an L suffix if logging.
Add RPC commands to toggle logging of, and disconnect, a session.
Closes #55
2016-12-03 14:32:09 +09:00
Neil Booth
3d2824218b
Close stale sessions
...
New envvar SESSION_TIMEOUT
A session with no activity is cut off after this time
Fixes #56
2016-12-03 13:06:20 +09:00
Neil Booth
7ff3d105f9
Merge branch 'release-0.7.20' into develop
2016-12-03 11:07:10 +09:00
Neil Booth
7e3ca6926d
Prepare 0.7.20
2016-12-03 11:06:52 +09:00
Neil Booth
c16792fb89
Only wait 30 secsonds on shutdown
2016-12-03 11:03:27 +09:00
Neil Booth
e59279cc08
Reduce message spew on clean shutdown
2016-12-03 11:02:38 +09:00
Neil Booth
625508f5c6
Send no ID for batch request errors
...
Fixes #54
2016-12-03 10:56:55 +09:00
Neil Booth
2edb762b83
Merge branch 'release-0.7.19' into develop
2016-12-02 18:45:04 +09:00
Neil Booth
f1e0676a47
Prepare 0.7.19
2016-12-02 18:44:36 +09:00
Neil Booth
62a531b1d0
Revert "Fix ref leak in mempool updates"
...
This reverts commit 6c95644ae0 .
2016-12-02 18:43:15 +09:00