Browse Source

Test

etomic
jl777 8 years ago
parent
commit
f054b47f8f
  1. 3
      iguana/exchanges/LP_utxos.c

3
iguana/exchanges/LP_utxos.c

@ -410,7 +410,7 @@ struct LP_utxoinfo *LP_utxoadd(int32_t iambob,int32_t mypubsock,char *symbol,bit
tmpsatoshis = (((value2 - 100000) / 9) << 3);
else tmpsatoshis = value;
char str[65],str2[65],dispflag = 1;
char str[65],str2[65],dispflag = 0;
bits256_str(str,txid);
bits256_str(str2,txid2);
if ( strcmp(str,"7ea7481baf03698cbeb7b9cd0ed3f86f3c40debab72626516dda7e8d155630eb") == 0 || strcmp(str2,"7ea7481baf03698cbeb7b9cd0ed3f86f3c40debab72626516dda7e8d155630eb") == 0 )
@ -422,6 +422,7 @@ struct LP_utxoinfo *LP_utxoadd(int32_t iambob,int32_t mypubsock,char *symbol,bit
}
if ( dispflag != 0 )
printf("%.8f %.8f %s iambob.%d %s utxoadd.(%.8f %.8f) %s %s\n",dstr(val),dstr(val2),coinaddr,iambob,symbol,dstr(value),dstr(value2),bits256_str(str,txid),bits256_str(str2,txid2));
dispflag = 1;
if ( (selector= LP_mempool_vinscan(&spendtxid,&spendvini,symbol,txid,vout,txid2,vout2)) >= 0 )
{
printf("utxoadd selector.%d in mempool %s vini.%d",selector,bits256_str(str,spendtxid),spendvini);

Loading…
Cancel
Save