scripts: local network now runs

This commit is contained in:
Dave Hrycyszyn
2020-01-08 15:13:30 +00:00
parent 5ad6db9232
commit 95f103b4fd
+2 -2
View File
@@ -27,12 +27,12 @@ for (( j=0; j<$NUMMIXES; j++ ))
# Will make it later either configurable by flags or config file.
do
let layer=j%MAX_LAYERS+1
$PWD/target/debug/nym-mixnode run --port $((9980+$j)) --host "localhost" --layer $layer &
$PWD/target/debug/nym-mixnode run --port $((9980+$j)) --host "localhost" --layer $layer --directory http://localhost:8080/ &
sleep 1
done
sleep 1
$PWD/target/debug/nym-sfw-provider run --host "localhost" --port 9997
$PWD/target/debug/nym-sfw-provider run --clientHost "localhost" --mixHost "localhost" --mixPort 9997 --clientPort 9998 --directory http://localhost:8080/
# trap call ctrl_c()
trap ctrl_c SIGINT SIGTERM SIGTSTP