Skip to content

Commit

Permalink
Merge b600fa2 into f83aaf8
Browse files Browse the repository at this point in the history
  • Loading branch information
matteyu committed Mar 1, 2020
2 parents f83aaf8 + b600fa2 commit de57de6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/blz-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

if [ "$NODE_NAME" = "swarm01" ]; then
tar xvf ./blz-test.tar.xz
sed -i -e 's/127.0.0.1:26657/0.0.0.0:26657/g' .blzd/config/config.toml
blzd start &
sleep 5s
blzcli rest-server --laddr tcp://0.0.0.0:1317
Expand All @@ -12,6 +13,7 @@ else
blzcli config indent true
blzcli config trust-node true
tar -xf blz-test.tar.xz .blzd/config/genesis.json
sed -i -e 's/127.0.0.1:26657/0.0.0.0:26657/g' .blzd/config/config.toml
sed -i -e 's/minimum-gas-prices = ""/minimum-gas-prices = "0.01bnt"/g' .blzd/config/app.toml
NODE_ID=$(cat .blzd/config/genesis.json | grep \"memo\" | awk -F'[@|:|\"]' '{print $5}')@${LOCAL_IP}:26656
blzd start --p2p.persistent_peers ${NODE_ID}
Expand Down

0 comments on commit de57de6

Please sign in to comment.