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.
9 lines
243 B
9 lines
243 B
#!/usr/bin/env python3
|
|
|
|
from electrum import set_verbosity
|
|
from electrum.network import filter_version
|
|
import util, json
|
|
set_verbosity(False)
|
|
|
|
servers = filter_version(util.get_peers())
|
|
print(json.dumps(servers, sort_keys = True, indent = 4))
|
|
|