From fcbd3ce5fc3573e14dcebac3ab7ac44737a95d7a Mon Sep 17 00:00:00 2001 From: chris-belcher Date: Sat, 27 Feb 2021 21:10:28 +0000 Subject: [PATCH] Update tor broadcaster version message --- electrumpersonalserver/server/peertopeer.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/electrumpersonalserver/server/peertopeer.py b/electrumpersonalserver/server/peertopeer.py index ee1165c..cf65d88 100644 --- a/electrumpersonalserver/server/peertopeer.py +++ b/electrumpersonalserver/server/peertopeer.py @@ -17,8 +17,8 @@ ) from electrumpersonalserver.server.jsonrpc import JsonRpcError -PROTOCOL_VERSION = 70015 -DEFAULT_USER_AGENT = '/Satoshi:0.18.0/' +PROTOCOL_VERSION = 70016 +DEFAULT_USER_AGENT = '/Satoshi:0.21.0/' #https://github.com/bitcoin/bitcoin/blob/master/src/protocol.h NODE_NETWORK = 1 @@ -182,8 +182,7 @@ def __init__(self, p2p_message_handler, remote_hostport, self.closed = False def run(self): - services = (NODE_NETWORK | NODE_WITNESS | NODE_BLOOM | - NODE_NETWORK_LIMITED) + services = (NODE_NETWORK | NODE_WITNESS | NODE_NETWORK_LIMITED) st = int(time.time()) nonce = random.getrandbits(64)