Skip to content

Commit

Permalink
Update tor broadcaster version message
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-belcher committed Mar 4, 2021
1 parent 7986bd6 commit fcbd3ce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions electrumpersonalserver/server/peertopeer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit fcbd3ce

Please sign in to comment.