git://git.novaco.in
/
electrum-nvc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
move synchronous_get to network.py, fix get_balance script
[electrum-nvc.git]
/
scripts
/
peers
1
#!/usr/bin/env python
2
3
from electrum import interface, Interface
4
5
i = Interface()
6
i.start()
7
servers = i.synchronous_get([('server.peers.subscribe',[])])[0]
8
servers = i.parse_servers( servers )
9
print servers