From 67478d4a4cb1f469912b64ebaa0d719fe3ab0338 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 25 Mar 2017 19:06:21 +0200 Subject: [PATCH] Test --- src/miner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 1cb149766..ac1ceff3d 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -707,9 +707,9 @@ void static BitcoinMiner(CWallet *pwallet) { double delta; i = ((Mining_height + notaryid) % 64); - delta = sqrt((double)(gpucount - j/3) / 2); + delta = sqrt((double)gpucount - j/3); roundrobin_delay += ((delta * i) / 64) - delta; - fprintf(stderr,"delta.%f %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); }