electrum-personal-server

Maximally lightweight electrum server for a single user
git clone https://git.parazyd.org/electrum-personal-server
Log | Files | Refs | README

commit fcbd3ce5fc3573e14dcebac3ab7ac44737a95d7a
parent 7986bd66635cbabcb2dc135aebd7612ebdb7efbe
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Sat, 27 Feb 2021 21:10:28 +0000

Update tor broadcaster version message

Diffstat:
Melectrumpersonalserver/server/peertopeer.py | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/electrumpersonalserver/server/peertopeer.py b/electrumpersonalserver/server/peertopeer.py @@ -17,8 +17,8 @@ from electrumpersonalserver.server.socks import ( ) 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 @@ class P2PProtocol(object): 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)