Added 250K and 500K offline benchmarks.
This commit is contained in:
parent
837bd1a43c
commit
e3727f01b8
5 changed files with 60 additions and 17 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue