Implemented CCClient and extended CCServer service
This commit is contained in:
parent
003e17d18f
commit
215efcabb8
31 changed files with 1538 additions and 701 deletions
|
@ -5,6 +5,7 @@
|
|||
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
||||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
||||
* Copyright 2016-2017 XMRig <support@xmrig.com>
|
||||
* Copyright 2017- BenDr0id <ben@graef.in>
|
||||
*
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
@ -22,6 +23,7 @@
|
|||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include <cc/CCClient.h>
|
||||
|
||||
|
||||
#include "api/Api.h"
|
||||
|
@ -197,4 +199,8 @@ void Workers::onTick(uv_timer_t *handle)
|
|||
# ifndef XMRIG_NO_API
|
||||
Api::tick(m_hashrate);
|
||||
# endif
|
||||
|
||||
# ifndef XMRIG_NO_CC
|
||||
CCClient::updateHashrate(m_hashrate);
|
||||
# endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue