Rename Results => NetworkState.

This commit is contained in:
XMRig 2017-09-01 15:35:00 +03:00
parent 9e9cddedc5
commit 8e08df2fd2
9 changed files with 34 additions and 33 deletions

View file

@ -81,13 +81,13 @@ void Api::tick(const Hashrate *hashrate)
}
void Api::tick(const Results &results)
void Api::tick(const NetworkState &network)
{
if (!m_state) {
return;
}
uv_mutex_lock(&m_mutex);
m_state->tick(results);
m_state->tick(network);
uv_mutex_unlock(&m_mutex);
}