|
|
@ -1023,7 +1023,7 @@ uint32_t iguana_allhashcmp(struct supernet_info *myinfo,struct iguana_info *coin |
|
|
|
//n = 0;
|
|
|
|
//if ( bp->hdrsi < coin->MAXBUNDLES || (coin->current != 0 && coin->lastpending != 0 && bp->hdrsi >= coin->current->hdrsi && bp->hdrsi <= coin->lastpending->hdrsi) )
|
|
|
|
// n = iguana_bundleissuemissing(myinfo,coin,bp,1,3.);
|
|
|
|
//if ( 0 && n > 2 )
|
|
|
|
if ( 0 && n > 2 ) |
|
|
|
printf("ALLHASHES FOUND! %d allhashes.%d issued %d\n",bp->bundleheight,coin->allhashes,n); |
|
|
|
//if ( bp->queued == 0 )
|
|
|
|
// iguana_bundleQ(myinfo,coin,bp,bp->n*5 + (rand() % 500));
|
|
|
@ -1968,7 +1968,7 @@ int32_t iguana_reqhdrs(struct iguana_info *coin) |
|
|
|
if ( (bp= coin->bundles[i]) != 0 && (bp == coin->current || bp->hdrsi == coin->blocks.hwmchain.height/coin->chain->bundlesize || i == coin->bundlescount-1 || bp->numhashes < bp->n) ) |
|
|
|
{ |
|
|
|
if ( bp == coin->current ) |
|
|
|
lag = 3; |
|
|
|
lag = 13; |
|
|
|
else if ( coin->current == 0 || bp->hdrsi > coin->current->hdrsi+coin->MAXBUNDLES ) |
|
|
|
continue; |
|
|
|
else lag = 30; |
|
|
|