diff --git a/electrumx/server/controller.py b/electrumx/server/controller.py index 1587b19..8dc6b0d 100644 --- a/electrumx/server/controller.py +++ b/electrumx/server/controller.py @@ -81,8 +81,8 @@ class Controller(ServerBase): '''Start the RPC server and wait for the mempool to synchronize. Then start serving external clients. ''' - if not (0, 6) <= aiorpcx_version < (0, 7): - raise RuntimeError('ElectrumX requires aiorpcX version 0.6.x') + if not (0, 6, 2) <= aiorpcx_version < (0, 7): + raise RuntimeError('aiorpcX version 0.6.x with x>=2 required') env = self.env min_str, max_str = env.coin.SESSIONCLS.protocol_min_max_strings() diff --git a/setup.py b/setup.py index 2a1a11e..86c94a2 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setuptools.setup( # "blake256" package is required to sync Decred network. # "xevan_hash" package is required to sync Xuez network. # "groestlcoin_hash" package is required to sync Groestlcoin network. - install_requires=['aiorpcX >= 0.6.0', 'aiorpcX < 0.7.0', 'attrs>=15', + install_requires=['aiorpcX >= 0.6.2', 'aiorpcX < 0.7.0', 'attrs>=15', 'plyvel', 'pylru', 'aiohttp >= 2'], packages=setuptools.find_packages(include=('electrumx*',)), description='ElectrumX Server',