|
|
@ -1042,11 +1042,11 @@ static void stratum_gen_work(struct stratum_ctx *sctx, struct work *work) |
|
|
|
case ALGO_FRESH: |
|
|
|
case ALGO_FRESH: |
|
|
|
case ALGO_FUGUE256: |
|
|
|
case ALGO_FUGUE256: |
|
|
|
case ALGO_GROESTL: |
|
|
|
case ALGO_GROESTL: |
|
|
|
//case ALGO_QUBIT:
|
|
|
|
|
|
|
|
diff_to_target(work->target, sctx->job.diff / (256.0 * opt_difficulty)); |
|
|
|
diff_to_target(work->target, sctx->job.diff / (256.0 * opt_difficulty)); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case ALGO_KECCAK: |
|
|
|
case ALGO_KECCAK: |
|
|
|
case ALGO_LYRA2: |
|
|
|
case ALGO_LYRA2: |
|
|
|
|
|
|
|
case ALGO_QUBIT: |
|
|
|
diff_to_target(work->target, sctx->job.diff / (128.0 * opt_difficulty)); |
|
|
|
diff_to_target(work->target, sctx->job.diff / (128.0 * opt_difficulty)); |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|