maztheman / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
12 stars 5 forks source link

ZcashMinerr::parseJob(): Invalid or unsupported block header version error #10

Open AleksaDjordjic opened 6 years ago

AleksaDjordjic commented 6 years ago

The miner just keeps looping this , i dont know what it means. Can someone help me ? I am using v0.5a AMD Static

[10:15:56][0x0000175c] stratum | Connecting to stratum server equihash.eu.nicehash.com:3357 [10:15:56][0x0000175c] stratum | Connected! [10:15:57][0x0000175c] stratum | Subscribed to stratum server [10:15:57][0x0000175c] miner | Extranonce is 003665a646f6223a00000000d9e59f9f84 [10:15:57][0x0000175c] stratum | Authorized worker 3Hyxdgtoj1qejXm1Vt6qotNhYwXxw3xMhs.2ndPC [10:15:57][0x0000175c] stratum | Target set to 0001e1e1e1e00000000000000000000000000000000000000000000000000000 [10:15:57][0x0000175c] stratum | ZcashMiner::parseJob(): Invalid or unsupported block header version [10:15:57][0x0000175c] stratum | Reconnecting in 3 seconds...

maztheman commented 6 years ago

what is the command line you are using?

AleksaDjordjic commented 6 years ago

nheqminer.exe -l equihash.eu.nicehash.com:3357 -u 3Hyxdgtoj1qejXm1Vt6qotNhYwXxw3xMhs.2ndPC

AleksaDjordjic commented 6 years ago

Wait , now i launched it again and it works .... shows speed reports and receives new jobs ..... this message does not loop anymore ...

Sorry for wasting your time , i guess a 100th relaunch worked but it is using my CPU , how to make it use the GPU ?

Edit : Nvmd , it started looping that message again after 5-10 mins

maztheman commented 6 years ago

nheqminer.exe -l equihash.eu.nicehash.com:3357 -u 3Hyxdgtoj1qejXm1Vt6qotNhYwXxw3xMhs.2ndPC -od 0 -t 0

maztheman commented 6 years ago

the errors happens sometimes due to server sending back corrupted data or something. There is a patch I can do that will ignore that error and allow the job to be added.

AleksaDjordjic commented 6 years ago

Ok , thanks for info

Edit* (sry) : would that make the job unacceptable to the pool and be recognized as stale or something like that result ?

maztheman commented 1 year ago

Very late response: Looks like most stratum clients comment out this if block: https://github.com/maztheman/nheqminer/blob/1c57e7b5efbe84e1c252544b1da970bb8b298a3b/nheqminer/libstratum/ZcashStratum.cpp#L536