Browse Source

show auto-connect in daemon status

283
ThomasV 10 years ago
parent
commit
e5b6b05482
  1. 6
      electrum

6
electrum

@ -153,13 +153,15 @@ def run_daemon(config):
network = NetworkProxy(s, config)
network.start()
if cmd == 'status':
p = network.get_parameters()
print_json({
'path': network.config.path,
'server': network.get_parameters()[0],
'server': p[0],
'blockchain_height': network.get_local_height(),
'server_height': network.get_server_height(),
'nodes': network.get_interfaces(),
'connected': network.is_connected()
'connected': network.is_connected(),
'auto-connect': p[4],
})
elif cmd == 'stop':
network.stop_daemon()

Loading…
Cancel
Save