Added global uptime and extended connection information for API.

This commit is contained in:
XMRig 2019-05-13 00:11:57 +07:00
parent a000544fdc
commit ffb282a11a
6 changed files with 45 additions and 15 deletions

View file

@ -27,6 +27,7 @@
#include <vector>
#include <stdint.h>
#include "base/kernel/interfaces/IBaseListener.h"
@ -72,6 +73,7 @@ private:
char m_workerId[128];
Httpd *m_httpd;
std::vector<IApiListener *> m_listeners;
uint64_t m_timestamp;
};