Skip to content

Commit

Permalink
- Added workaround for nicehash.com if you use cryptonightv7.<region>…
Browse files Browse the repository at this point in the history
….nicehash.com option variant=1 will be set automatically.
  • Loading branch information
xmrig committed Apr 22, 2018
1 parent aa04c59 commit 7f0e4d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# v2.6.1
- Fixed critical bug, in some cases miner was can't recovery connection and switch to failover pool, version 2.5.2 and v2.6.0-beta1 affected.
- [#499](https://github.com/xmrig/xmrig/issues/499) IPv6 support disabled for internal HTTP API.
- Added workaround for nicehash.com if you use `cryptonightv7.<region>.nicehash.com` option `variant=1` will be set automatically.

# v2.6.0-beta1
- [#476](https://github.com/xmrig/xmrig/issues/476) **Added Cryptonight-Heavy support for Sumokoin and Haven Protocol ASIC resistance fork.**
Expand Down
4 changes: 4 additions & 0 deletions src/net/Url.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ void Url::adjust(int algo)
if (strstr(m_host, ".nicehash.com")) {
m_keepAlive = false;
m_nicehash = true;

if (strstr(m_host, "cryptonightv7.")) {
m_variant = xmrig::VARIANT_V1;
}
}

if (strstr(m_host, ".minergate.com")) {
Expand Down

0 comments on commit 7f0e4d1

Please sign in to comment.