This commit is contained in:
jl777
2017-03-26 12:53:24 +03:00
parent 83f1c673bf
commit b000fa04a6
3 changed files with 49 additions and 3 deletions

View File

@@ -703,11 +703,11 @@ void static BitcoinMiner(CWallet *pwallet)
if ( mids[j] == -1 )
gpucount++;
}
if ( gpucount > j/3 )
if ( gpucount > j/2 )
{
double delta;
i = ((Mining_height + notaryid) % 64);
delta = sqrt((double)gpucount - j/3) / 2.;
delta = sqrt((double)gpucount - j/2) / 2.;
roundrobin_delay += ((delta * i) / 64) - delta;
//fprintf(stderr,"delta.%f %f %f\n",delta,(double)(gpucount - j/3) / 2,(delta * i) / 64);
}