priority param value is from 0 (default idle like before) to 5 (highest)
affinity could be enhanced to set multiple cores... todo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
rejects in solo mode often means "generated block is stale" (see Debug.log)
Most of current wallets only reports "rejected" reason without explanations.
So prevent this common error,
you can turn off this gbt feature (height check) with --no-gbt option.
seems to resolve solo mining lock on share.
export also computed solo work diff in api (not perfect)
In high rate algos, throughput should be unsigned...
This fixes keccak, blake and doom problems
And change terminal color of debug lines, to be selectable in putty,
color code is not supported in windows but selection is ok there.
Seems to be djm34 work, i recognize the code style ;)
Code was cleaned/indented and adapted to my fork...
Only usable on the test pool until 16 december 2014!
But use a define in AES to use or not device initial memcpy
I already tried to use everywhere direct device constants
and its not faster for big arrays (difference is small)
also change launch bounds to reduce spills (72 regs)
to check on windows too, could improve the perf... or not
Added to most algos, checkhash function scans a big range
and can find multiple nonces at once if the difficulty is low.
Stop ignoring them, submit second one if found...
Clean the draft code for rc=2 implemented for blake and pentablake
btw... fix the reduced displayed hashrate when a nonce is found...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Tested on x11 which find sometimes 3 nonces in one call,
actually they are ignored because only the biggest was kept...
This commit doesnt fix that, but will allow to enhance shares rate later...
Allow to directly get api data in HTML5
Tested on Chrome... IE>=10 required, not tested
IE11 seems buggy on connection close... todo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>