Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
94ff97f1ab
  1. 2
      iguana/iguana777.c
  2. 4
      iguana/iguana_recv.c

2
iguana/iguana777.c

@ -387,7 +387,7 @@ void iguana_helper(void *arg)
}
if ( flag == 0 )
usleep(500000);
else usleep(50000);
else usleep(5000);
}
}

4
iguana/iguana_recv.c

@ -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);

Loading…
Cancel
Save