HdacTech / hdac

HDAC Core
GNU General Public License v3.0
35 stars 20 forks source link

ERROR: ProcessNewBlock : CheckBlock FAILED #18

Closed muhajirdev closed 5 years ago

muhajirdev commented 5 years ago

Hi, I try to setup a pool for hdac. Following instruction here https://github.com/Hdactech/nomp/ and tried to

2019-01-21 10:40:13 [Pool]      [hdac] (Thread 1) Submitted Block using submitblock successfully to daemon instance(s)
2019-01-21 10:40:13 [Pool]      [hdac] (Thread 1) Block found: 5b0cd6c208db4ac38f94a32939c5a019547f9a2c0561ecd15603b63e41f6c3e1 by hHsQZfbaSjL7MYGqMR5Qm61q4heHTPJynW
2019-01-21 10:40:13 [Pool]      [hdac] (Thread 1) Share accepted at diff 1/12.77141317 by hHsQZfbaSjL7MYGqMR5Qm61q4heHTPJynW [::ffff:182.253.254.31]

It says the block was found and submitted to the daemon.

But, when I checked my balance. It still zero.

When I checked daemon's debug.log. I got something like this

2019-01-21 09:59:49 ERROR: ProcessNewBlock : CheckBlock FAILED
2019-01-21 09:59:52 ERROR: CheckProofOfWork() : hash doesn't match nBits
2019-01-21 09:59:52 ERROR: CheckBlockHeader() : proof of work failed
2019-01-21 09:59:52 ERROR: ProcessNewBlock : CheckBlock FAILED
2019-01-21 09:59:53 ERROR: CheckProofOfWork() : hash doesn't match nBits
2019-01-21 09:59:53 ERROR: CheckBlockHeader() : proof of work failed
2019-01-21 09:59:53 ERROR: ProcessNewBlock : CheckBlock FAILED
2019-01-21 09:59:54 ERROR: CheckProofOfWork() : hash doesn't match nBits
2019-01-21 09:59:54 ERROR: CheckBlockHeader() : proof of work failed
2019-01-21 09:59:54 ERROR: ProcessNewBlock : CheckBlock FAILED
2019-01-21 10:00:00 ERROR: CheckProofOfWork() : hash doesn't match nBits

more here : https://transfer.sh/9QqqO/debug2.log

I tried with mainnet and testnet. The pool log says block found but I don't get any reward

Related: https://github.com/foxer666/node-open-mining-portal/issues/153

yasielpuig commented 5 years ago

because the default debug level is 1, logging is required after changing the level. please restart daemon with this --> " hdacd hdac -daemon -debug=3 " please send me the debug.log file again.

please check code...(chainparams.cpp line 589) nStartHeightNewHashAlog = 151880;

1 ~ 151879 blocks are Lyra2re2 algorithm,
151880 ~ blocks are skunk algorithm