Client refactoring.
This commit is contained in:
parent
d57b41c673
commit
be5d609856
6 changed files with 72 additions and 47 deletions
|
@ -32,6 +32,7 @@
|
|||
|
||||
|
||||
#include "api/Api.h"
|
||||
#include "base/tools/Chrono.h"
|
||||
#include "common/log/Log.h"
|
||||
#include "common/net/Client.h"
|
||||
#include "common/net/SubmitResult.h"
|
||||
|
@ -204,7 +205,7 @@ void xmrig::Network::setJob(Client *client, const Job &job, bool donate)
|
|||
|
||||
void xmrig::Network::tick()
|
||||
{
|
||||
const uint64_t now = uv_now(uv_default_loop());
|
||||
const uint64_t now = Chrono::steadyMSecs();
|
||||
|
||||
m_strategy->tick(now);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue