jl777 7 years ago
parent
commit
685abda748
  1. 4
      iguana/exchanges/LP_prices.c

4
iguana/exchanges/LP_prices.c

@ -592,7 +592,7 @@ int32_t LP_orderbook_utxoentries(uint32_t now,int32_t polarity,char *base,char *
continue;
bitcoin_address(coinaddr,basecoin->taddr,basecoin->pubtype,pubp->rmd160,sizeof(pubp->rmd160));
basesatoshis = maxsatoshis = 0;
printf("pubp.(%s)\n",coinaddr);
ap = 0;
//char str[65],str2[65]; printf("check utxo.%s/v%d from %s\n",bits256_str(str,utxo->payment.txid),utxo->payment.vout,bits256_str(str2,utxo->pubkey));
if ( (price= pubp->matrix[baseid][relid]) > SMALLVAL && (ap= LP_addressfind(basecoin,coinaddr)) != 0 )
{
@ -627,8 +627,8 @@ int32_t LP_orderbook_utxoentries(uint32_t now,int32_t polarity,char *base,char *
LP_utxo_clientpublish(utxo);
}
}*/
}
printf("pubp.(%s) %.8f %p\n",coinaddr,price,ap);
}
return(num);
}

Loading…
Cancel
Save