// Preprocess messages by scanning all the received vote sets and add missing messages in the respective votes sets of processes which omitted to have sent some messages
Preprocess messages by scanning all the received vote sets and add missing messages in the respective votes sets of processes which omitted to have sent some messages
// Preprocess messages by scanning all the received vote sets and add missing messages in the respective votes sets of processes which omitted to have sent some messages
func (acc *Accountability) preprocessPhase(firstDecisionRound, secondDecisionRound uint64) {
	for _, hvs := range acc.heightLogs.messageLogs {
		for round, vs := range hvs.VoteSetMap {
			if round >= firstDecisionRound && round <= secondDecisionRound {
				acc.addMissingVotes(vs.ReceivedPrevoteMessages)
				acc.addMissingVotes(vs.ReceivedPrecommitMessages)
			}
		}
	}
}
func ( acc * Accountability ) preprocessPhase ( firstDecisionRound , secondDecisionRound uint64 ) { for _ , hvs := range acc . heightLogs . messageLogs { for round , vs := range hvs . VoteSetMap { if round >= firstDecisionRound && round <= secondDecisionRound { acc . addMissingVotes ( vs . ReceivedPrevoteMessages ) acc . addMissingVotes ( vs . ReceivedPrecommitMessages ) } } } }
Preprocess messages by scanning all the received vote sets and add missing messages in the respective votes sets of processes which omitted to have sent some messages
Preprocess messages by scanning all the received vote sets and add missing messages in the respective votes sets of processes which omitted to have sent some messages
// Processing of the received prevote messages // Processing of the received precommit messages