Browse Source

updating default servers

283
Eagle[TM] 12 years ago
parent
commit
736b72f77f
  1. 5
      lib/interface.py
  2. 2
      scripts/get_history

5
lib/interface.py

@ -28,13 +28,14 @@ DEFAULT_TIMEOUT = 5
DEFAULT_SERVERS = [
#'electrum.bitcoins.sk:50001:t',
#'uncle-enzo.info:50001:t',
#'electrum.bitcoin.cz: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',
'webbtc.net:50001:t',
'electrum.bysh.me:50001:t',
'electrum.pdmc.net:50001:t',
'electrum.no-ip.org:50001:t',
'ecdsa.org:50001:t'
]

2
scripts/get_history

@ -9,7 +9,7 @@ except:
print "usage: get_history <bitcoin_address>"
sys.exit(1)
i = Interface({'server':'webbtc.com:50001:t'})
i = Interface({'server':'electrum.be:50001:t'})
i.start()
h = i.synchronous_get([ ('blockchain.address.get_history',[addr]) ])[0]
for item in h:

Loading…
Cancel
Save