Browse Source

Test

etomic
jl777 7 years ago
parent
commit
67a0dc1252
  1. 2
      iguana/exchanges/LP_RTmetrics.c
  2. 3
      iguana/exchanges/LP_include.h

2
iguana/exchanges/LP_RTmetrics.c

@ -237,7 +237,7 @@ cJSON *LP_RTmetrics_sort(char *base,char *rel,cJSON *rawasks,int32_t numasks,dou
break;
if ( i == 0 )
bestprice = price;
else if ( price < bestprice*1.01 )
else if ( price < bestprice*LP_RTMETRICS_TOPGROUP )
groupi = i;
num++;
}

3
iguana/exchanges/LP_include.h

@ -39,6 +39,9 @@ void emscripten_usleep(int32_t x);
#define ELECTRUM_TIMEOUT 10
#define LP_ELECTRUM_MAXERRORS 3
#define LP_MEMPOOL_TIMEINCR 10
// RTmetrics
#define LP_RTMETRICS_TOPGROUP 1.01
#define LP_MAXPENDING_SWAPS 13
#define LP_COMMAND_SENDSOCK NN_PUSH

Loading…
Cancel
Save