Xmrig: Monero v7 PoW change status

Created on 8 Mar 2018  路  38Comments  路  Source: xmrig/xmrig

Monero will change PoW on April 6, that means Monero cryptonight will not compatible with other cryptonight based coins. Also small hashrate drop expected.

You will require update miners to continue mine Monero. As soon as version 2.5 released you can update miners don't need do it on April 6, new version fully compatible with current Monero network.

New miner also can be continue use with other cryptonight coins without changes, I checked ETN, SUMO and ITNS. If you get compatible issues please report it, also you have 2 ways to disable new algorithm:

  1. Use new option "variant": 0 or --variant 0 on each pool. Example:
        {
            "url": "YOUR_POOL:3333",
            "user": "YOUR_WALLET",
            "pass": "x",
            "keepalive": true,
            "nicehash": false,
            "variant": 0
        },
  1. Use xmrig-proxy to override variant option, in proxy config for each pool set variant option. This option will be supported in proxy v2.5, this version currently available in dev branch. Example:
        {
            "url": "YOUR_POOL:3333",
            "user": "YOUR_WALLET",
            "pass": "x",
            "coin": "SUMO",
            "variant": 0
        },

Current progress:

enhancement

Most helpful comment

GRAFT already use v7 network, but original algorithm, so you must use option "variant": 0 on each GRAFT pool. Algorithm detection will not work with this coin.

Example:

{
    "url": "pool.graft.hashvault.pro:7777",
    "user": "WALLET_ADDRESS",
    "pass": "x",
    "keepalive": true,
    "nicehash": false,
    "variant": 0
},

All 38 comments

Is that means when I use xmrig and xmrig-proxy v2.5 before March 28 and it will automatically changed its mining strategy when March 28 Monero hard fork come and after that?

That right, xmrig v2.5 will work before and after hard fork without changes, algorithm will change automatically no need do anything. Actually proxy update is not mandatory, old version continue work, but in v2.5 many new features added.
Thank you.

and that all be nice.... i think need some love and to classic C miner too ;)

Added classic miner to checklist.
Thank you.

Monero v7 implemented in all miners (in dev branches currently) and in classic C miner (classic branch).

Release delayed, AEON will change PoW too https://github.com/xmrig/xmrig/pull/426
Thank you.

Instead of option monero will be added more flexible option variant.
Possible values:

  • -1 Autodetect, should work fine with Monero, AEON and others coins until their network not updated to v7. Used by default.

    • 0 Force use original cryptonight algorithm.

    • 1 Force use new Monero v1 PoW.

Please note, this option applied on each pool separately. When use xmrig-proxy, miner can switch between 0 and 1 on each job.

How often will the new version check which algo to use ? on every work ? what will be the overhead of this checking procedure ? will it have impact on the hashrate ?

Depends of miner, on each platform checking is different, but overhead for this is near zero. When use old algorithm hashrate should be same as before. But new algorithm itself is a few % slower.
Thank you.

Will mining for MoneroV option be added as well?

I don't know what will be use MoneroV, it they will use new PoW with same version with Monero, anything should work fine.
Thank you.

GRAFT already use v7 network, but original algorithm, so you must use option "variant": 0 on each GRAFT pool. Algorithm detection will not work with this coin.

Example:

{
    "url": "pool.graft.hashvault.pro:7777",
    "user": "WALLET_ADDRESS",
    "pass": "x",
    "keepalive": true,
    "nicehash": false,
    "variant": 0
},

Can you build/push a new version of your docker image (https://hub.docker.com/r/xmrig/xmrig/) that contains these changes?

It not my docker image, I'm not related to https://hub.docker.com/r/xmrig/ in any way.
Thank you.

Interesting. Thanks for the reply. I assumed it was yours based on the name. I'll look around for a suitable replacement or create one.

it there a v7 testpool already?

and is there a testnet with v7 also?

On testpool mining works, but my hashrate dropped by half?

@sebseb7 Not sure, latest Monero daemon was use v8 when I last check it, mentioned pool use v7.
@sterkederk Please open separated issue with proper details about your hardware, old and new hashrate.
Thank you.

@xmrig May I ask where you got the information about the necessary changes to the PoW algorithm to support V7?

Reference implementation was submitted by @vtnerd via pull request #426
Thank you.

@xmrig Thanks a lot!

@xmrig thx for some love to classic one...
Implement changes in classic xmrig (C version).

they to have autodetect V7 version already or only first version support from Mar 11?

Since this commit https://github.com/xmrig/xmrig/commit/33944595a2049427a5f19d18e1a475485727d927 V7 supported, autodetect work too.

@xmrig Why some of them have 2 CPU. Xmrig can only recognize and read 1 CPU. How to solve this. Stak mining tools can be identified. But xmrig can't recognize it. There are a lot of problems. Is there a way to solve it

Works fine for me on the testpool. No noticeable change in Hash Rate. Thanks for patching things up early.

@guigeddos i think it can be next to fix... look on https://github.com/xmrig/xmrig/issues/86

@xmrig thx, add by hands in few day and try to check

tim 20180316221500
@xmrig 2.5.0 This is the case? What's the matter

@guigeddos such errors can happen by a lot of reasons, includes troubles with pool. Not issue in this case.
Thank you.

Is that possible to include binary file in the new release for both armv7 and armv8? (rep to 32bit and 64bit)

Binary ARM build is complicated, different platforms and many different hardware especially for ARMv7, build from source for target platform is not too hard.
Thank you.

https://github.com/monero-project/monero/pull/3424 PoW change delayed to around April 6.
Thank you.

I close this issue, use #482 for future details.
Thank you.

If you have plans to mine Monero or other coins in list #482 you should update miner.
Thank you.

qual vers茫o do Xmring esta atualizado com a vers茫o cryptonightv7?

The current master is still 2.4 and many pools are demanding 2.5 because of this bug report. would it be possible to please edit the bug report to say 2.4 as this change was already performed in 2.3
schermafdruk van 2018-08-20 00-46-38

@globeone but current master is v2.6.4 https://github.com/xmrig/xmrig/blob/master/src/version.h#L30
Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gennadicho picture gennadicho  路  32Comments

agentpatience picture agentpatience  路  16Comments

davidtavarez picture davidtavarez  路  15Comments

ibrahimk157 picture ibrahimk157  路  16Comments

MAHDI00032 picture MAHDI00032  路  18Comments