1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-11 09:22:48 -05:00

Merge xmrig v6.4.0 into master

This commit is contained in:
MoneroOcean
2020-10-18 22:04:56 +00:00
109 changed files with 7365 additions and 6359 deletions

View File

@@ -144,6 +144,18 @@ void xmrig::Pools::load(const IJsonReader &reader)
}
uint32_t xmrig::Pools::benchSize() const
{
# ifdef XMRIG_FEATURE_BENCHMARK
if (m_data.size() == 1 && m_data.front().mode() == Pool::MODE_BENCHMARK) {
return m_data.front().benchSize();
}
# endif
return 0;
}
void xmrig::Pools::print() const
{
size_t i = 1;