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

Error submitting block #711

Open
k7n2g opened this issue Nov 21, 2022 · 4 comments
Open

Error submitting block #711

k7n2g opened this issue Nov 21, 2022 · 4 comments

Comments

@k7n2g
Copy link

k7n2g commented Nov 21, 2022

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

@Cideg
Copy link
Contributor

Cideg commented Nov 29, 2022

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

@k7n2g
Copy link
Author

k7n2g commented Dec 3, 2022

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

}

@Cideg
Copy link
Contributor

Cideg commented Dec 6, 2022

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"

@k7n2g
Copy link
Author

k7n2g commented Dec 7, 2022

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

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

No branches or pull requests

2 participants