jl777 8 years ago
parent
commit
286b0d4e5f
  1. 6
      iguana/iguana_notary.c
  2. 4
      iguana/m_LP

6
iguana/iguana_notary.c

@ -22,9 +22,13 @@
// f) reduce cost for splitting // f) reduce cost for splitting
// g) RBF to reduce latency // g) RBF to reduce latency
#ifdef __APPLE__
#define NOTARY 1
#endif
#include "iguana777.h" #include "iguana777.h"
#include "notaries.h" #include "notaries.h"
#if NOTARY #if ISNOTARYNODE
#include <nn.h> #include <nn.h>
#endif #endif

4
iguana/m_LP

@ -3,6 +3,6 @@ rm -f ../agents/iguana *.o
git pull git pull
cd secp256k1; ./m_unix; cd .. cd secp256k1; ./m_unix; cd ..
cd ../crypto777; ./m_LP; cd ../iguana cd ../crypto777; ./m_LP; cd ../iguana
gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -O2 -DNOTARY=1 -DLIQUIDITY_PROVIDER=1 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -O2 -DISNOTARYNODE=1 -DLIQUIDITY_PROVIDER=1 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c
gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -DNOTARY=1 -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -DISNOTARYNODE=1 -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c
gcc -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lnanomsg -lcurl -lssl -lcrypto -lpthread -lz -lm gcc -g -o ../agents/iguana *.o ../agents/libcrypto777.a -lnanomsg -lcurl -lssl -lcrypto -lpthread -lz -lm

Loading…
Cancel
Save