Xmrig: Critical bug with Minergate pool and variant 2

Created on 18 Oct 2018  路  19Comments  路  Source: xmrig/xmrig

image

The miner is not respecting variant 2 causing rejection!

bug

Most helpful comment

Good news electricity is come back.

All 19 comments

Algo cn/2 try please

./xmrig -a cryptonight-lite
or
./xmrig -a cryptonight-heavy

unable to open /home/dimkers/xmrig/build/config.json: no such file or directory
No valid configuration found. Exiting.

if ./xmrig -a cn/2
http://dl3.joxi.net/drive/2018/10/18/0025/3522/1678786/86/6c3fd65d9d.jpg

if ./xmrig -a cn/2

not working -( still cn/1

not working -( still cn/1

Do you mean on pool?

new job from xmr.pool.minergate.com:45700 diff 1063 algo cn/1
try algo "cn/2", try "variant":2 but all new job has algo cn/1.
on original minergate gui software all working fine.

any suggestions?

I haven't.

can you try on other pool(not minergate)?

  • POOL #1 spool.minexmr.com:4444 variant 2
    f..ck. Whats wrong with minergate ? -(

problem with detection of connection`s variant maybe?

https://github.com/xmrig/xmrig/blob/master/src/common/net/Pool.cpp#L352

The bug is in this line, just change to Variant_2 and recompile the code!

YES!
change in code
m_algorithm.setVariant(m_port == 45700 ? VARIANT_1 : VARIANT_0);
to
m_algorithm.setVariant(m_port == 45700 ? VARIANT_2 : VARIANT_0);
recompil and miner work!
http://joxi.ru/Y2LMN8YT9D6B9A

Thanks!

You can try with IP address instead domain name (xmr.pool.minergate.com).

https://minergate.com/blog/critical-bug-found-in-the-xmrig-miner/

I will make new releases as soon as possible, right now I can't, unexpected power outage in my location. As temporary solution use IP address instead of domain name as mentioned above.
Thank you.

@0xc0d32 I merge your PRs, as quick emergency fix it ok.
Thank you.

Good news electricity is come back.

Thank you! Thanks for the speed hehehe, I'll close this issue!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

agentpatience picture agentpatience  路  16Comments

pikomule picture pikomule  路  23Comments

agentpatience picture agentpatience  路  58Comments

lost-bro picture lost-bro  路  25Comments

worm001 picture worm001  路  15Comments