Browse Source

Test

etomic
jl777 7 years ago
parent
commit
346fdb1bdf
  1. 3
      iguana/dpow/dpow_prices.c
  2. 3
      iguana/iguana_exchanges.c

3
iguana/dpow/dpow_prices.c

@ -1839,6 +1839,7 @@ int32_t PAX_idle(struct supernet_info *myinfo)//struct PAX_data *argdp,int32_t i
{
static double lastupdate,lastdayupdate; static int32_t didinit; static char *userhome; int32_t idlegap = 10;
FILE *fp; long filesize; char fname[512]; double splineval; uint32_t pvals[128],timestamp; int32_t i,datenum,seconds,c; struct tai t; struct PAX_data *dp; uint8_t data[512];
printf("PAX_IDLE\n");
if ( Currencymasks[0] == 0 )
return(0);
if ( didinit == 0 )
@ -1942,7 +1943,7 @@ int32_t PAX_idle(struct supernet_info *myinfo)//struct PAX_data *argdp,int32_t i
printf("error writing pvals to (%s)\n",fname);
fclose(fp);
}
if ( dispflag != 0 )
//if ( dispflag != 0 )
{
for (i=0; i<6; i++)
printf("%u ",pvals[i]);

3
iguana/iguana_exchanges.c

@ -784,7 +784,8 @@ void exchanges777_loop(void *ptr)
printf("exchanges loop.(%s)\n",exchange->name);
while ( 1 )
{
PAX_idle(myinfo);
if ( strcmp("bitcoin",exchange->name) == 0 )
PAX_idle(myinfo);
flag = retval = 0;
retstr = 0;
if ( (req= queue_dequeue(&exchange->requestQ)) != 0 )

Loading…
Cancel
Save