Added DaemonClient.

This commit is contained in:
XMRig 2019-04-12 03:25:21 +07:00
parent 0d496aaf2f
commit 62012a1a50
20 changed files with 610 additions and 122 deletions

View file

@ -231,8 +231,8 @@ xmrig::Client *xmrig::DonateStrategy::createProxy()
return nullptr;
}
const Client *client = strategy->client();
m_tls = client->hasExtension(IClient::EXT_TLS);
const IClient *client = strategy->client();
m_tls = client->hasExtension(IClient::EXT_TLS);
Pool pool(client->ip(), client->pool().port(), m_userId, client->pool().password(), 0, true, client->isTLS());
pool.setAlgo(client->pool().algorithm());