Browse Source

Add unsafe_debug_net script

pull/102/head
Jae Kwon 10 years ago
parent
commit
cb60b0a759
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      scripts/unsafe_debug_net.sh

+ 10
- 0
scripts/unsafe_debug_net.sh View File

@ -0,0 +1,10 @@
#!/bin/sh
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; killall tendermint"
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; tendermint unsafe_reset_priv_validator; rm -rf ~/.tendermint/data"
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; git pull origin develop; make"
debora run --bg --label tendermint -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; tendermint node"
echo "sleeping for 45 seconds"
sleep 45
debora download tendermint "logs/async$1"
debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; killall tendermint"

Loading…
Cancel
Save