Documentation ¶
Index ¶
- func DuplicateMsgPartialQuorum() *tests.MsgProcessingSpecTest
- func DuplicateMsgPrepared() *tests.MsgProcessingSpecTest
- func DuplicateMsgQuorum() *tests.MsgProcessingSpecTest
- func F1Speedup() *tests.MsgProcessingSpecTest
- func F1SpeedupDifferentRounds() *tests.MsgProcessingSpecTest
- func F1SpeedupPrepared() *tests.MsgProcessingSpecTest
- func FutureRound() *tests.MsgProcessingSpecTest
- func HappyFlow() *tests.MsgProcessingSpecTest
- func ImparsableRoundChangeData() *tests.MsgProcessingSpecTest
- func InvalidRoundChangeData() *tests.MsgProcessingSpecTest
- func JustificationDuplicateMsg() *tests.MsgProcessingSpecTest
- func JustificationInvalidPrepareData() *tests.MsgProcessingSpecTest
- func JustificationInvalidRound() *tests.MsgProcessingSpecTest
- func JustificationInvalidSig() *tests.MsgProcessingSpecTest
- func JustificationMultiSigners() *tests.MsgProcessingSpecTest
- func JustificationNoQuorum() *tests.MsgProcessingSpecTest
- func JustificationWrongRound() *tests.MsgProcessingSpecTest
- func JustificationWrongValue() *tests.MsgProcessingSpecTest
- func MultiSigner() *tests.MsgProcessingSpecTest
- func NextProposalValueWrong() *tests.MsgProcessingSpecTest
- func NotPrepared() *tests.MsgProcessingSpecTest
- func PastRound() *tests.MsgProcessingSpecTest
- func PeerPrepared() *tests.MsgProcessingSpecTest
- func Prepared() *tests.MsgProcessingSpecTest
- func WrongHeight() *tests.MsgProcessingSpecTest
- func WrongSig() *tests.MsgProcessingSpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DuplicateMsgPartialQuorum ¶
func DuplicateMsgPartialQuorum() *tests.MsgProcessingSpecTest
DuplicateMsgPartialQuorum tests a duplicate rc msg that is added to container but shouldn't result in a partial quorum
func DuplicateMsgPrepared ¶
func DuplicateMsgPrepared() *tests.MsgProcessingSpecTest
DuplicateMsgPrepared tests a duplicate rc msg (one not prepared and one prepared) with following quorum of rc msgs.
func DuplicateMsgQuorum ¶
func DuplicateMsgQuorum() *tests.MsgProcessingSpecTest
DuplicateMsgQuorum tests a duplicate rc msg that is added to container but shouldn't result in a quorum
func F1Speedup ¶
func F1Speedup() *tests.MsgProcessingSpecTest
F1Speedup tests catching up to higher rounds via f+1 speedup, other peers are all at the same round
func F1SpeedupDifferentRounds ¶
func F1SpeedupDifferentRounds() *tests.MsgProcessingSpecTest
F1SpeedupDifferentRounds tests catching up to higher rounds via f+1 speedup, other peers are all in different rounds
func F1SpeedupPrepared ¶
func F1SpeedupPrepared() *tests.MsgProcessingSpecTest
F1SpeedupPrepared tests catching up to higher rounds via f+1 speedup, other peers at the same round and already prepared
func FutureRound ¶
func FutureRound() *tests.MsgProcessingSpecTest
FutureRound tests a round change msg with future round
func HappyFlow ¶
func HappyFlow() *tests.MsgProcessingSpecTest
HappyFlow tests a simple full happy flow until decided
func ImparsableRoundChangeData ¶
func ImparsableRoundChangeData() *tests.MsgProcessingSpecTest
ImparsableRoundChangeData tests a round change msg data imparsable to round change data struct
func InvalidRoundChangeData ¶
func InvalidRoundChangeData() *tests.MsgProcessingSpecTest
InvalidRoundChangeData tests a round change msg data for which Validate() != nil
func JustificationDuplicateMsg ¶
func JustificationDuplicateMsg() *tests.MsgProcessingSpecTest
JustificationDuplicateMsg tests a duplicate justification msg which shouldn't result in a justification quorum
func JustificationInvalidPrepareData ¶
func JustificationInvalidPrepareData() *tests.MsgProcessingSpecTest
JustificationInvalidPrepareData tests a single prepare justification msg for which .validate() != nil
func JustificationInvalidRound ¶
func JustificationInvalidRound() *tests.MsgProcessingSpecTest
JustificationInvalidRound tests justifications with prepared round > msg round
func JustificationInvalidSig ¶
func JustificationInvalidSig() *tests.MsgProcessingSpecTest
JustificationInvalidSig tests a single prepare justification msg with wrong signature
func JustificationMultiSigners ¶
func JustificationMultiSigners() *tests.MsgProcessingSpecTest
JustificationMultiSigners tests a single prepare justification msg with multiple signers
func JustificationNoQuorum ¶
func JustificationNoQuorum() *tests.MsgProcessingSpecTest
JustificationNoQuorum tests justifications with no quorum
func JustificationWrongRound ¶
func JustificationWrongRound() *tests.MsgProcessingSpecTest
JustificationWrongRound tests a single prepare justification with round != prepared round
func JustificationWrongValue ¶
func JustificationWrongValue() *tests.MsgProcessingSpecTest
JustificationWrongValue tests a single prepare justification with value != prepared value
func MultiSigner ¶
func MultiSigner() *tests.MsgProcessingSpecTest
MultiSigner tests a round change msg with multiple signers
func NextProposalValueWrong ¶
func NextProposalValueWrong() *tests.MsgProcessingSpecTest
NextProposalValueWrong tests a justified round change msg prepare value != next proposal value
func NotPrepared ¶
func NotPrepared() *tests.MsgProcessingSpecTest
NotPrepared tests a round change msg for non-prepared state
func PastRound ¶
func PastRound() *tests.MsgProcessingSpecTest
PastRound tests a round change msg with past round
func PeerPrepared ¶
func PeerPrepared() *tests.MsgProcessingSpecTest
PeerPrepared tests a round change quorum where a peer is the only one prepared
func Prepared ¶
func Prepared() *tests.MsgProcessingSpecTest
Prepared tests a round change msg for prepared state
func WrongHeight ¶
func WrongHeight() *tests.MsgProcessingSpecTest
WrongHeight tests a round change msg with wrong height
func WrongSig ¶
func WrongSig() *tests.MsgProcessingSpecTest
WrongSig tests a signed round change msg with wrong signature
Types ¶
This section is empty.
Source Files ¶
- duplicate_msg_partial_quorum.go
- duplicate_msg_prepared.go
- duplicate_msg_quorum.go
- f1Speedup.go
- f1SpeedupPrepared.go
- f1Speedup_different_ronuds.go
- future_round.go
- happy_flow.go
- imparsable_round_change_data.go
- invalid_round_change_data.go
- justification_duplicate_msg.go
- justification_invalid_prepare_data.go
- justification_invalid_round.go
- justification_invalid_sig.go
- justification_multi_signers.go
- justification_no_quorum.go
- justification_wrong_round.go
- justification_wrong_value.go
- multi_signer.go
- next_proposed_value_wrong.go
- not_prepared.go
- past_round.go
- peer_prepared.go
- prepared.go
- wrong_height.go
- wrong_sig.go