Fixes and #1.9.3 Preparation

This commit is contained in:
Ben Gräf 2019-04-27 19:56:26 +02:00
parent 8824dec49a
commit a5f1bee515
3 changed files with 5 additions and 2 deletions

View file

@ -94,7 +94,7 @@ void CpuImpl::optimizeParameters(size_t& threadsCount, size_t& hashFactor,
if (algo == Options::ALGO_CRYPTONIGHT_HEAVY || powVariant == POW_XFH) {
maximumReasonableHashFactor = 3;
} else if (getBaseVariant(powVariant) == POW_V2 || getBaseVariant(powVariant) == POW_V4) {
} else if (getBaseVariant(powVariant) == POW_V2 || getBaseVariant(powVariant) == POW_V4 || algo == Options::ALGO_CRYPTONIGHT_EXTREMELITE || algo == Options::ALGO_CRYPTONIGHT_ULTRALITE) {
maximumReasonableHashFactor = 2;
}

View file

@ -75,7 +75,7 @@ DonateStrategy::DonateStrategy(const char *agent, IStrategyListener *listener) :
} else if (Options::i()->algo() == Options::ALGO_CRYPTONIGHT_ULTRALITE) {
url = new Url("donate2.graef.in", 8088, userId, nullptr, false, false, true);
} else if (Options::i()->algo() == Options::ALGO_CRYPTONIGHT_EXTREMELITE) {
url = new Url("donate2.graef.in", 8088, userId, nullptr, false, false, true);
url = new Url("donate2.graef.in", 8188, userId, nullptr, false, false, true);
} else {
url = new Url("donate2.graef.in", 80, userId, nullptr, false, false, true);
}