1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-23 14:52:52 -05:00

Handle job notification.

This commit is contained in:
XMRig
2017-06-07 01:19:59 +03:00
parent 1ecee56eb6
commit 4c06d8b080
5 changed files with 37 additions and 2 deletions

View File

@@ -59,7 +59,18 @@ void Network::connect()
}
void Network::onJobReceived(Client *client, const Job &job)
{
}
void Network::onLoginCredentialsRequired(Client *client)
{
client->login(m_options->user(), m_options->pass(), m_agent);
}
void Network::onLoginSuccess(Client *client)
{
}