Browse Source

Test

etomic
jl777 8 years ago
parent
commit
adcbe655a4
  1. 2
      iguana/exchanges/LP_rpc.c
  2. 1
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_rpc.c

@ -121,7 +121,7 @@ char *issue_LP_register(char *destip,uint16_t destport,bits256 pubkey,char *ipad
sprintf(url,"http://%s:%u/api/stats/register?client=%s&pushaddr=%s&pushport=%u",destip,destport,bits256_str(str,pubkey),ipaddr,pushport);
//return(LP_issue_curl("register",destip,destport,url));
retstr = issue_curlt(url,LP_HTTP_TIMEOUT*3);
printf("register.(%s) -> (%s)\n",url,retstr!=0?retstr:"");
//printf("register.(%s) -> (%s)\n",url,retstr!=0?retstr:"");
return(retstr);
}

1
iguana/exchanges/LP_utxos.c

@ -444,6 +444,7 @@ struct LP_utxoinfo *LP_utxoadd(int32_t iambob,int32_t mypubsock,char *symbol,bit
}
if ( LP_iseligible(&val,&val2,iambob,symbol,txid,vout,tmpsatoshis,txid2,vout2,pubkey) <= 0 )
{
// iambob.0 utxoadd COQUI inactive.0 got ineligible txid value 1.20000000, value2 0.01000000, tmpsatoshis 1.20000000
printf("iambob.%d utxoadd %s inactive.%u got ineligible txid value %.8f, value2 %.8f, tmpsatoshis %.8f\n",iambob,symbol,coin->inactive,dstr(value),dstr(value2),dstr(tmpsatoshis));
return(0);
}

Loading…
Cancel
Save