mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-29 06:01:21 +00:00
* Switch ports 466xx to be 266xx This is done so the default ports aren't in the linux kernel's default ephemeral port range. * Update ABCI import * Bump cache on circleci * Get more verbose output for debugging * Bump abci dependency * Fix accidental change of a block header's hash * pin abci release
24 lines
440 B
Bash
24 lines
440 B
Bash
#! /bin/bash
|
|
set -u
|
|
|
|
N=$1
|
|
PEERS=$2
|
|
|
|
cd "$GOPATH/src/github.com/tendermint/tendermint"
|
|
|
|
echo "Waiting for nodes to come online"
|
|
for i in $(seq 1 "$N"); do
|
|
addr=$(test/p2p/ip.sh "$i"):26657
|
|
curl -s "$addr/status" > /dev/null
|
|
ERR=$?
|
|
while [ "$ERR" != 0 ]; do
|
|
sleep 1
|
|
curl -s "$addr/status" > /dev/null
|
|
ERR=$?
|
|
done
|
|
echo "... node $i is up"
|
|
done
|
|
|
|
IP=$(test/p2p/ip.sh 1)
|
|
curl "$IP:26657/dial_peers?persistent=true&peers=\\[$PEERS\\]"
|