Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
92479be1d8
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana_bundles.c

2
iguana/iguana777.c

@ -415,7 +415,7 @@ void iguana_coinloop(void *arg)
if ( flag == 0 ) if ( flag == 0 )
{ {
//printf("IDLE\n"); //printf("IDLE\n");
usleep(coin->polltimeout * 10000); usleep(coin->polltimeout * 1000);
} }
} }
} }

2
iguana/iguana_bundles.c

@ -580,7 +580,7 @@ void iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int32_
{ {
if ( (block= bp->blocks[i]) != 0 ) if ( (block= bp->blocks[i]) != 0 )
{ {
if ( block->queued == 0 && block->fpipbits == 0 && bp->issued[i] == 0 ) if ( block->fpipbits == 0 && ((block->queued == 0 && bp->issued[i] == 0) || now > bp->issued[i]+1) )
{ {
//printf("(%d:%d) ",bp->hdrsi,i); //printf("(%d:%d) ",bp->hdrsi,i);
iguana_blockQ(coin,bp,i,block->RO.hash2,bp->numsaved > bp->n-10); iguana_blockQ(coin,bp,i,block->RO.hash2,bp->numsaved > bp->n-10);

Loading…
Cancel
Save