Bendr0id / xmrigCC

RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring
GNU General Public License v3.0
312 stars 112 forks source link

Rejected shares. #359

Closed morsine closed 3 years ago

morsine commented 3 years ago

Hello and good evenings! I've compiled xmrigCC according to docs. the app gives no error, however all my shares get rejected. this was only tested with XLA mining.

Bendr0id commented 3 years ago

Did you specify algo: panthera?

Did you try my binaries?

morsine commented 3 years ago

Hi.! I didn't specify the algo, after specifying it like this:

    "pools": [
        {
            "algo": panthera,
            "coin": null,
            "url": "mine.scalaproject.io:3333",
            "user": "replaced_with_wallet_address",
            "pass": "server",
            "rig-id": null,
            "nicehash": false,
            "keepalive": false,
            "enabled": true,
            "tls": false,
            "tls-fingerprint": null,
            "daemon": false,
            "socks5": null,
            "self-select": null
        }

I get this:

[2021-07-03 05:46:47.359] /root/XCC/config.json<offset:1724>: "Invalid value."
[2021-07-03 05:46:47.359] no valid configuration found.

And without specifying an algo I get this:

 * ABOUT        XMRigCC/2.9.4 gcc/8.3.0 (RELEASE)
 * LIBS         libuv/1.40.0 OpenSSL/1.1.1i hwloc/2.4.0
 * HUGE PAGES   supported
 * 1GB PAGES    unavailable
 * CPU          Intel(R) Xeon(R) CPU L5520 @ 2.27GHz (1) 64-bit -AES VM
                L2:0.2 MB L3:8.0 MB 2C/2T NUMA:1
 * MEMORY       0.8/1.0 GB (88%)
 * DONATE       5%
 * ASSEMBLY     auto:none
 * POOL #1      mine.scalaproject.io:3333 algo auto
 * COMMANDS     hashrate, pause, resume, results, connection, quit
[2021-07-03 05:47:25.884]  net      use pool mine.scalaproject.io:3333  95.111.237.231
[2021-07-03 05:47:25.884]  net      new job from mine.scalaproject.io:3333 diff 10000 algo panthera height 241848
[2021-07-03 05:47:25.884]  cpu      use argon2 implementation SSSE3
[2021-07-03 05:47:27.084]  randomx  init dataset algo panthera (2 threads) seed 181cf1ed90062e78...
[2021-07-03 05:47:27.084]  randomx  not enough memory for RandomX dataset
[2021-07-03 05:47:27.183]  randomx  failed to allocate RandomX dataset, switching to slow mode (99 ms)
[2021-07-03 05:47:27.487]  randomx  dataset ready (304 ms)
[2021-07-03 05:47:27.487]  cpu      use profile  panthera  (2 threads) scratchpad 256 KB
[2021-07-03 05:47:27.491]  cpu      READY threads 2/2 (2) huge pages 100% 2/2 memory 512 KB (5 ms)
[2021-07-03 05:48:21.976]  cpu      rejected (0/1) diff 10000 "Rejected share: invalid result" (130 ms)
[2021-07-03 05:48:21.976]  net      mine.scalaproject.io:3333 read error: "end of file"
[2021-07-03 05:48:21.976]  net      no active pools, stop mining

after that all shares get rejected. And yes! Thank you so much! I've tried your binaries and they work great! But hopefully I want to learn what am I doing wrong. according to the Build link, located at https://github.com/Bendr0id/xmrigCC/wiki I followed the Advanced build section of this page, as instructed by https://xmrig.com/docs/miner/build/ubuntu

Thank you so much for your precious time.

Bendr0id commented 3 years ago

It has to be like this in the config:

"algo": "panthera",

the algo needs to be put into "".

But anyways, the old version of gcc might be the reason for that (different optimizations). Please try a gcc-9.

Don't expect a decent hashrate on that machine. It has only 1GB ram and no AES.