Commit Graph

848 Commits

Author SHA1 Message Date
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
0a8d560955 Merge branch 'release-0.8.3' 2016-12-04 12:04:53 +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
32076adf55 Merge branch 'release-0.8.2' 2016-12-03 23:40:02 +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
93536c6a10 Merge branch 'release-0.8.1' 2016-12-03 20:25:10 +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
4825fbba17 Merge branch 'release-0.8.0' 2016-12-03 14:39:55 +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
8d9a5c4ff2 Merge branch 'release-0.7.20' 2016-12-03 11:07:18 +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
263031c22b Merge branch 'release-0.7.19' 2016-12-02 18:44:53 +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
Neil Booth
8303bf7d65 Merge branch 'release-0.7.18' into develop 2016-12-02 07:50:11 +09:00
Neil Booth
355dfd4301 Merge branch 'release-0.7.18' 2016-12-02 07:50:01 +09:00
Neil Booth
35f118edc6 Prepare 0.7.18 2016-12-02 07:49:35 +09:00
Neil Booth
7a9e8c7fef Small tweaks to IRC code 2016-12-02 07:45:51 +09:00
Neil
9f90ae049e Merge pull request #53 from valesi/tor
Add IRC option to publish Tor address
2016-12-02 07:33:29 +09:00
Neil Booth
2f9c8dd38a Add a message to the suppressed list
I hope this
fixes #52
2016-12-02 07:25:32 +09:00
Neil Booth
085eaddfeb Merge branch 'mempool' into develop 2016-12-02 07:23:24 +09:00
Neil Booth
6c95644ae0 Fix ref leak in mempool updates 2016-12-02 07:22:30 +09:00
Shane Moore
0edff0056d Add Tor-specific port options for IRC 2016-12-01 03:21:52 -08:00
Shane Moore
33c5bd65aa Fix IRC port bug, more readable 2016-12-01 02:25:21 -08:00
Shane Moore
95c848a720 Add IRC option to publish Tor address 2016-11-30 23:50:20 -08:00
Neil Booth
a412531ccb Fix typos in docs 2016-11-30 21:06:25 +09:00
Neil Booth
95f131e284 Merge branch 'bauerj-rocksdb_close_test' into develop 2016-11-30 07:37:57 +09:00
Neil Booth
b103df5c80 Merge branch 'rocksdb_close_test' of https://github.com/bauerj/electrumx into bauerj-rocksdb_close_test 2016-11-30 07:37:37 +09:00
Neil Booth
1e5b5a8c04 Merge branch 'release-0.7.17' into develop 2016-11-30 07:30:04 +09:00
Neil Booth
0771221e93 Merge branch 'release-0.7.17' 2016-11-30 07:29:38 +09:00
Neil Booth
d3f8ed31c2 0.7.17 release 2016-11-30 07:29:21 +09:00