mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-23 14:52:52 -05:00
Client refactoring.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user