From 59d984a09ec82431d3a81c0f22f79dea57abc7f7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 19 Mar 2016 18:53:14 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index c51d36178..a5cd5e904 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -727,11 +727,11 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int } else if ( bp->hdrsi > starti && bp->hdrsi <= starti+range ) { - max = sqrt(bp->n) - (bp->n/coin->MAXBUNDLES)*(bp->hdrsi - starti); - if ( max > 500 ) + max = bp->n;//sqrt(bp->n) - (bp->n/coin->MAXBUNDLES)*(bp->hdrsi - starti); + /*if ( max > 500 ) max = 500; else if ( max < 10 ) - max = 10; + max = 10;*/ counter = iguana_bundleissue(coin,bp,max,timelimit); //if ( 0 && bp->hdrsi == starti ) printf("ITERATE.%d max.%d bundle.%d h.%d n.%d r.%d s.%d F.%d T.%d counter.%d\n",bp->rank,max,bp->bundleheight/coin->chain->bundlesize,bp->numhashes,bp->n,bp->numrecv,bp->numsaved,bp->emitfinish,timelimit,counter);