Implemented CCClient and extended CCServer service

This commit is contained in:
Ben Gräf 2017-10-16 21:38:00 +02:00
parent 003e17d18f
commit 215efcabb8
31 changed files with 1538 additions and 701 deletions

View file

@ -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
@ -28,6 +29,7 @@
#include <inttypes.h>
#include <memory>
#include <time.h>
#include <cc/CCClient.h>
#include "api/Api.h"
@ -186,6 +188,10 @@ void Network::tick()
# ifndef XMRIG_NO_API
Api::tick(m_state);
# endif
# ifndef XMRIG_NO_CC
CCClient::updateNetworkState(m_state);
# endif
}