diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 64cb24c01..3e47efd5a 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -374,9 +374,9 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int now = (uint32_t)time(NULL); memset(peercounts,0,sizeof(peercounts)); memset(donecounts,0,sizeof(donecounts)); - //if ( bp == coin->current ) + if ( (numpeers= coin->peers.numranked) > 8 ) { - if ( bp->numhashes >= bp->n && (numpeers= coin->peers.numranked) > 8 ) + if ( bp->numhashes >= bp->n ) { for (j=0; jpeerid == 0 ) { - //printf("<%d> ",i); + printf("<%d>.%d ",i,j); if ( block->fpipbits != 0 ) { hashes[k++] = bp->hashes[i]; @@ -490,8 +490,8 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int } printf("currentflag.%d %d\n",bp->currentflag,bp->bundleheight); } - return(counter); } + return(counter); /*if ( 0 && time(NULL) > bp->lastspeculative+60 ) { for (i=1,counter=0; in; i++) @@ -510,7 +510,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int }*/ } // if ( bp != coin->current ) - return(counter); + // return(counter); for (i=counter=0; in; i++) { if ( (block= bp->blocks[i]) != 0 )