1
0

send server height and server lag with daemon

This commit is contained in:
ThomasV
2014-07-25 16:32:19 +02:00
parent 96070246b7
commit af3fd62fd4
5 changed files with 32 additions and 25 deletions

View File

@@ -272,8 +272,9 @@ if __name__ == '__main__':
network.start()
if arg == 'status':
print_json({
'main_server': network.get_parameters()[0],
'height': network.get_local_height(),
'server': network.get_parameters()[0],
'blockchain_height': network.get_local_height(),
'server_height': network.get_server_height(),
'nodes': network.get_interfaces(),
'connected': network.is_connected()
})