Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

migrate to tcp #15

Merged
merged 1 commit into from
Jul 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion start_and_stop_a_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ do
echo "start node.. mainnet on port: "$port
fi
echo "cmdOpt ="$cmdOpt
java -jar iri-$1.jar -p $port -u $port -t `expr $port + $5` -n 'udp://localhost:'`expr $port - 1`' udp://localhost:'`expr $port + 1` $cmdOpt &> iri.log &
java -jar iri-$1.jar -p $port -u $port -t `expr $port + $5` -n 'tcp://localhost:'`expr $port - 1`' tcp://localhost:'`expr $port + 1` $cmdOpt &> iri.log &
echo $! > iri.pid
cd ..
((port++))
Expand Down