Added 250K and 500K offline benchmarks.

This commit is contained in:
XMRig 2020-11-12 11:15:43 +07:00
parent 837bd1a43c
commit e3727f01b8
No known key found for this signature in database
GPG key ID: 446A53638BE94409
5 changed files with 60 additions and 17 deletions

View file

@ -70,6 +70,16 @@ bool xmrig::Pools::isEqual(const Pools &other) const
}
int xmrig::Pools::donateLevel() const
{
# ifdef XMRIG_FEATURE_BENCHMARK
return benchSize() || (m_benchmark && !m_benchmark->id().isEmpty()) ? 0 : m_donateLevel;
# else
return m_donateLevel;
# endif
}
xmrig::IStrategy *xmrig::Pools::createStrategy(IStrategyListener *listener) const
{
if (active() == 1) {