|
|
@ -489,7 +489,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int |
|
|
|
n++, issued++; |
|
|
|
else if ( bp->issued[i] != 0 ) |
|
|
|
issued++; |
|
|
|
} |
|
|
|
} else n++, issued++; |
|
|
|
} else printf("iguana_bundleiters[%d] unexpected null block[%d]\n",bp->bundleheight,i); |
|
|
|
} |
|
|
|
//if ( max <= 0 )
|
|
|
@ -497,7 +497,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int |
|
|
|
//usleep(10000);
|
|
|
|
} |
|
|
|
width = 100 + max*100;//sqrt(sqrt(bp->n * (1+bp->numsaved+issued)) * (10+coin->bundlescount-bp->hdrsi));
|
|
|
|
if ( bp->hdrsi == starti && counter > 0 )//&& bp->rank <= coin->peers.numranked )
|
|
|
|
if ( bp->hdrsi == starti ) |
|
|
|
printf("ITERATE.%d max.%d bundle.%d h.%d n.%d r.%d s.%d F.%d I.%d T.%d %f %u next %f counter.%d\n",bp->rank,max,bp->bundleheight/coin->chain->bundlesize,bp->numhashes,bp->n,bp->numrecv,bp->numsaved,bp->emitfinish,issued,timelimit,endmillis-OS_milliseconds(),(uint32_t)time(NULL),width,counter); |
|
|
|
if ( bp->emitfinish == 0 ) |
|
|
|
{ |
|
|
|