Browse Source

Test

etomic
jl777 7 years ago
parent
commit
19f584dc58
  1. 4
      iguana/exchanges/LP_nativeDEX.c

4
iguana/exchanges/LP_nativeDEX.c

@ -416,10 +416,10 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int
//printf("numutxos vs mine.%d\n",LP_mypeer != 0 ? LP_mypeer->numutxos : -1); //printf("numutxos vs mine.%d\n",LP_mypeer != 0 ? LP_mypeer->numutxos : -1);
if ( LP_mypeer != 0 && LP_mypeer->numutxos < mostutxos && mostpeer != 0 ) if ( LP_mypeer != 0 && LP_mypeer->numutxos < mostutxos && mostpeer != 0 )
{ {
printf("myutxos.%d most.%d %s\n",LP_mypeer->numutxos,mostutxos,mostpeer->ipaddr); //printf("myutxos.%d most.%d %s\n",LP_mypeer->numutxos,mostutxos,mostpeer->ipaddr);
LP_peer_utxosquery(LP_mypeer,myport,pubsock,mostpeer,now,60); LP_peer_utxosquery(LP_mypeer,myport,pubsock,mostpeer,now,60);
LP_peer_pricesquery(mostpeer->ipaddr,mostpeer->port); LP_peer_pricesquery(mostpeer->ipaddr,mostpeer->port);
} }
if ( (counter % 600) == 10 ) if ( (counter % 600) == 10 )
{ {

Loading…
Cancel
Save