Browse Source

qubit: fix wrong pool difficulty

hmm... this is weird, should be 256 but make bad shares on pool diff 2
master
Tanguy Pruvot 10 years ago
parent
commit
150d6eb290
  1. 2
      ccminer.cpp

2
ccminer.cpp

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

Loading…
Cancel
Save