dvandal / cryptonote-nodejs-pool

Mining pool for all CryptoNote based coins using Cryptonight, Cryptonight Light and Cryptonight Heavy algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error submitting block

k7n2g opened this issue · comments

commented

Error submitting block at height xxxxxx share type: "trusted" - {"message":"Block not accepted","code":-7}

Googled this code 7 but can't find the answer to the problem, the pool is mining against the Derogold 0.7.1 latest code using cn/1 Algo

OS is ubuntu 18.04 on vps with 16 GB RAM and NVME hd

Any help would be most welcome

commented

cn/1 Algo ???????????
Algo change to cryptonight-upx/2
https://github.com/derogold/derogold/releases/tag/v0.6.0

commented

Hi Cideg thanks for the update have changed to this upx2 but got something wrong in conf getting Error
below upgraded scratchpad to mode 2 have i got algo cn/upx2 properly setup. any help appreciated.

new job from 144.91.116.226:5555 diff 25000 algo cn/upx2 height 148907 (1 tx)
[2022-12-03 22:33:47.201] cpu use profile cn/upx2 (4 threads) scratchpad 128 KB
[2022-12-03 22:33:47.204] cpu READY threads 4/4 (8) huge pages 0% 0/4 memory 1024 KB (3 ms)
[2022-12-03 22:33:55.958] cpu rejected (0/1) diff 25000 "Rejected share: invalid result" (60 ms)
[2022-12-03 22:33:57.043] cpu rejected (0/2) diff 25000 "Rejected share: invalid result"

this is config
{
"api": {
"id": null,
"worker-id": null
},
"http": {
"enabled": true,
"host": "127.0.0.1",
"port": 0,
"access-token": null,
"restricted": false
},
"autosave": true,
"background": false,
"colors": true,
"title": true,
"randomx": {
"init": -1,
"init-avx2": -1,
"mode": "false",
"1gb-pages": true,
"rdmsr": true,
"wrmsr": true,
"cache_qos": false,
"numa": true,
"scratchpad_prefetch_mode": 2
},
"cpu": {
"enabled": true,
"huge-pages": true,
"huge-pages-jit": true,
"hw-aes": null,
"priority": null,
"memory-pool": false,
"yield": true,
"asm": true,
"argon2-impl": null,
"argon2": [0, 1, 2, 3],
"cn": [
[1, 0],
[1, 1],
[1, 2],
[1, 3]
],
"cn-heavy": [
[1, 0],
[1, 1],
[1, 2],
[1, 3]
],
"cn-lite": [
[1, 0],
[1, 1],
[1, 2],
[1, 3]
],
"cn-pico": [
[2, 0],
[2, 1],
[2, 2],
[2, 3]
],
"cn/upx2": [
[2, 0],
[2, 1],
[2, 2],
[2, 3]
],
"ghostrider": [
[8, 0],
[8, 1],
[8, 2],
[8, 3]
],
"rx": [-1, -1],
"rx/wow": [0, 1, 2, 3],
"cn-lite/0": "false",
"cn/0": "false",
"rx/arq": "rx/wow",
"rx/keva": "rx/wow"
},
"opencl": {
"enabled": false,
"cache": true,
"loader": null,
"platform": "AMD",
"adl": true
},
"cuda": {
"enabled": false,
"loader": null,
"nvml": true
},
"log-file": null,
"donate-level": 1,
"donate-over-proxy": 1,
"pools": [
{
"algo": "cn/upx2",
"coin": "null",
"url": "144.91.116.226:5555",
"user": "my wallet address",
"rig_id": "my rig",
"pass": "x",
"keepalive": true,
"enabled": true,
"tls-fingerprint": null,
"daemon": false,
"socks5": null,
"self-select": true,
"submit-to-origin": false,
"nicehash": false,
"use_tls": false, /* Set to true if you are using an SSL port */
"pool_weight": 1

    }
],
"retries": 5,
"retry-pause": 5,
"print-time": 60,
"health-print-time": 60,
"dmi": true,
"syslog": false,
"tls": {
    "enabled": true,
    "protocols": null,
    "cert": "cert.pem",
    "cert_key": "cert_key.pem",
    "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

}

commented

do you have the "cryptoforknote-util":
"cryptonight hashing":
correctly adapted to upx/2 ???
looks like fake blob,
the miner thus outputs incorrect hash data. Rejected share: invalid result"

commented

Hi Cideg i am new at the miner i added cryptonight hashing but not sure if this was the correct version and blob size or how th upx2 adaptation should be, hashing is not something i am up on can you help me with this sir