jl777 8 years ago
parent
commit
19ee1f5e41
  1. 2
      iguana/exchanges/LP_ordermatch.c
  2. 2
      iguana/exchanges/LP_socket.c

2
iguana/exchanges/LP_ordermatch.c

@ -607,7 +607,7 @@ struct LP_utxoinfo *LP_bestutxo(double *ordermatchpricep,int64_t *bestsatoshisp,
vout = jint(item,"vout");
vol = jdouble(item,"volume");
metric = price / bestprice;
printf("metric %f vol %f\n",metric,vol);
printf("metric %f vol %f add pings, electrum cache\n",metric,vol);
// check utxos > 1 for pubkey
/*if ( (butxo= LP_utxofind(1,txid,vout)) != 0 && (long long)(vol*SATOSHIDEN) == butxo->S.satoshis && LP_isavailable(butxo) > 0 && LP_ismine(butxo) == 0 && butxo->T.bestflag == 0 )
{

2
iguana/exchanges/LP_socket.c

@ -726,7 +726,7 @@ void LP_dedicatedloop(void *arg)
}
DL_APPEND(ep->pendingQ.list,&sitem->DL);
portable_mutex_unlock(&ep->pendingQ.mutex);*/
//printf("%p SEND.(%s) to %s:%u\n",sitem,sitem->str,ep->ipaddr,ep->port);
printf("%p SENT.(%s) to %s:%u\n",sitem,sitem->str,ep->ipaddr,ep->port);
queue_enqueue("pendingQ",&ep->pendingQ,&sitem->DL);
flag++;
}

Loading…
Cancel
Save