Added global uptime and extended connection information for API.

This commit is contained in:
XMRig
2019-05-13 00:11:57 +07:00
parent 18855bb22b
commit 922d33a2b0
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;
};