mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
9 lines
243 B
Python
Executable file
9 lines
243 B
Python
Executable file
#!/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))
|