Autolykos-GPU-miner
Autolykos-GPU-miner copied to clipboard
Miner Error: Some of expected fields not present in /block/candidate
Hi
I set up the node and miner. However the output seems to give this error:
2020-08-31 17:50:01,770 INFO [main thread] Waiting for block data to be published by node...
2020-08-31 17:50:01,772 ERROR [main thread] Some of expected fields not present in /block/candidate
2020-08-31 17:50:01,772 ERROR [main thread] Block data: {
"MSG" : "AB8F6C28FC99A500A15E9F69583D0126E1F7345804664880C99496E890B914C3",
"B" : 138044468569478798123221394308315099788204054836980398382911928,
"PK" : "0311A4FB0054F7955366C5FCB224A0BD0A9BF19EF38098E37C0245C594B0ADEA97"
}
My nvidia-smi output:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100 Driver Version: 440.100 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla T4 Off | 00000000:00:1E.0 Off | 0 |
| N/A 43C P0 27W / 70W | 7410MiB / 15109MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 49956 C ./auto.out 7399MiB |
+-----------------------------------------------------------------------------+
I've tried every possible configuration and the node seems to be working ok. What could be the issue?
I'm also getting the same output:
2020-09-01 15:18:24,668 INFO [main thread] Waiting for block data to be published by node...
2020-09-01 15:18:24,672 ERROR [main thread] Some of expected fields not present in /block/candidate
2020-09-01 15:18:24,672 ERROR [main thread] Block data: {
"MSG" : "93CD5F7C74BFCC89A5BC2137211987CBAC2C708AA1606C0A6982D7471D399FF5",
"B" : 138044468569478798123221394308315099788204054836980398382911928,
"PK" : "03CB90D844ED8994A283D084891D2AC2B978B482799356310E97FB9C0BD380F2E7"
}
I'm also getting the same output:
2020-09-01 15:18:24,668 INFO [main thread] Waiting for block data to be published by node... 2020-09-01 15:18:24,672 ERROR [main thread] Some of expected fields not present in /block/candidate 2020-09-01 15:18:24,672 ERROR [main thread] Block data: { "MSG" : "93CD5F7C74BFCC89A5BC2137211987CBAC2C708AA1606C0A6982D7471D399FF5", "B" : 138044468569478798123221394308315099788204054836980398382911928, "PK" : "03CB90D844ED8994A283D084891D2AC2B978B482799356310E97FB9C0BD380F2E7" }
Any luck in solving this? I tried different configurations for the node as well as the miner but still getting the same error. Currently I'm trying a released version 3.3.1 instead of the compiled one and reset all the blocks.
Any luck in solving this?
None yet.
Currently I'm trying a released version 3.3.1 instead of the compiled one and reset all the blocks.
Yes I'm also using 3.3.1.
Any luck in solving this?
None yet.
Currently I'm trying a released version 3.3.1 instead of the compiled one and reset all the blocks.
Yes I'm also using 3.3.1.
No luck. Already fully synced but still experiencing the same error.
There seems to be a problem to be pool only according to mhs_sam over at Discord which confuses me because I thought there would be no pool mining in Ergo.
Anyway, the quick fix is to revert to the previous commit and recompile the miner. Currently reverted to commit 1c1f3144732d98578b6a06a2fea92fd9b0259361 and everything seems to be working now.
I tried to checkout this commit and recompile but it fails to compile:
nvcc -O3 -c --std=c++11 --compiler-options -Wall src/bip39/bip39.cc -o src/bip39/bip39.o
nvcc -O3 -c --std=c++11 --compiler-options -Wall src/bip39/util.cc -o src/bip39/util.o
nvcc -O3 -c --compiler-options -Wall src/jsmn.c -o src/jsmn.o
mkdir -p ./lib;
ar rc ./lib/lib.a ./src/mining.o ./src/prehash.o ./src/httpapi.o ./src/cryptography.o ./src/conversion.o ./src/processing.o ./src/easylogging++.o ./src/definitions.o ./src/request.o ./src/bip39/bip39.o ./src/bip39/util.o ./src/jsmn.o
ranlib ./lib/lib.a
nvcc ./src/test.cu ./lib/lib.a -L/usr/local/lib -lcurl -I/usr/local/include -lssl -lcrypto -lnvidia-ml -O3 --std=c++11 \
-gencode arch=compute_30,code=sm_30 -gencode arch=compute_75,code=compute_75 -gencode arch=compute_30,code=compute_30 -DBLOCK_DIM=64 \
-DNONCES_PER_ITER=0x400000 -o test.out
./src/test.cu(149): error: too few arguments in function call
./src/test.cu(152): warning: variable "solFound" was declared but never referenced
./src/test.cu(341): error: too few arguments in function call
./src/test.cu(480): warning: conversion from a string literal to "char *" is deprecated
./src/test.cu(477): warning: variable "pkstr" was declared but never referenced
./src/test.cu(478): warning: variable "pk" was declared but never referenced
2 errors detected in the compilation of "/tmp/tmpxft_0000be77_00000000-9_test.compute_75.cpp1.ii".
make: *** [Makefile:100: testexec] Error 1
any progress on this?
You don't need test.cu, it seems like that's just for building the tests (Which are not the miner). It should have built the miner.exe fine by that point. If not, you can try removing any reference to test.cu from the build script. It will fail to build the second half (test.exe) but the miner should appear. Worked fine for me.
please revert to this commit: https://github.com/ergoplatform/Autolykos-GPU-miner/commit/7b0d424802df5a7442f37ab15226cac205df066c
Using commit https://github.com/ergoplatform/Autolykos-GPU-miner/tree/7b0d424802df5a7442f37ab15226cac205df066c I get error "Generated and received public keys do not match". This is even using Miner.exe -G and copy pasting into config so it should be the correct memonics. Using master I get the same error as reported above.
Update: Thanks to help on discord - Deleted wallet. Restored it with a mnemonic phrase and now it works. Had to use the commit linked by mhssamadani. But it works!
Issue still present.
I am still getting this same error. I deleted the wallet and ran from scratch and waited for sync, like Willburn with the older commit, but this error persists in both cases.
2021-03-26 07:45:55,164 INFO [main thread] Waiting for block data to be published by node... 2021-03-26 07:45:55,165 ERROR [main thread] Some of expected fields not present in /block/candidate 2021-03-26 07:45:55,165 ERROR [main thread] Block data: { "MSG" : "2AA64C57C71494AFA7FCE6282A96420442CE960947244D89E653FBA0F69F71AB", "B" : 299451818453095487050760461252453384651247500367733723092982602, "H" : 453569, "PK" : "02725D4775B2ECAD63E8A2D62DF4647ED7FBA8F0E5066C1E234288ACC8A027818D" }