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
|
2015-07-10 17:12:33 -07:00
|
|
|
tendermint node --fast_sync
|
2015-06-10 09:06:28 -07:00
|
|
|
else
|
2015-07-10 17:12:33 -07:00
|
|
|
tendermint node
|
2015-06-10 09:06:28 -07:00
|
|
|
fi
|
|
|
|
|