Test
This commit is contained in:
@@ -709,7 +709,7 @@ void static BitcoinMiner(CWallet *pwallet)
|
|||||||
i = ((Mining_height + notaryid) % 64);
|
i = ((Mining_height + notaryid) % 64);
|
||||||
delta = sqrt((double)(gpucount - j/3) / 2);
|
delta = sqrt((double)(gpucount - j/3) / 2);
|
||||||
roundrobin_delay += ((delta * i) / 64) - delta;
|
roundrobin_delay += ((delta * i) / 64) - delta;
|
||||||
fprintf(stderr,"delta.%f %f\n",delta,(double)(gpucount - j/3) / 2,(delta * i) / 64);
|
fprintf(stderr,"delta.%f %f %f\n",delta,(double)(gpucount - j/3) / 2,(delta * i) / 64);
|
||||||
}
|
}
|
||||||
fprintf(stderr," <- prev minerids from ht.%d notary.%d gpucount.%d %.2f%% t.%u %d\n",pindexPrev->nHeight,notaryid,gpucount,100.*(double)gpucount/j,(uint32_t)time(NULL),roundrobin_delay);
|
fprintf(stderr," <- prev minerids from ht.%d notary.%d gpucount.%d %.2f%% t.%u %d\n",pindexPrev->nHeight,notaryid,gpucount,100.*(double)gpucount/j,(uint32_t)time(NULL),roundrobin_delay);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user