Browse Source

Test

etomic
jl777 7 years ago
parent
commit
0c8d72d8c7
  1. 3
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_zeroconf.c

3
iguana/exchanges/LP_nativeDEX.c

@ -21,12 +21,11 @@
// alice waiting for bestprice
// USD paxprice based USDvalue in portfolio
// cancel bid/ask
// delay swap credit back until notarization
// electrum dynamic trust over 1000
// https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki for signing BCH/BTG
//
// delay swap credit back until notarization
// bugs, validations:
// remove LP_utxo_bestfit from portfolio
// portfolio value based on ask?
// verify encrypted destpubkey, broadcast:0 setprice

2
iguana/exchanges/LP_zeroconf.c

@ -198,7 +198,7 @@ void LP_zeroconf_credit(int32_t dispflag,char *coinaddr,int64_t satoshis,int32_t
if ( coin != 0 )
{
timestamp = LP_FIRSTWEEKTIME + weeki*LP_WEEKMULT;
if ( time(NULL) < timestamp-24*3600 && (ap= LP_address(coin,coinaddr)) != 0 )
if ( time(NULL) < timestamp-60*3600 && (ap= LP_address(coin,coinaddr)) != 0 )
{
ap->zeroconf_credits += satoshis;
if ( dispflag != 0 )

Loading…
Cancel
Save