electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8babd3e986497ca9564a939cf76f139c263fd40d
parent 608568839e2bbcfddbb796cf9237c9c60978c486
Author: Eagle[TM] <eagletm@mpex.net>
Date:   Sun, 12 Mar 2017 17:01:25 +0100

Update default server list - make more use of DEFAULT_PORTS

Diffstat:
Mlib/network.py | 22+++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/lib/network.py b/lib/network.py @@ -43,24 +43,24 @@ from interface import Connection, Interface from blockchain import Blockchain from version import ELECTRUM_VERSION, PROTOCOL_VERSION -DEFAULT_PORTS = {'t':'50001', 's':'50002'} +DEFAULT_PORTS = DEFAULT_PORTS DEFAULT_SERVERS = { - 'erbium1.sytes.net':{'t':'50001', 's':'50002'}, + 'erbium1.sytes.net':DEFAULT_PORTS, 'ecdsa.net':{'t':'50001', 's':'110'}, - 'gh05.geekhosters.com':{'t':'50001', 's':'50002'}, - 'VPS.hsmiths.com':{'t':'50001', 's':'50002'}, - 'electrum.anduck.net':{'t':'50001', 's':'50002'}, - 'electrum.no-ip.org':{'t':'50001', 's':'50002'}, + 'gh05.geekhosters.com':DEFAULT_PORTS, + 'VPS.hsmiths.com':DEFAULT_PORTS, + 'electrum.anduck.net':DEFAULT_PORTS, + 'electrum.no-ip.org':DEFAULT_PORTS, 'us.electrum.be':DEFAULT_PORTS, - 'electrum.villocq.com':{'t':'50001', 's':'50002'}, - 'us10.einfachmalnettsein.de':{'t':'50001', 's':'50002'}, - 'electrum.trouth.net':{'t':'50001', 's':'50002'}, + 'electrum.villocq.com':DEFAULT_PORTS, + 'us11.einfachmalnettsein.de':DEFAULT_PORTS, + 'electrum.trouth.net':DEFAULT_PORTS, 'Electrum.hsmiths.com':{'t':'8080', 's':'995'}, - 'electrum3.hachre.de':{'t':'50001', 's':'50002'}, + 'electrum3.hachre.de':DEFAULT_PORTS, 'elec.luggs.co':{'t':'80', 's':'443'}, 'btc.smsys.me':{'t':'110', 's':'995'}, - 'btc.mustyoshi.com':{'t':'50001', 's':'50002'}, + 'btc.mustyoshi.com':DEFAULT_PORTS, } def set_testnet():