Browse Source

Test

etomic
jl777 7 years ago
parent
commit
6dfa5961de
  1. 2
      iguana/exchanges/LP_commands.c
  2. 2
      iguana/exchanges/LP_include.h

2
iguana/exchanges/LP_commands.c

@ -362,7 +362,7 @@ dividends(coin, height, <args>)\n\
coinaddr = jstr(argjson,"coinaddr");
if ( coin != 0 && coinaddr != 0 )
{
char str[65]; printf("uitem %s %s %s/v%d %.8f ht.%d\n",coin,coinaddr,bits256_str(str,txid),vout,dstr(value),height);
//char str[65]; printf("uitem %s %s %s/v%d %.8f ht.%d\n",coin,coinaddr,bits256_str(str,txid),vout,dstr(value),height);
LP_address_utxoadd(LP_coinfind(coin),coinaddr,txid,vout,value,height,-1);
}
return(clonestr("{\"result\":\"success\"}"));

2
iguana/exchanges/LP_include.h

@ -37,7 +37,7 @@
#define LP_GETINFO_INCR 30
#define LP_ORDERBOOK_DURATION 3600
#define LP_HTTP_TIMEOUT 2 // 1 is too small due to edge cases of time(NULL)
#define LP_HTTP_TIMEOUT 5 // 1 is too small due to edge cases of time(NULL)
#define LP_MAXPEER_ERRORS 3
#define LP_MINPEER_GOOD 20
#define LP_PEERGOOD_ERRORDECAY 0.9

Loading…
Cancel
Save