|
|
@ -1140,8 +1140,7 @@ func (cs *State) defaultDecideProposal(height int64, round int32) { |
|
|
|
cs.sendInternalMessage(msgInfo{&BlockPartMessage{cs.Height, cs.Round, part}, ""}) |
|
|
|
} |
|
|
|
|
|
|
|
cs.Logger.Info("signed proposal", "height", height, "round", round, "proposal", proposal) |
|
|
|
cs.Logger.Debug("signed proposal block", "block", block) |
|
|
|
cs.Logger.Debug("signed proposal", "height", height, "round", round, "proposal", proposal) |
|
|
|
} else if !cs.replayMode { |
|
|
|
cs.Logger.Error("propose step; failed signing proposal", "height", height, "round", round, "err", err) |
|
|
|
} |
|
|
@ -1654,7 +1653,7 @@ func (cs *State) finalizeCommit(height int64) { |
|
|
|
if err != nil { |
|
|
|
logger.Error("failed to prune blocks", "retain_height", retainHeight, "err", err) |
|
|
|
} else { |
|
|
|
logger.Info("pruned blocks", "pruned", pruned, "retain_height", retainHeight) |
|
|
|
logger.Debug("pruned blocks", "pruned", pruned, "retain_height", retainHeight) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -1952,7 +1951,7 @@ func (cs *State) tryAddVote(vote *types.Vote, peerID p2p.ID) (bool, error) { |
|
|
|
|
|
|
|
// report conflicting votes to the evidence pool
|
|
|
|
cs.evpool.ReportConflictingVotes(voteErr.VoteA, voteErr.VoteB) |
|
|
|
cs.Logger.Info( |
|
|
|
cs.Logger.Debug( |
|
|
|
"found and sent conflicting votes to the evidence pool", |
|
|
|
"vote_a", voteErr.VoteA, |
|
|
|
"vote_b", voteErr.VoteB, |
|
|
@ -2116,7 +2115,7 @@ func (cs *State) addVote(vote *types.Vote, peerID p2p.ID) (added bool, err error |
|
|
|
|
|
|
|
case tmproto.PrecommitType: |
|
|
|
precommits := cs.Votes.Precommits(vote.Round) |
|
|
|
cs.Logger.Info("added vote to precommit", "vote", vote, "precommits", precommits.StringShort()) |
|
|
|
cs.Logger.Debug("added vote to precommit", "vote", vote, "precommits", precommits.StringShort()) |
|
|
|
|
|
|
|
blockID, ok := precommits.TwoThirdsMajority() |
|
|
|
if ok { |
|
|
@ -2220,7 +2219,7 @@ func (cs *State) signAddVote(msgType tmproto.SignedMsgType, hash []byte, header |
|
|
|
vote, err := cs.signVote(msgType, hash, header) |
|
|
|
if err == nil { |
|
|
|
cs.sendInternalMessage(msgInfo{&VoteMessage{vote}, ""}) |
|
|
|
cs.Logger.Info("signed and pushed vote", "height", cs.Height, "round", cs.Round, "vote", vote) |
|
|
|
cs.Logger.Debug("signed and pushed vote", "height", cs.Height, "round", cs.Round, "vote", vote) |
|
|
|
return vote |
|
|
|
} |
|
|
|
|
|
|
|