Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
8c2f2068f1
  1. 4
      iguana/iguana777.c

4
iguana/iguana777.c

@ -399,7 +399,7 @@ int32_t iguana_helperB(struct iguana_info *coin,int32_t helperid,struct iguana_b
printf("iguana_helperB unexpected null bp\n"); printf("iguana_helperB unexpected null bp\n");
return(-1); return(-1);
} }
if ( bp != coin->current ) //if ( bp != coin->current )
{ {
iguana_ramchain_prefetch(coin,&bp->ramchain,7); iguana_ramchain_prefetch(coin,&bp->ramchain,7);
if ( convertflag == 0 ) if ( convertflag == 0 )
@ -496,7 +496,7 @@ int32_t iguana_utxogen(struct supernet_info *myinfo,struct iguana_info *coin,int
for (hdrsi=helperid; hdrsi<=max; hdrsi+=incr) for (hdrsi=helperid; hdrsi<=max; hdrsi+=incr)
num += iguana_helperB(coin,helperid,coin->bundles[hdrsi],convertflag); num += iguana_helperB(coin,helperid,coin->bundles[hdrsi],convertflag);
} }
while ( (n= iguana_convertfinished(coin)) < max ) while ( (n= iguana_convertfinished(coin)) <= max )
{ {
//printf("helperid.%d convertfinished.%d vs max %d bundlescount.%d\n",helperid,n,max,coin->bundlescount); //printf("helperid.%d convertfinished.%d vs max %d bundlescount.%d\n",helperid,n,max,coin->bundlescount);
sleep(IGUANA_NUMHELPERS+3); sleep(IGUANA_NUMHELPERS+3);

Loading…
Cancel
Save