Added initial support for per pool algo option (mining code is broken).

This commit is contained in:
XMRig 2019-06-10 20:46:29 +07:00
parent 725c767928
commit d7f42d54ad
18 changed files with 187 additions and 637 deletions

View file

@ -176,7 +176,7 @@ void Workers::start(xmrig::Controller *controller)
m_controller = controller;
const std::vector<xmrig::IThread *> &threads = controller->config()->threads();
m_status.algo = controller->config()->algorithm().algo();
// m_status.algo = controller->config()->algorithm().algo(); // FIXME
m_status.threads = threads.size();
for (const xmrig::IThread *thread : threads) {