Browse Source

Test

etomic
jl777 8 years ago
parent
commit
82d51540b9
  1. 2
      .gitignore
  2. 5
      iguana/exchanges/LP_commands.c
  3. 5
      iguana/exchanges/LP_nativeDEX.c
  4. BIN
      iguana/marketmaker.dSYM/Contents/Resources/DWARF/marketmaker
  5. 1
      iguana/userpass

2
.gitignore

@ -465,3 +465,5 @@ iguana/DB/SWAPS/3085356347-2346291696
iguana/DB/SWAPS/1819165332-1507632737
iguana/DB/SWAPS/283982730-556239841
iguana/marketmaker.dSYM/Contents/Info.plist

5
iguana/exchanges/LP_commands.c

@ -18,6 +18,11 @@
// marketmaker
//
// price query is redundant as there is a pricefeed for all pubkeys now
// get orderbook, find pubkey of the one offering it and directly reserve it
// then it is the same as current logic, just skip the "price" step
// "notified" push is wrong
double LP_query(char *method,struct LP_quoteinfo *qp,char *base,char *rel,bits256 mypub)
{
cJSON *reqjson; int32_t i,flag = 0; double price = 0.; struct LP_utxoinfo *utxo;

5
iguana/exchanges/LP_nativeDEX.c

@ -366,7 +366,12 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,double profit
OS_randombytes((void *)&n,sizeof(n));
srand((int32_t)n);
if ( userhome != 0 && userhome[0] != 0 )
{
safecopy(USERHOME,userhome,sizeof(USERHOME));
#ifdef __APPLE__
strcat(USERHOME,"/Library/Application Support");
#endif
}
portable_mutex_init(&LP_peermutex);
portable_mutex_init(&LP_utxomutex);
portable_mutex_init(&LP_commandmutex);

BIN
iguana/marketmaker.dSYM/Contents/Resources/DWARF/marketmaker

Binary file not shown.

1
iguana/userpass

@ -0,0 +1 @@
export userpass="c3d8c2a364b7d18c1f9d7321d017b92e9f9c791e4f5c741214fefdea8a071256"
Loading…
Cancel
Save