Post
Topic
Board Mining (Altcoins)
Re: [ANN] cudaMiner - a new litecoin mining application [Windows/Linux]
by
Diamonds13
on 07/02/2014, 10:21:30 UTC
this tells me that cudaminer gets the difficulty wrong. So I have to compare the code that translates stratum difficulty into hash target.
Code:
if (opt_algo == ALGO_SCRYPT)
diff_to_target(work->target, sctx->job.diff / 65536.0);
else if (opt_algo == ALGO_KECCAK)
diff_to_target(work->target, sctx->job.diff / 256.0);
else
diff_to_target(work->target, sctx->job.diff);

is this the supposed fix? is it working ? I can integrate it if someone confirms it is good.
He said something about that and a sha patch that he poster a few pages ago