// GetHvsForDefaultConfig4 for hvs of the validator with config_4.yaml
GetHvsForDefaultConfig4 for hvs of the validator with config_4.yaml
// GetHvsForDefaultConfig4 for hvs of the validator with config_4 . yaml
func GetHvsForDefaultConfig4() *common.HeightVoteSet {
	voteSet4 := common.NewVoteSet()
	voteSet4.ReceivedPrevoteMessages = append(voteSet4.ReceivedPrevoteMessages, common.NewMessage(common.Prevote, "2", 3, common.NewValue(10), nil))
	voteSet4.ReceivedPrevoteMessages = append(voteSet4.ReceivedPrevoteMessages, common.NewMessage(common.Prevote, "3", 3, common.NewValue(10), nil))
	voteSet4.ReceivedPrevoteMessages = append(voteSet4.ReceivedPrevoteMessages, common.NewMessage(common.Prevote, "4", 3, common.NewValue(10), nil))
	voteSet4.SentPrevoteMessages = append(voteSet4.SentPrevoteMessages, common.NewMessage(common.Prevote, "4", 3, common.NewValue(10), nil))
	voteSet4.SentPrecommitMessages = append(voteSet4.SentPrecommitMessages, common.NewMessage(common.Precommit, "4", 3, common.NewValue(10), nil))
	voteSet44 := common.NewVoteSet()
	voteSet44.ReceivedPrevoteMessages = append(voteSet44.ReceivedPrevoteMessages, common.NewMessage(common.Prevote, "2", 4, common.NewValue(20), []*common.Message{
		common.NewMessage(common.Prevote, "1", 3, common.NewValue(20), nil),
		common.NewMessage(common.Prevote, "3", 3, common.NewValue(20), nil),
		common.NewMessage(common.Prevote, "4", 3, common.NewValue(20), nil)}))
	voteSet44.ReceivedPrevoteMessages = append(voteSet44.ReceivedPrevoteMessages, common.NewMessage(common.Prevote, "3", 4, common.NewValue(20), nil))
	voteSet44.ReceivedPrevoteMessages = append(voteSet44.ReceivedPrevoteMessages, common.NewMessage(common.Prevote, "4", 4, common.NewValue(20), nil))
	voteSet44.SentPrevoteMessages = append(voteSet44.SentPrevoteMessages, common.NewMessage(common.Prevote, "4", 4, common.NewValue(20), nil))
	voteSet44.SentPrecommitMessages = append(voteSet44.SentPrecommitMessages, common.NewMessage(common.Precommit, "4", 4, common.NewValue(20), nil))
	heightVoteSet4 := common.NewHeightVoteSet()
	heightVoteSet4.VoteSetMap[3] = voteSet4
	heightVoteSet4.VoteSetMap[4] = voteSet44
	return heightVoteSet4
}
func GetHvsForDefaultConfig4 ( ) * common . HeightVoteSet { voteSet4 := common . NewVoteSet ( ) voteSet4 . ReceivedPrevoteMessages = append ( voteSet4 . ReceivedPrevoteMessages , common . NewMessage ( common . Prevote , " " , 3 , common . NewValue ( 10 ) , nil ) ) voteSet4 . ReceivedPrevoteMessages = append ( voteSet4 . ReceivedPrevoteMessages , common . NewMessage ( common . Prevote , " " , 3 , common . NewValue ( 10 ) , nil ) ) voteSet4 . ReceivedPrevoteMessages = append ( voteSet4 . ReceivedPrevoteMessages , common . NewMessage ( common . Prevote , " " , 3 , common . NewValue ( 10 ) , nil ) ) voteSet4 . SentPrevoteMessages = append ( voteSet4 . SentPrevoteMessages , common . NewMessage ( common . Prevote , " " , 3 , common . NewValue ( 10 ) , nil ) ) voteSet4 . SentPrecommitMessages = append ( voteSet4 . SentPrecommitMessages , common . NewMessage ( common . Precommit , " " , 3 , common . NewValue ( 10 ) , nil ) ) voteSet44 := common . NewVoteSet ( ) voteSet44 . ReceivedPrevoteMessages = append ( voteSet44 . ReceivedPrevoteMessages , common . NewMessage ( common . Prevote , " " , 4 , common . NewValue ( 20 ) , [ ] * common . Message { common . NewMessage ( common . Prevote , " " , 3 , common . NewValue ( 20 ) , nil ) , common . NewMessage ( common . Prevote , " " , 3 , common . NewValue ( 20 ) , nil ) , common . NewMessage ( common . Prevote , " " , 3 , common . NewValue ( 20 ) , nil ) } ) ) voteSet44 . ReceivedPrevoteMessages = append ( voteSet44 . ReceivedPrevoteMessages , common . NewMessage ( common . Prevote , " " , 4 , common . NewValue ( 20 ) , nil ) ) voteSet44 . ReceivedPrevoteMessages = append ( voteSet44 . ReceivedPrevoteMessages , common . NewMessage ( common . Prevote , " " , 4 , common . NewValue ( 20 ) , nil ) ) voteSet44 . SentPrevoteMessages = append ( voteSet44 . SentPrevoteMessages , common . NewMessage ( common . Prevote , " " , 4 , common . NewValue ( 20 ) , nil ) ) voteSet44 . SentPrecommitMessages = append ( voteSet44 . SentPrecommitMessages , common . NewMessage ( common . Precommit , " " , 4 , common . NewValue ( 20 ) , nil ) ) heightVoteSet4 := common . NewHeightVoteSet ( ) heightVoteSet4 . VoteSetMap [ 3 ] = voteSet4 heightVoteSet4 . VoteSetMap [ 4 ] = voteSet44 return heightVoteSet4 }
GetHvsForDefaultConfig4 for hvs of the validator with config_4.yaml
GetHvsForDefaultConfig4 for hvs of the validator with config_4 . yaml
// Process P4 - faulty