Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
0b901b03b9
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana_unspents.c

2
iguana/iguana777.c

@ -471,7 +471,7 @@ void iguana_helper(void *arg)
printf("helper missing param? %p %p\n",coin,bp);
myfree(ptr,ptr->allocsize);
}
if ( queue_size(&spendvectorsQ) != 0 )
if ( queue_size(&spendvectorsQ) != 0 || queue_size(&bundlesQ) > 10 )
allcurrent = 0;
if ( flag != 0 )
usleep(polltimeout * 250);

2
iguana/iguana_unspents.c

@ -710,7 +710,7 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp)
}
for (k=0; k<T[txidind].numvins && errs==0; k++,spendind++)
{
if ( (spendind % 10000) == 0 )
if ( (spendind % 100000) == 0 )
printf("spendvectors elapsed.%-3d [%-3d:%4d] spendind.%d\n",(uint32_t)time(NULL)-starttime,bp->hdrsi,i,spendind);
s = &S[spendind];
u = 0;

Loading…
Cancel
Save