tendermint/DOCKER/run.sh

13 lines
184 B
Bash
Raw Normal View History

2015-06-10 09:06:28 -07:00
#! /bin/bash
if [[ $BARAK_SEED ]]; then
cat ./cmd/barak/$BARAK_SEED | ./build/barak &
fi
2015-07-03 12:06:50 -07:00
if [ "$FAST_SYNC" = "true" ]; then
tendermint node --fast_sync
2015-06-10 09:06:28 -07:00
else
tendermint node
2015-06-10 09:06:28 -07:00
fi