From 286b0d4e5fb16d041d11c68abaf98497a939cf29 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 14 Oct 2016 08:17:22 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 6 +++++- iguana/m_LP | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 80813fb2f..1fff4e5fb 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -22,9 +22,13 @@ // f) reduce cost for splitting // g) RBF to reduce latency +#ifdef __APPLE__ +#define NOTARY 1 +#endif + #include "iguana777.h" #include "notaries.h" -#if NOTARY +#if ISNOTARYNODE #include #endif diff --git a/iguana/m_LP b/iguana/m_LP index 73edd50b7..f2bcbb5ee 100755 --- a/iguana/m_LP +++ b/iguana/m_LP @@ -3,6 +3,6 @@ rm -f ../agents/iguana *.o git pull cd secp256k1; ./m_unix; cd .. 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 -DNOTARY=1 -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.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 -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