Deadline Mismatch When Solo Mining
Closed this issue · 5 comments
Version 1.7.8 does not appear to work for solo mining, following is output:
17:44:21 [INFO] CPU-buffer=4(+4), GPU-buffer=0(+0)
17:44:21 [INFO] new block: height=269190, scoop=2062
17:44:41 [ERROR] submit: deadlines mismatch, height=269190, account=9862554934389996600, nonce=12844834576187012318, deadline_miner=24094805, deadline_pool=31062977278
17:44:42 [ERROR] submit: deadlines mismatch, height=269190, account=9862554934389996600, nonce=12844834576187009047, deadline_miner=15861045, deadline_pool=58667066707
17:44:43 [ERROR] submit: deadlines mismatch, height=269190, account=9862554934389996600, nonce=12844834576187007027, deadline_miner=6706295, deadline_pool=56581487925
17:44:49 [INFO] round finished: roundtime=27490ms, speed=9.34MiB/s
17:48:49 [INFO] HDD, wakeup!
17:48:58 [INFO] new block: height=269191, scoop=134
17:49:20 [ERROR] submit: deadlines mismatch, height=269191, account=9862554934389996600, nonce=12844834576187009525, deadline_miner=9921224, deadline_pool=18360108699
17:49:22 [ERROR] submit: deadlines mismatch, height=269191, account=9862554934389996600, nonce=12844834576186985402, deadline_miner=5228619, deadline_pool=53977765521
I have this issue as well. Looks related to #64 and #70. Unfortunately @JohnnyFFM said they couldn't fix it in 2020, so the hope for it being fixed in 2021 is slim. The recommended fix is to go back to 1.7.6. Someone found a possible cause in the code in #64 so that might be a starting point. At this point the best solution is probably to fork and investigate.
seems like the serialisation of the passphrase is bugged. can you try something odd: add a + after all words except the last.
my secret pass phrase -> my+ secret+ pass+ phrase
another test would be no space after + : my+secret+pass+phrase
just a shot in the dark, let me know :-)
Hi, this has been fixed in master branch. If I find some time, I'll create a release.
It took only two years to fix it:) Thank you, we reuse scavenger in BTDEX so it will help to add solo mining in it
Awesome @JohnnyFFM. 👏