diff --git a/consensus/reactor.go b/consensus/reactor.go index c5f0014be..695440261 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -133,9 +133,10 @@ func (conR *ConsensusReactor) RemovePeer(peer *p2p.Peer, reason interface{}) { } // Implements Reactor +// NOTE: We process these messages even when we're fast_syncing. func (conR *ConsensusReactor) Receive(chId byte, peer *p2p.Peer, msgBytes []byte) { log.Debug("Receive", "channel", chId, "peer", peer, "bytes", msgBytes) - if conR.sync || !conR.IsRunning() { + if !conR.IsRunning() { return } diff --git a/scripts/unsafe_debug_net.sh b/scripts/unsafe_debug_net.sh index be6baacb7..c8816d0d1 100755 --- a/scripts/unsafe_debug_net.sh +++ b/scripts/unsafe_debug_net.sh @@ -4,7 +4,7 @@ debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; killall 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 +echo "sleeping for a minute" +sleep 60 debora download tendermint "logs/async$1" debora run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; killall tendermint"