You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
284 B

#!/usr/bin/env python3
from electrum import set_verbosity
from electrum.network import filter_protocol
import util, json
set_verbosity(False)
servers = util.get_peers()
for k, v in sorted(servers.items(), key=lambda x:x[1].get('version')):
print("%40s"%k, v.get('version'))