Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 13 lines (9 sloc) 0.258 kB
#!/usr/bin/env python
from electrum import TcpStratumInterface
i = TcpStratumInterface('ecdsa.org', 50001)
i.init_socket()
i.start()
i.send([('server.peers.subscribe',[])])
while True:
r = i.responses.get(True, 100000000000)
print r.get('result')
Jump to Line
Something went wrong with that request. Please try again.