Add version to the getinfo result (#471)

This commit is contained in:
John L. Jegutanis 2018-05-18 20:16:02 +03:00 committed by Neil
parent 9877e1f846
commit c813918b8b

View File

@ -396,6 +396,7 @@ class Controller(ServerBase):
'''A one-line summary of server state.'''
group_map = self._group_map()
return {
'version': VERSION,
'daemon': self.daemon.logged_url(),
'daemon_height': self.daemon.cached_height(),
'db_height': self.bp.db_height,