@ -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',[])])
@ -9,7 +9,7 @@ except:
print "usage: get_history <bitcoin_address>"
sys.exit(1)
i.send([('blockchain.address.get_history',[addr])])
@ -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']
i.send([('server.peers.subscribe',[])])
print "usage: watch_address <bitcoin_address>"
i.send([('blockchain.address.subscribe',[addr])])