Added miner uptime to dashboard
WIP SSL/TLS for CC communication and Dashboard
This commit is contained in:
parent
e6f05b3648
commit
1b7b48f6e3
13 changed files with 146 additions and 10 deletions
|
@ -137,6 +137,9 @@ public:
|
|||
|
||||
std::time_t getLastStatusUpdate() const;
|
||||
|
||||
void setUptime(uint64_t uptime);
|
||||
uint64_t getUptime() const;
|
||||
|
||||
std::string toJsonString();
|
||||
rapidjson::Value toJson(rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>& allocator);
|
||||
bool parseFromJson(const rapidjson::Document& document);
|
||||
|
@ -179,6 +182,7 @@ private:
|
|||
uint64_t m_sharesGood;
|
||||
uint64_t m_sharesTotal;
|
||||
uint64_t m_hashesTotal;
|
||||
uint64_t m_uptime;
|
||||
|
||||
uint32_t m_avgTime;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue