From 346fdb1bdf7a0a4c5724b57827a5c5db25e6a5c3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 26 Aug 2017 14:27:12 +0200 Subject: [PATCH] Test --- iguana/dpow/dpow_prices.c | 3 ++- iguana/iguana_exchanges.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_prices.c b/iguana/dpow/dpow_prices.c index d01ea756f..01b252ae6 100755 --- a/iguana/dpow/dpow_prices.c +++ b/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]); diff --git a/iguana/iguana_exchanges.c b/iguana/iguana_exchanges.c index d7445f681..d2cd1c267 100755 --- a/iguana/iguana_exchanges.c +++ b/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 )