|
|
@ -424,7 +424,7 @@ int32_t iguana_bundlekick(struct iguana_info *coin,struct iguana_bundle *bp,int3 |
|
|
|
{ |
|
|
|
if ( block->fpipbits == 0 || block->RO.recvlen == 0 ) |
|
|
|
{ |
|
|
|
if ( bp->issued[i] == 0 || now > bp->issued[i]+60 ) |
|
|
|
if ( bp->issued[i] == 0 || now > bp->issued[i]+10 ) |
|
|
|
{ |
|
|
|
block->numrequests++; |
|
|
|
if ( bp->hdrsi == starti ) |
|
|
@ -577,6 +577,8 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int |
|
|
|
issued = 0; |
|
|
|
max = 100 + (bp->n/coin->MAXBUNDLES)*(bp->hdrsi - starti); |
|
|
|
iguana_bundlekick(coin,bp,starti,max); |
|
|
|
if ( coin->current != 0 ) |
|
|
|
iguana_bundlekick(coin,coin->current,starti,max); |
|
|
|
if ( coin->numsaved > coin->longestchain*.99 ) |
|
|
|
{ |
|
|
|
printf("last percent via hdrsi.%d\n",bp->hdrsi); |
|
|
|