Browse Source

Test

etomic
jl777 7 years ago
parent
commit
28f35c69da
  1. 3
      iguana/exchanges/LP_nativeDEX.c
  2. 4
      iguana/exchanges/LP_stats.c

3
iguana/exchanges/LP_nativeDEX.c

@ -17,7 +17,7 @@
// LP_nativeDEX.c
// marketmaker
//
// delay swap credit back until notarization, else path
// too much stats.log
// big BTC swaps
// https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki for signing BCH/BTG
//
@ -27,6 +27,7 @@
// portfolio value based on ask?
// USD paxprice based USDvalue in portfolio
//
// else claim path
// improve critical section detection when parallel trades
// dPoW security -> 4: KMD notarized, 5: BTC notarized, after next notary elections
// bigendian architectures need to use little endian for sighash calcs

4
iguana/exchanges/LP_stats.c

@ -275,12 +275,12 @@ int32_t LP_swap_finished(struct LP_swapstats *sp,int32_t dPoWflag)
struct iguana_info *bob,*alice;
if ( (bob= LP_coinfind(sp->Q.srccoin)) == 0 )
{
printf("no bobcoin.%s\n",sp->Q.srccoin);
//printf("no bobcoin.%s\n",sp->Q.srccoin);
return(0);
}
if ( (alice= LP_coinfind(sp->Q.destcoin)) == 0 )
{
printf("no alicecoin.%s\n",sp->Q.destcoin);
//printf("no alicecoin.%s\n",sp->Q.destcoin);
return(0);
}
if ( sp->finished == 0 )

Loading…
Cancel
Save