XMRig-for-Android / xmrig-for-android

⛏Mine Monero from your android device
MIT License
141 stars 34 forks source link

Not recognizing algo setting, connect error #126

Open bhultin-dev opened 2 years ago

bhultin-dev commented 2 years ago

Hi, I am trying to mine Dero and am having 2 issues. First is the pool algorithm is astrobwt/v2, but the logs so the algo as auto. Second is I am getting a pool connect error "Invalid wallet address", however I mine to the specified wallet on 2 other miners using XMRig on windows. Below is my config settings. Thanks.

{
    "autosave": true,
    "cpu": true,
    "opencl": false,
    "cuda": false,
    "pools": [
        {
            "algo": "astrobwt/v2",
            "coin": "DERO_HE",
            "url": "[192.168.0.2:10100](http://192.168.0.2:10100/)",
            "user": "dero1qyfejcqq0j0sdyleqqdnkr8rcj6lxt3u7cjxvppfzmsmppcjnxu9sqgp25g2r",
            "daemon": true,
            "wss": true
        }
    ]
}
bhultin-dev commented 2 years ago

I was able to pull the config.json actually used by the app (/data/user/0/com.xmrigforandroid/files/config.json) and the algo and coin fields have been changed to null.

{
    "api": {
        "id": null,
        "worker-id": null
    },
    "http": {
        "enabled": true,
        "host": "127.0.0.1",
        "port": 50080,
        "access-token": "XMRigForAndroid",
        "restricted": false
    },
    "autosave": true,
    "background": false,
    "colors": true,
    "title": true,
    "randomx": {
        "init": -1,
        "init-avx2": -1,
        "mode": "auto",
        "1gb-pages": false,
        "rdmsr": true,
        "wrmsr": false,
        "cache_qos": false,
        "numa": true,
        "scratchpad_prefetch_mode": 1
    },
    "cpu": {
        "enabled": true,
        "huge-pages": true,
        "huge-pages-jit": false,
        "hw-aes": null,
        "priority": null,
        "memory-pool": false,
        "yield": true,
        "argon2-impl": null,
        "astrobwt-max-size": 550,
        "astrobwt-avx2": false,
        "argon2": [0, 1, 2, 3, 4, 5, 6, 7],
        "astrobwt": [0, 1, 2, 3, 4, 5, 6, 7],
        "cn": [0, 1, 2, 3, 4, 5, 6, 7],
        "cn-heavy": [0, 1, 2, 3, 4, 5, 6, 7],
        "cn-lite": [0, 1, 2, 3, 4, 5, 6, 7],
        "cn-pico": [0, 1, 2, 3, 4, 5, 6, 7],
        "cn/upx2": [0, 1, 2, 3, 4, 5, 6, 7],
        "ghostrider": [
            [8, 0],
            [8, 1],
            [8, 2],
            [8, 3],
            [8, 4],
            [8, 5],
            [8, 6],
            [8, 7]
        ],
        "rx": [0, 1, 2, 3, 4, 5, 6, 7],
        "rx/wow": [0, 1, 2, 3, 4, 5, 6, 7],
        "cn-lite/0": false,
        "cn/0": false,
        "rx/arq": "rx/wow",
        "rx/keva": "rx/wow"
    },
    "log-file": null,
    "donate-level": 1,
    "donate-over-proxy": 1,
    "pools": [
        {
            "algo": null,
            "coin": null,
            "url": "[192.168.0.2:10100](http://192.168.0.2:10100/)",
            "user": "dero1qyfejcqq0j0sdyleqqdnkr8rcj6lxt3u7cjxvppfzmsmppcjnxu9sqgp25g2r",
            "enabled": true,
            "tls": false,
            "tls-fingerprint": null,
            "daemon": true,
            "socks5": null,
            "daemon-poll-interval": 1000,
            "daemon-zmq-port": -1
        }
    ],
    "retries": 5,
    "retry-pause": 5,
    "print-time": 60,
    "syslog": false,
    "tls": {
        "enabled": false,
        "protocols": null,
        "cert": null,
        "cert_key": null,
        "ciphers": null,
        "ciphersuites": null,
        "dhparam": null
    },
    "dns": {
        "ipv6": false,
        "ttl": 30
    },
    "user-agent": null,
    "verbose": 0,
    "watch": true,
    "pause-on-battery": false,
    "pause-on-active": false
}
garrylachman commented 2 years ago

XMRig must be updated to v6.17.0, i will do it soon...

Dero HE fork support (astrobwt/v2 algorithm). - Added in 6.17.0

Thanks for report