Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
27bd93ccfa
  1. 1
      iguana/iguana777.c
  2. 2
      iguana/iguana_bundles.c

1
iguana/iguana777.c

@ -451,6 +451,7 @@ void iguana_helper(void *arg)
{
//printf("skip.[%d] nexttime.%u lag.%ld coin->active.%d\n",bp->hdrsi,bp->nexttime,time(NULL)-bp->nexttime,coin->active);
allcurrent--;
bp->nexttime += cbrt(bp->hdrsi);
iguana_bundleQ(coin,bp,1000);
}
}

2
iguana/iguana_bundles.c

@ -839,7 +839,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct OS_memspace *mem,stru
if ( bp->hdrsi == coin->bundlescount-1 )
iguana_autoextend(coin,bp);
//printf("ITER utxo.%u now.%u spec.%-4d bundle.%-4d h.%-4d r.%-4d s.%-4d F.%d T.%d issued.%d mb.%d/%d\n",bp->utxofinish,(uint32_t)time(NULL),bp->numspec,bp->bundleheight/coin->chain->bundlesize,bp->numhashes,bp->numrecv,bp->numsaved,bp->emitfinish,timelimit,counter,coin->MAXBUNDLES,coin->bundlescount);
bp->nexttime = (uint32_t)time(NULL);//+ sqrt(bp->hdrsi - starti)/10;
bp->nexttime = (uint32_t)time(NULL) + cbrt(bp->hdrsi - starti)/10;
if ( bp->hdrsi == coin->bundlescount-1 || (bp->numhashes < bp->n && bp->bundleheight < coin->longestchain-coin->chain->bundlesize) )
iguana_bundlehdr(coin,bp,starti);
else if ( bp->emitfinish != 0 )

Loading…
Cancel
Save