|
@ -353,7 +353,10 @@ void mainloop(struct supernet_info *myinfo) |
|
|
if ( 1 ) |
|
|
if ( 1 ) |
|
|
{ |
|
|
{ |
|
|
for (i=0; i<IGUANA_MAXCOINS; i++) |
|
|
for (i=0; i<IGUANA_MAXCOINS; i++) |
|
|
if ( (coin= Coins[i]) != 0 && coin->active != 0 && (bp= coin->current) != 0 && coin->started != 0 ) |
|
|
if ( (coin= Coins[i]) != 0 && coin->active != 0 && (bp= coin->current) != 0 ) |
|
|
|
|
|
{ |
|
|
|
|
|
printf("check %s started.%p\n",coin->symbol,coin->started); |
|
|
|
|
|
if ( coin->started != 0 ) |
|
|
{ |
|
|
{ |
|
|
iguana_realtime_update(coin); |
|
|
iguana_realtime_update(coin); |
|
|
if ( (ptr= queue_dequeue(&balancesQ,0)) != 0 ) |
|
|
if ( (ptr= queue_dequeue(&balancesQ,0)) != 0 ) |
|
@ -365,6 +368,7 @@ void mainloop(struct supernet_info *myinfo) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
iguana_jsonQ(); |
|
|
iguana_jsonQ(); |
|
|
pangea_queues(SuperNET_MYINFO(0)); |
|
|
pangea_queues(SuperNET_MYINFO(0)); |
|
|
if ( flag == 0 ) |
|
|
if ( flag == 0 ) |
|
|