Can anyone tell me if Spoetnik's CPU miner works in cheat mode? It's giving me pretty good hashrates on my i3 laptop but I'm not sure if any blocks I might find will be accepted. Thanks.
you should be fine when it comes to sending QUALITY work.
there should be NO problem at all finding blocks !
the REAL question though is performance actually better or is it an illusion kind of ? i am not so sure it helps much
let me explain what is happening with cheat mode
if hashing is going to take too long it simply drops the work and gets new work to start hashing on.
so it's not possible to send ANY bad shares or invalid data of any kind.
it will work EXACTLY like the official version of the hashing algo.
how the hashing algo works is by running five different hashing algo's in three rounds..
and what normally happens is in order to build a proper final hash the cycle of what hash algo's get triggered and on what round vary a lot.
here is a sample of what it looks like
gro = 2
_jh = 1
ske = 0
blk = 0
ske = 1
blk = 1
ske = 2
blk = 2
ske = 0
blk = 0
ske = 1
blk = 1
ske = 2
_jh = 2
ske = 1
blk = 1
the quoted info is where i put some logging into the code to watch what was happening while hashing normally..
each three letter code is the different hashing algo's abbreviated to 3 letters.
and each of those numbers are what round the specific hashing algo was triggered.
that is 5 algo's running 3 rounds and there is 2 specific points where it checks to run one algo or the other.
anyway, so what you see logged right away in first line in my quoted sample info is Groestl got triggered on round 3 (the final round)
so that means it had already completed hashing it's way through rounds 1 and 2 and now it hit GRO on round 3.
what i did was change the code so that it asks for new work if the miner detects that Groestl will get run more than once.
because Groestl i think is the hardest hash algo to run and takes the longest to finish.
so the change i shared for testing on my cpu miner topic in my sig simply on some circumstances stops hashing and asks for new work
it does not change the work that gets sent.. does that make any sense ?
Yep, got it. Thank you for the very detailed reply.