1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 16:05:05 -05:00

Added results statistics to API.

This commit is contained in:
XMRig
2017-09-01 08:02:56 +03:00
parent 1651b041de
commit 9e9cddedc5
21 changed files with 265 additions and 57 deletions

View File

@@ -30,6 +30,7 @@
class ApiState;
class Hashrate;
class Results;
class Api
@@ -40,6 +41,7 @@ public:
static const char *get(const char *url, size_t *size, int *status);
static void tick(const Hashrate *hashrate);
static void tick(const Results &results);
private:
static ApiState *m_state;