@ -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.
@ -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);