Commit Graph

21 Commits

Author SHA1 Message Date
Neil Booth
0654d96291 Remove logger name from logs 2018-03-08 16:20:38 +09:00
Roman Zeyde
d5d5df54d8 electrum_server: set logging format (#398)
* electrum_server: set logging format

* daemontools: remove 't' multilog argument
2018-03-06 23:30:46 +08:00
Neil Booth
137236712f Add EVENT_LOOP_POLICY environment variable
Based on #215 by JustinTArthur.

- Accept EVENT_LOOP_POLICY of uvloop
- Move initilisation from electrumx_server to controller
- SocksProxy now requires a loop
- Update tests
2017-08-26 14:03:02 +09:00
Antti Majakivi
9a9f78030d fix a typo
Fixes a typo.
2017-06-05 23:09:15 +03:00
Neil Booth
39bcdb1b6a Require Python 3.5.3
3.5.2 has various socket and API issues affecting peer discovery

Closes #135
2017-03-01 07:23:11 +09:00
Nathan Marley
a03665696c recommendations from pycodestyle (pep8 style) 2017-02-07 20:12:50 -08:00
Neil Booth
8d58d2a0e7 Clean up shutdown logic and logging
Add RPC "stop" command, and document it.

Fixes the 2nd part of #100
2017-01-16 19:31:57 +09:00
Neil Booth
5cbe878cb8 Move ServerManager to controller.py
rename Controller
2017-01-02 17:30:32 +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
e59279cc08 Reduce message spew on clean shutdown 2016-12-03 11:02:38 +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
bab0d162de Merge ServerManager and BlockServer 2016-11-23 17:52:08 +09:00
Neil Booth
a42aa1f49e Suppress accept_connection2 messages 2016-11-16 22:50:39 +09:00
Neil Booth
33abea50d7 Use our own exception handler
Suppress harmless messages we cannot do anything about
2016-11-16 22:29:11 +09:00
Neil Booth
d85034353f Remove useless re-raise of cancellation 2016-11-15 20:13:50 +09:00
Neil Booth
a2280bbc93 Clean up futures handling 2016-11-15 20:09:38 +09:00
Neil Booth
ed44c6ab73 Clean up startup procedure 2016-11-09 00:47:49 +09:00
Neil Booth
5c5e90d574 Move BlockServer to more appropriate location 2016-11-08 19:20:13 +09:00
Neil Booth
93d53bdd87 The controller is dead! 2016-11-08 08:29:56 +09:00
Neil Booth
1393f6a030 Move signal handling out of the controller 2016-11-08 00:04:10 +09:00
Neil Booth
6946863879 Add setup.py
Fix electrum_rpc.py
Rename server_main.py to electrumx_server.py
2016-11-05 18:00:03 +09:00