bump min protocol version

This commit is contained in:
Alex Grintsvayg 2020-01-20 12:53:10 -05:00
parent 1d5e553f9c
commit 8d28bb5a66
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ class ClientSession(BaseClientSession):
class Network:
PROTOCOL_VERSION = __version__
MINIMUM_REQUIRED = (0, 53, 2)
MINIMUM_REQUIRED = (0, 54, 0)
def __init__(self, ledger):
self.ledger = ledger

View file

@ -773,7 +773,7 @@ class LBRYSessionManager(SessionManager):
class LBRYElectrumX(SessionBase):
"""A TCP server that handles incoming Electrum connections."""
PROTOCOL_MIN = (0, 52, 0)
PROTOCOL_MIN = (0, 54, 0)
PROTOCOL_MAX = (0, 99, 0)
max_errors = math.inf # don't disconnect people for errors! let them happen...
session_mgr: LBRYSessionManager