diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 566f5a8b6..7984b3c13 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -608,7 +608,7 @@ struct LP_utxoinfo *LP_bestutxo(double *ordermatchpricep,int64_t *bestsatoshisp, vol = jdouble(item,"volume"); metric = price / bestprice; printf("metric %f vol %f add pings, electrum cache\n",metric,vol); - // check utxos > 1 for pubkey + // check utxos > 1 for pubkey, SPV validate recv'ed /*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 ) { printf("got butxo? %p\n",butxo); diff --git a/iguana/exchanges/LP_utxo.c b/iguana/exchanges/LP_utxo.c index f56c28fb2..5212eac5b 100644 --- a/iguana/exchanges/LP_utxo.c +++ b/iguana/exchanges/LP_utxo.c @@ -262,13 +262,13 @@ char *LP_postedutxos(cJSON *argjson) value = LP_value_extract(txobj,0); if ( value != val ) { - printf("REJECT %s %s/v%d value.%llu vs %llu\n",symbol,bits256_str(str,txid),v,(long long)value,(long long)val); + printf("REJECT %s %s/v%d value.%llu vs %llu (%s)\n",symbol,bits256_str(str,txid),v,(long long)value,(long long)val,jprint(item,0)); errs++; } ht = coin->height - jint(txobj,"confirmations"); if ( ht < height-2 ) { - printf("REJECT %s %s/v%d ht.%d vs %d\n",symbol,bits256_str(str,txid),v,ht,height); + printf("REJECT %s %s/v%d ht.%d vs %d (%s)\n",symbol,bits256_str(str,txid),v,ht,height,jprint(item,0)); errs++; } free_json(txobj);