diff --git a/iguana/m_NOTARY b/iguana/m_NOTARY index 87d88dd93..abbc17ecc 100755 --- a/iguana/m_NOTARY +++ b/iguana/m_NOTARY @@ -7,3 +7,17 @@ cd ../crypto777; ./m_LP; cd ../iguana 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 + +# if you want to nohup, then nohup the following line and run the rest of the script separately +../agents/iguana notary & + +myip=`cat myip.txt` +sleep 4 +curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"SuperNET\",\"method\":\"myipaddr\",\"ipaddr\":\"$myip\"}" +tests/addnotarys_7776 +./btc_7776 +./kmd_7776 +curl --url "http://127.0.0.1:7776" --data "{\"agent\":\"iguana\",\"method\":\"addnotary\",\"ipaddr\":\"$myip\"}" +./dpow_7776 +sleep 3 +./wp_7776