You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
200 B

  1. #! /bin/bash
  2. set -eu
  3. N=$1
  4. cd "$GOPATH/src/github.com/tendermint/tendermint"
  5. seeds="$(test/p2p/ip.sh 1):46656"
  6. for i in $(seq 2 $N); do
  7. seeds="$seeds,$(test/p2p/ip.sh $i):46656"
  8. done
  9. echo "$seeds"