Skip to content

Commit

Permalink
lyra2v2 100% with more hashrate on some pools
Browse files Browse the repository at this point in the history
if this change breaks your hashrate on the pool, run with --diff 0.5
  • Loading branch information
runestensland committed Aug 17, 2015
1 parent 4e55394 commit 377a6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1175,9 +1175,9 @@ static void stratum_gen_work(struct stratum_ctx *sctx, struct work *work)
case ALGO_FUGUE256:
case ALGO_GROESTL:
case ALGO_KECCAK:
case ALGO_LYRA2v2:
diff_to_target(work->target, sctx->job.diff / (256.0 * opt_difficulty));
break;
case ALGO_LYRA2v2:
case ALGO_LYRA2:
diff_to_target(work->target, sctx->job.diff / (128.0 * opt_difficulty));
break;
Expand Down

0 comments on commit 377a6c8

Please sign in to comment.