github.com/pokt-network/tendermint@v0.32.11-0.20230426215212-59310158d3e9/test/p2p/persistent_peers.sh (about)

     1  #! /bin/bash
     2  set -eu
     3  
     4  IPV=$1
     5  N=$2
     6  DOCKER_IMAGE=$3
     7  
     8  persistent_peers="$(test/p2p/address.sh $IPV 1 26656 $DOCKER_IMAGE)"
     9  for i in $(seq 2 $N); do
    10  	persistent_peers="$persistent_peers,$(test/p2p/address.sh $IPV $i 26656 $DOCKER_IMAGE)"
    11  done
    12  echo "$persistent_peers"