diff --git a/README.md b/README.md index 291e5f720..4a5d94898 100755 --- a/README.md +++ b/README.md @@ -260,12 +260,10 @@ The iguana binary and its linked libraries are in ```$HOME/tmp/iguana```. 0. `make sure g++-7 ln to /usr/bin/g++` 1. `cd ~/SuperNET` 2. `git checkout etomic` -3. `git submodule add https://github.com/artemii235/cpp-ethereum` -4. `git submodule update --init --recursive` -5. `mkdir build` -6. `cd build` -7. `cmake ..` -8. `cmake --build . --target marketmaker` -9. `cd build/iguana/exchanges` -10. `export BOB_PK=YOUR_PRIVATE_KEY` #export BOB_PK=59a03784447e3b24d2deb7231236d549502e4e806550aca4ab6a5532b003da25 -11. `./marketmaker` +3. `git submodule update --init --recursive` +4. `mkdir build` +5. `cd build` +6. `cmake ..` +7. `cmake --build . --target marketmaker` +8. `cd build/iguana/exchanges` +9. `./marketmaker` diff --git a/iguana/exchanges/LP_signatures.c b/iguana/exchanges/LP_signatures.c index 19f8a9622..e71f02131 100644 --- a/iguana/exchanges/LP_signatures.c +++ b/iguana/exchanges/LP_signatures.c @@ -444,6 +444,7 @@ char *LP_pricepings(void *ctx,char *myipaddr,int32_t pubsock,char *base,char *re jaddnum(reqjson,"max",dstr(maxsize)); } LP_price_sigadd(reqjson,timestamp,G.LP_privkey,G.LP_pubsecp,G.LP_mypub25519,base,rel,price64); + printf("priceping.(%s)\n",jprint(reqjson,0)); LP_reserved_msg(0,base,rel,zero,jprint(reqjson,1)); return(clonestr("{\"result\":\"success\"}")); } else return(clonestr("{\"error\":\"electrum node cant post bob asks\"}")); diff --git a/iguana/exchanges/mm.c b/iguana/exchanges/mm.c index 5544523f1..e25c729de 100644 --- a/iguana/exchanges/mm.c +++ b/iguana/exchanges/mm.c @@ -133,7 +133,7 @@ int main(int argc, const char * argv[]) { char dirname[512],*passphrase; double incr; cJSON *retjson; OS_init(); - ETH_test(); + //ETH_test(); if ( strstr(argv[0],"btc2kmd") != 0 && argv[1] != 0 ) { uint8_t addrtype,rmd160[20],rmd160b[20]; char coinaddr[64],coinaddr2[64];