Browse Source

remove ecdsa.org from default servers; too much downtime

283
thomasv 12 years ago
parent
commit
8d9e5a4f2e
  1. 2
      blocks
  2. 2
      get_history
  3. 3
      lib/interface.py
  4. 2
      peers
  5. 2
      watch_address

2
blocks

@ -2,7 +2,7 @@
from electrum import TcpStratumInterface
i = TcpStratumInterface('ecdsa.org', 50001)
i = TcpStratumInterface('electrum.novit.ro', 50001)
i.init_socket()
i.start()
i.send([('blockchain.numblocks.subscribe',[])])

2
get_history

@ -9,7 +9,7 @@ except:
print "usage: get_history <bitcoin_address>"
sys.exit(1)
i = TcpStratumInterface('ecdsa.org', 50001)
i = TcpStratumInterface('electrum.novit.ro', 50001)
i.init_socket()
i.start()
i.send([('blockchain.address.get_history',[addr])])

3
lib/interface.py

@ -24,8 +24,7 @@ from version import ELECTRUM_VERSION
from util import print_error
DEFAULT_TIMEOUT = 5
DEFAULT_SERVERS = [ 'ecdsa.org:50001:t',
'electrum.novit.ro:50001:t',
DEFAULT_SERVERS = [ 'electrum.novit.ro:50001:t',
'electrum.bytesized-hosting.com:50001:t'] # list of default servers
proxy_modes = ['socks4', 'socks5', 'http']

2
peers

@ -2,7 +2,7 @@
from electrum import TcpStratumInterface
i = TcpStratumInterface('ecdsa.org', 50001)
i = TcpStratumInterface('electrum.novit.ro', 50001)
i.init_socket()
i.start()
i.send([('server.peers.subscribe',[])])

2
watch_address

@ -9,7 +9,7 @@ except:
print "usage: watch_address <bitcoin_address>"
sys.exit(1)
i = TcpStratumInterface('ecdsa.org', 50001)
i = TcpStratumInterface('electrum.novit.ro', 50001)
i.init_socket()
i.start()
i.send([('blockchain.address.subscribe',[addr])])

Loading…
Cancel
Save