jl777 7 years ago
parent
commit
1659f30871
  1. 4
      iguana/exchanges/LP_nativeDEX.c
  2. 4
      iguana/exchanges/LP_signatures.c

4
iguana/exchanges/LP_nativeDEX.c

@ -18,11 +18,7 @@
// LP_nativeDEX.c
// marketmaker
//
// variable timeout based on number of electrums in swap
// listunspent on each new block or 30 seconds if doing swap
// reject swap response from bob?
//
// electrum swaps efficiency
// process stats.log local file -> map of realtime activity!
// select oldest utxo first
// handles <-> pubkeys, deal with offline pubkeys, reputations, bonds etc.

4
iguana/exchanges/LP_signatures.c

@ -92,6 +92,10 @@ cJSON *LP_quotejson(struct LP_quoteinfo *qp)
jaddnum(retjson,"price",price);
}
}
if ( qp->R.requestid != 0 )
jaddnum(retjson,"requestid",qp->R.requestid);
if ( qp->R.quoteid != 0 )
jaddnum(retjson,"quoteid",qp->R.quoteid);
return(retjson);
}

Loading…
Cancel
Save