Browse Source

revert pruning flag for default servers (too much complexity)

283
Eagle[TM] 12 years ago
parent
commit
83c008b6f8
  1. 1
      RELEASE-NOTES
  2. 22
      lib/interface.py

1
RELEASE-NOTES

@ -4,7 +4,6 @@
* (Bug) Fix pending address balance on received coins for pruning servers
* (Bug) Fix history command line option to show output again (regression by SPV)
* (Chore) Restore timer for deseeded wallets
* (Chore) Update built-in default server with pruning flag
* (Chore) Add timeout to blockchain headers file download by HTTP
== Lite GUI

22
lib/interface.py

@ -26,13 +26,17 @@ from util import print_error
DEFAULT_TIMEOUT = 5
DEFAULT_SERVERS = [
'electrum.bitcoin.cz:p:50001:t',
'electrum.novit.ro:p:50001:t',
'electrum.be::50001:t',
'electrum.bysh.me::50001:t',
'electrum.pdmc.net:p:50001:t',
'electrum.no-ip.org::50001:t',
'ecdsa.org:p:50001:t'
#'electrum.bitcoins.sk:50001:t',
#'uncle-enzo.info:50001:t',
#'electrum.bitfoo.org:50001:t',
#'webbtc.net:50001:t',
'electrum.bitcoin.cz:50001:t',
'electrum.novit.ro:50001:t',
'electrum.be:50001:t',
'electrum.bysh.me:50001:t',
'electrum.pdmc.net:50001:t',
'electrum.no-ip.org:50001:t',
'ecdsa.org:50001:t'
]
proxy_modes = ['socks4', 'socks5', 'http']
@ -503,8 +507,8 @@ class Interface(threading.Thread):
if not self.servers:
servers_list = {}
for x in DEFAULT_SERVERS:
h,pruning,port,protocol = x.split(':')
servers_list[h] = {'ports':[(protocol,port)], 'pruning':pruning}
h,port,protocol = x.split(':')
servers_list[h] = {'ports':[(protocol,port)]}
else:
servers_list = self.servers

Loading…
Cancel
Save