Prepare 1.8.2

This commit is contained in:
Neil Booth 2018-08-09 18:13:57 +09:00
parent 028374ede4
commit 9dff85c027
5 changed files with 16 additions and 8 deletions

View File

@ -8,8 +8,15 @@
should not occur with Python 3.7. should not occur with Python 3.7.
Version 1.8.1 (in development) Version 1.8.2 (09 Aug 2018)
============================== ===========================
* require aiorpcX 0.7.1 which along with an ElectrumX change restores clean
shutdown and flush functionality, particularly during initial sync
* fix `#564`_
Version 1.8.1 (08 Aug 2018)
===========================
* require aiorpcX 0.7.0 which fixes a bug causing silent shutdown of ElectrumX * require aiorpcX 0.7.0 which fixes a bug causing silent shutdown of ElectrumX
* fix `#557`_, `#559`_ * fix `#557`_, `#559`_
@ -206,3 +213,4 @@ bitcoincash:qzxpdlt8ehu9ehftw6rqsy2jgfq4nsltxvhrdmdfpn
.. _#538: https://github.com/kyuupichan/electrumx/issues/538 .. _#538: https://github.com/kyuupichan/electrumx/issues/538
.. _#557: https://github.com/kyuupichan/electrumx/issues/557 .. _#557: https://github.com/kyuupichan/electrumx/issues/557
.. _#559: https://github.com/kyuupichan/electrumx/issues/559 .. _#559: https://github.com/kyuupichan/electrumx/issues/559
.. _#564: https://github.com/kyuupichan/electrumx/issues/564

View File

@ -15,7 +15,7 @@
import os import os
import sys import sys
sys.path.insert(0, os.path.abspath('..')) sys.path.insert(0, os.path.abspath('..'))
VERSION="ElectrumX 1.8.1" VERSION="ElectrumX 1.8.2"
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------

View File

@ -1,4 +1,4 @@
version = 'ElectrumX 1.8.1' version = 'ElectrumX 1.8.2'
version_short = version.split()[-1] version_short = version.split()[-1]
from electrumx.server.controller import Controller from electrumx.server.controller import Controller

View File

@ -80,8 +80,8 @@ class Controller(ServerBase):
'''Start the RPC server and wait for the mempool to synchronize. Then '''Start the RPC server and wait for the mempool to synchronize. Then
start serving external clients. start serving external clients.
''' '''
if not (0, 7) <= aiorpcx_version < (0, 8): if not (0, 7, 1) <= aiorpcx_version < (0, 8):
raise RuntimeError('aiorpcX version 0.7.x required') raise RuntimeError('aiorpcX version 0.7.x required with x >= 1')
env = self.env env = self.env
min_str, max_str = env.coin.SESSIONCLS.protocol_min_max_strings() min_str, max_str = env.coin.SESSIONCLS.protocol_min_max_strings()

View File

@ -1,5 +1,5 @@
import setuptools import setuptools
version = '1.8.1' version = '1.8.2'
setuptools.setup( setuptools.setup(
name='electrumX', name='electrumX',
@ -12,7 +12,7 @@ setuptools.setup(
# "blake256" package is required to sync Decred network. # "blake256" package is required to sync Decred network.
# "xevan_hash" package is required to sync Xuez network. # "xevan_hash" package is required to sync Xuez network.
# "groestlcoin_hash" package is required to sync Groestlcoin network. # "groestlcoin_hash" package is required to sync Groestlcoin network.
install_requires=['aiorpcX>=0.7,<0.8', 'attrs', install_requires=['aiorpcX>=0.7.1,<0.8', 'attrs',
'plyvel', 'pylru', 'aiohttp >= 2'], 'plyvel', 'pylru', 'aiohttp >= 2'],
packages=setuptools.find_packages(include=('electrumx*',)), packages=setuptools.find_packages(include=('electrumx*',)),
description='ElectrumX Server', description='ElectrumX Server',