mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
11 lines
242 B
Python
Executable file
11 lines
242 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
from electrum import Interface
|
|
|
|
i = Interface({'server':'electrum.novit.ro:50001:t'})
|
|
i.start()
|
|
i.send([('server.peers.subscribe',[])])
|
|
|
|
while True:
|
|
r = i.responses.get(True, 100000000000)
|
|
print r.get('result')
|