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
7 years ago
Antti Majakivi
9a9f78030d
fix a typo
Fixes a typo.
8 years ago
Neil Booth
39bcdb1b6a
Require Python 3.5.3
3.5.2 has various socket and API issues affecting peer discovery
Closes #135
8 years ago
Nathan Marley
a03665696c
recommendations from pycodestyle (pep8 style)
8 years ago
Neil Booth
8d58d2a0e7
Clean up shutdown logic and logging
Add RPC "stop" command, and document it.
Fixes the 2nd part of #100
8 years ago
Neil Booth
5cbe878cb8
Move ServerManager to controller.py
rename Controller
8 years ago
Neil Booth
04369dd228
Forcefully drop stale sessions or if shutting down
Don't wait for the socket
8 years ago
Neil Booth
e59279cc08
Reduce message spew on clean shutdown
8 years ago
Neil Booth
2f9c8dd38a
Add a message to the suppressed list
I hope this
fixes #52
8 years ago
Neil Booth
bab0d162de
Merge ServerManager and BlockServer
8 years ago
Neil Booth
a42aa1f49e
Suppress accept_connection2 messages
8 years ago
Neil Booth
33abea50d7
Use our own exception handler
Suppress harmless messages we cannot do anything about
8 years ago
Neil Booth
d85034353f
Remove useless re-raise of cancellation
8 years ago
Neil Booth
a2280bbc93
Clean up futures handling
8 years ago
Neil Booth
ed44c6ab73
Clean up startup procedure
8 years ago
Neil Booth
5c5e90d574
Move BlockServer to more appropriate location
8 years ago
Neil Booth
93d53bdd87
The controller is dead!
8 years ago
Neil Booth
1393f6a030
Move signal handling out of the controller
8 years ago
Neil Booth
6946863879
Add setup.py
Fix electrum_rpc.py
Rename server_main.py to electrumx_server.py
8 years ago
Neil Booth
d2ebb80fac
Extend copyright notice; improve comments
8 years ago
Neil Booth
6711ed0ae8
Clean up initialization of controller
8 years ago
Neil Booth
1084060493
Clean up controller init, and sync on catch up
8 years ago
Neil Booth
334ffdaa4f
Begin work on proper server
8 years ago
Neil Booth
370cceab83
Clean up RPC handling
Remove class
Handle exceptions properly by cancelling tasks
Log what is happening
Generalise send interface
8 years ago
Neil Booth
ca11710fdd
Print balance in query tool
8 years ago
Neil Booth
64b7554b73
Fix some typos
8 years ago
Neil Booth
a3dbc68614
Initial revision
8 years ago