Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
1a5942cbdd
  1. 3
      iguana/main.c

3
iguana/main.c

@ -331,7 +331,7 @@ void mainloop(struct supernet_info *myinfo)
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 ) if ( (coin= Coins[i]) != 0 && coin->active != 0 && (bp= coin->current) != 0 )
{ {
iguana_bundlekick(coin,bp,bp->hdrsi,bp->n); iguana_bundlekick(coin,bp,bp->hdrsi,100);
if ( (ptr= queue_dequeue(&balancesQ,0)) != 0 ) if ( (ptr= queue_dequeue(&balancesQ,0)) != 0 )
{ {
if ( ptr->bp != 0 && ptr->coin != 0 ) if ( ptr->bp != 0 && ptr->coin != 0 )
@ -355,6 +355,7 @@ void mainloop(struct supernet_info *myinfo)
pangea_queues(SuperNET_MYINFO(0)); pangea_queues(SuperNET_MYINFO(0));
usleep(10000); usleep(10000);
} }
else usleep(1000);
} }
} }

Loading…
Cancel
Save