Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
edbc28c14a
  1. 2
      iguana/iguana777.c
  2. 6
      iguana/iguana_blocks.c
  3. 3
      iguana/iguana_bundles.c

2
iguana/iguana777.c

@ -621,7 +621,7 @@ void iguana_helper(void *arg)
else if ( allcurrent > 0 )
{
//printf("bundlesQ allcurrent\n");
usleep(polltimeout * 100000);
usleep(polltimeout * 10000);
} else usleep(polltimeout * 5000);
}
}

6
iguana/iguana_blocks.c

@ -183,7 +183,7 @@ struct iguana_block *iguana_blockhashset(char *debugstr,struct iguana_info *coin
}*/
while ( coin->blockdepth > 0 )
{
sleep(1);
usleep(100000);
if ( coin->blockdepth > 0 )
printf("A %s >>>>>>>>>> OK only if rare %s blockhashset.%d depth.%d\n",coin->symbol,debugstr,height,coin->blockdepth);
//fprintf(stderr,">>>>>>>>>> OK only if rare %s blockhashset.%d depth.%d\n",debugstr,height,depth);
@ -197,7 +197,7 @@ struct iguana_block *iguana_blockhashset(char *debugstr,struct iguana_info *coin
coin->blockdepth--;
while ( coin->blockdepth > 0 )
{
sleep(1);
usleep(100000);
if ( coin->blockdepth > 0 )
printf("B %s >>>>>>>>>> OK only if rare %s match blockhashset.%d depth.%d\n",coin->symbol,debugstr,height,coin->blockdepth);
//fprintf(stderr,">>>>>>>>>> OK only if rare%s match blockhashset.%d depth.%d\n",debugstr,height,depth);
@ -239,7 +239,7 @@ struct iguana_block *iguana_blockhashset(char *debugstr,struct iguana_info *coin
coin->blockdepth--;
while ( coin->blockdepth > 0 )
{
sleep(1);
usleep(100000);
if ( coin->blockdepth > 0 )
printf("C %s >>>>>>>>>> OK only if rare %s create blockhashset.%d depth.%d\n",coin->symbol,debugstr,height,coin->blockdepth);
//fprintf(stderr,">>>>>>>>>> OK only if rare%s create blockhashset.%d depth.%d\n",debugstr,height,depth);

3
iguana/iguana_bundles.c

@ -309,9 +309,6 @@ int32_t iguana_bundlehash2add(struct iguana_info *coin,struct iguana_block **blo
{
printf("bundlehash2add err.%d\n",err);
return(0);
//while ( 1 )
// sleep(1);
//exit(-1);
}
return(-err);
}

Loading…
Cancel
Save