mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
daemon status info
This commit is contained in:
parent
2120b1a573
commit
d60dc94e16
1 changed files with 4 additions and 2 deletions
4
electrum
4
electrum
|
@ -262,7 +262,9 @@ if __name__ == '__main__':
|
|||
network.start()
|
||||
if arg == 'status':
|
||||
print_json({
|
||||
'server':network.main_server(),
|
||||
'main_server': network.get_parameters()[0],
|
||||
'height': network.get_local_height(),
|
||||
'nodes': network.get_interfaces(),
|
||||
'connected': network.is_connected()
|
||||
})
|
||||
elif arg == 'stop':
|
||||
|
|
Loading…
Add table
Reference in a new issue