Skip to content

Commit

Permalink
try running start_indy_node with custom port
Browse files Browse the repository at this point in the history
  • Loading branch information
nrempel committed Nov 29, 2017
1 parent ca4371d commit e63414e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/start_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@ fi
# init_indy_keys --name Node"$NODE_NUM"

# Derive port numbers from node number (these are the ports that are generated by generate_indy_pool_transactions)
echo start_indy_node "Node""$NODE_NUM" $((START_PORT + ( NODE_NUM * 2 ) - 1 )) $(( START_PORT + ( NODE_NUM * 2 ) ))
start_indy_node "Node""$NODE_NUM" $((START_PORT + ( NODE_NUM * 2 ) - 1 )) $(( START_PORT + ( NODE_NUM * 2 ) ))
if [ ! -z "$IPS" ]; then
echo start_indy_node "Node""$NODE_NUM" 443 80
start_indy_node "Node""$NODE_NUM" 443 80
else
echo start_indy_node "Node""$NODE_NUM" $((START_PORT + ( NODE_NUM * 2 ) - 1 )) $(( START_PORT + ( NODE_NUM * 2 ) ))
start_indy_node "Node""$NODE_NUM" $((START_PORT + ( NODE_NUM * 2 ) - 1 )) $(( START_PORT + ( NODE_NUM * 2 ) ))
fi

0 comments on commit e63414e

Please sign in to comment.