Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cn/r proxy result speed is 0.00 #343

Closed
MRSheikh opened this issue Sep 25, 2019 · 4 comments
Closed

cn/r proxy result speed is 0.00 #343

MRSheikh opened this issue Sep 25, 2019 · 4 comments
Labels

Comments

@MRSheikh
Copy link

MRSheikh commented Sep 25, 2019

hi dears.
i use xmrig-proxy and xmrig miner to test connectivity then i will load it on my network but
when i config xmrig-proxy and xmrig , miner works well and the speed is about 130.0 h/s and the connection to miner is ok, so the proxy side speed is always 0.00 and nothing accepted by nicehash.
below is my config and screenshot.
xmrig-proxy

{
    "access-log-file": null,
    "access-password": null,
    "algo-ext": true,
    "api": {
        "id": null,
        "worker-id": null
    },
    "http": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 0,
        "access-token": null,
        "restricted": true
    },
    "background": false,
    "bind": [
        {
            "host": "0.0.0.0",
            "port": 3333,
            "tls": false
        },
        {
            "host": "::",
            "port": 3333,
            "tls": false
        }
    ],
    "colors": true,
    "custom-diff": 0,
    "donate-level": 0,
    "log-file": null,
    "mode": "nicehash",
    "pools": [
        {
            "algo": "cn/r",
            "url": "stratum+tcp://cryptonightr.usa.nicehash.com:3375",
            "user": "wallet_address",
            "pass": "x",
            "rig-id": null,
            "keepalive": true,
            "enabled": true,
            "tls": false,
            "tls-fingerprint": null,
            "daemon": false
        }
    ],
    "retries": 2,
    "retry-pause": 1,
    "reuse-timeout": 0,
    "tls": {
        "protocols": null,
        "cert": null,
        "cert_key": null,
        "ciphers": null,
        "ciphersuites": null,
        "dhparam": null
    },
    "user-agent": null,
    "syslog": false,
    "verbose": false,
    "watch": true,
    "workers": true
}

xmrig miner

{
    "api": {
        "id": null,
        "worker-id": null
    },
    "http": {
        "enabled": false,
        "host": "127.0.0.1",
        "port": 0,
        "access-token": null,
        "restricted": true
    },
    "autosave": true,
    "version": 1,
    "background": false,
    "colors": true,
    "randomx": {
        "init": -1,
        "numa": true
    },
    "cpu": {
        "enabled": true,
        "huge-pages": true,
        "hw-aes": null,
        "priority": null,
        "asm": true,
        "argon2-impl": null,
        "argon2": [0, 1, 2, 3],
        "cn": [
            [1, 0],
            [1, 2]
        ],
        "cn-heavy": [
            [1, 0]
        ],
        "cn-lite": [
            [1, 0],
            [1, 2],
            [1, 1]
        ],
        "cn-pico": [
            [2, 0],
            [2, 1],
            [2, 2],
            [2, 3]
        ],
        "cn/gpu": [0, 1, 2, 3],
        "rx": [0, 2],
        "rx/wow": [0, 2, 1],
        "cn/0": false,
        "cn-lite/0": false
    },
    "donate-level": 1,
    "donate-over-proxy": 1,
    "log-file": null,
    "pools": [
        {
            "algo": "cn/r",
            "url": "stratum+tcp://127.0.0.1:3333",
            "user": "",
            "pass": "x",
            "rig-id": null,
            "nicehash": true,
            "keepalive": true,
            "enabled": true,
            "tls": false,
            "tls-fingerprint": null,
            "daemon": false
        }
    ],
    "print-time": 60,
    "retries": 5,
    "retry-pause": 5,
    "syslog": false,
    "user-agent": null,
    "watch": true
}

this is screenshot

@xmrig
Copy link
Owner

xmrig commented Sep 25, 2019

  1. "mode": "simple", it not possible have 2 nicehash proxy in chain, xmrig-proxy itself a nicehash proxy too.
  2. Proxy (same as pool) don't know miner hashrate, it calculated by submitted shares, nicehash.com use high diff, slow worker will submit shares rare, so hasrate on proxy/nicehash.com side will be accurate only for long periods of time (hours).
    Thank you.

@xmrig xmrig added the question label Sep 25, 2019
@MRSheikh
Copy link
Author

so you mean my config is ok
and when i load it on my 200 node lan, it will work well for some hours???

@xmrig
Copy link
Owner

xmrig commented Sep 25, 2019

No you must change mode option to simple, otherwise all your shares will be rejected, nicehash.com is not pool, it proxy too.
Thank you.

@MRSheikh
Copy link
Author

thanks a lot.
that's fine.
i changed mode option to simple and for each miner "nicehash": true,
so xmrig-proxy find new job and accepted too.

thanks for your attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants