Skip to content

Commit

Permalink
default difficulty for lyra2rev2 is now, 256
Browse files Browse the repository at this point in the history
it doesn't require anymore --diff 2
  • Loading branch information
djm34 committed Aug 17, 2015
1 parent 86de857 commit cc7ec55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1149,9 +1149,11 @@ static void stratum_gen_work(struct stratum_ctx *sctx, struct work *work)
diff_to_target(work->target, sctx->job.diff / (256.0 * opt_difficulty));
break;
case ALGO_LYRA2:
case ALGO_LYRA2v2:
diff_to_target(work->target, sctx->job.diff / (128.0 * opt_difficulty));
break;
case ALGO_LYRA2v2:
diff_to_target(work->target, sctx->job.diff / (256.0 * opt_difficulty));
break;
default:
diff_to_target(work->target, sctx->job.diff / opt_difficulty);
}
Expand Down

0 comments on commit cc7ec55

Please sign in to comment.