From 90a9c1f17a824cffdb54c7a4a38a9971c0c0fd47 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Oct 2017 10:38:06 +0300 Subject: [PATCH] Allow 0.1% auto --- iguana/exchanges/LP_include.h | 2 +- iguana/exchanges/LP_nativeDEX.c | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/iguana/exchanges/LP_include.h b/iguana/exchanges/LP_include.h index 965062623..3770948dd 100644 --- a/iguana/exchanges/LP_include.h +++ b/iguana/exchanges/LP_include.h @@ -60,7 +60,7 @@ void emscripten_usleep(int32_t x); #define LP_SWAPSTEP_TIMEOUT 30 #define LP_MIN_TXFEE 10000 #define LP_MINVOL 20 -#define LP_MINCLIENTVOL 50 +#define LP_MINCLIENTVOL 1000 #define LP_MINSIZE_TXFEEMULT 10 #define LP_REQUIRED_TXFEE 0.8 diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index f92770639..4c30bbab9 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -21,10 +21,16 @@ // ZEC LP_transaction_fromdata mismatched txid e2a3eebcf5bef6fe63296f53ce35d2f2c6e3b29c7c907da4171a580f50c93c74 vs 1ed5c15bbf991ff42c73b1492d1bb50e91d1d731c86cb3058405cff95cd9bd70 //0200000000018c343500000000001976a9141462c3dd3f936d595c9af55978003b27c250441f88ac000000000100000000000000009c5b3500000000005a6c707fc604699d0166b2a750c8a2ff21c8aed0b6e6fe160f651da8cf865c2aa079a7f71f7782604785e1f9a7300cd6c89ca50b5d91f6c0ae5f293ea5a72e62bb0f05da84510e6431c5d4be7a372221265fd98dbccee11f5ed064c5afaa19eff27fd12c30a7a5205f70c99f22b7090c00048c1c9767eea1c79e54ed60c08c138758ad73d43f2692fcb05f data2json n.44 vs len. -// process stats.log local file -> map of realtime activity! -// handles <-> pubkeys, deal with offline pubkeys, reputations, bonds etc. -// select oldest utxo first +//.53/100 ordermatch 0.16600749 best satoshis 0.52354320 destsatoshis 0.08687889 txfees (0.00010000 0.00010000) +//LP_txfees(0.00010000 0.00010000) +//>>>>>>> quote satoshis.(0.52354320 0.08687889) MNZ 0.52354320 -> KMD 0.08687889 +//LP_txfees(0.00010000 0.00010000) +//qprice 0.16597577 <- 0.08687889/0.52354320 txfees.(0.00010000 0.00010000) vs (0.00010000 0.00010000) +//destsatoshis 0.08687889 is -> why quote validate error -13 for alice +// select oldest utxo first +// handles <-> pubkeys, deal with offline pubkeys, reputations, bonds etc. +// depth and trade to pubkey // verify portfolio, pricearray, interest to KMD withdraw // dPoW security -> 4: KMD notarized, 5: BTC notarized, after next notary elections // bigendian architectures need to use little endian for sighash calcs