Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
7d23b323cc
  1. 7
      iguana/iguana_bundles.c

7
iguana/iguana_bundles.c

@ -815,8 +815,11 @@ int32_t iguana_bundlefinish(struct iguana_info *coin,struct iguana_bundle *bp)
} }
#endif #endif
for (i=0; i<bp->hdrsi; i++) for (i=0; i<bp->hdrsi; i++)
if ( (prevbp= coin->bundles[i]) == 0 || prevbp->emitfinish < coin->startutc || (i < bp->hdrsi-8 && prevbp->utxofinish <= 1) if ( (prevbp= coin->bundles[i]) == 0 || prevbp->emitfinish < coin->startutc
) #ifdef IGUANA_SERIALIZE_SPENDVECTORGEN
|| (i < bp->hdrsi-8 && prevbp->utxofinish <= 1 )
#endif
)
break; break;
//printf("i.%d hdrsi.%d busy.%d helpers.%d\n",i,bp->hdrsi,coin->emitbusy,IGUANA_NUMHELPERS); //printf("i.%d hdrsi.%d busy.%d helpers.%d\n",i,bp->hdrsi,coin->emitbusy,IGUANA_NUMHELPERS);
if ( i == bp->hdrsi && coin->emitbusy < (IGUANA_NUMHELPERS/3) ) if ( i == bp->hdrsi && coin->emitbusy < (IGUANA_NUMHELPERS/3) )

Loading…
Cancel
Save