Documentation ¶
Index ¶
- func DuplicateMsg() tests.SpecTest
- func DuplicateMsgQuorum() tests.SpecTest
- func ForceStop() tests.SpecTest
- func FutureRound() tests.SpecTest
- func HappyFlow() tests.SpecTest
- func MultiSigner() tests.SpecTest
- func NoPreviousProposal() tests.SpecTest
- func OldRound() tests.SpecTest
- func PostCutoff() tests.SpecTest
- func PostDecided() tests.SpecTest
- func PrepareQuorumTriggeredTwice() tests.SpecTest
- func PrepareQuorumTriggeredTwiceLateCommit() tests.SpecTest
- func SetPreparedFullData() tests.SpecTest
- func UnknownSigner() tests.SpecTest
- func WrongData() tests.SpecTest
- func WrongHeight() tests.SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DuplicateMsg ¶
DuplicateMsg tests a duplicate prepare msg processing
func DuplicateMsgQuorum ¶
DuplicateMsgQuorum tests a duplicate prepare msg that is added to container but shouldn't result in a quorum
func ForceStop ¶ added in v0.3.1
ForceStop tests processing a prepare msg when instance force stopped
func FutureRound ¶
FutureRound tests prepare for signedProposal.Message.Round > state.Round
func NoPreviousProposal ¶
NoPreviousProposal tests prepare msg without receiving a previous proposal state.ProposalAcceptedForCurrentRound == nil
func PostCutoff ¶ added in v0.3.1
PostCutoff tests processing a prepare msg when round >= cutoff
func PostDecided ¶
PostDecided tests processing prepare msg after instance decided
func PrepareQuorumTriggeredTwice ¶ added in v0.3.1
PrepareQuorumTriggeredTwice tests triggering prepare quorum twice by sending > 2f+1 prepare messages
func PrepareQuorumTriggeredTwiceLateCommit ¶ added in v0.3.1
PrepareQuorumTriggeredTwiceLateCommit tests triggering prepare quorum twice by sending > 2f+1 prepare messages. The commit message is processed after the second prepare quorum is triggered.
func SetPreparedFullData ¶ added in v0.3.0
SetPreparedFullData tests setting state.LastPreparedValue to the full data not the root
func UnknownSigner ¶ added in v0.2.7
UnknownSigner tests a single prepare received with an unknown signer
func WrongHeight ¶
WrongHeight tests prepare msg received with the wrong height
Types ¶
This section is empty.
Source Files ¶
- duplicate_msg.go
- duplicate_msg_quorum.go
- force_stop.go
- future_round.go
- happy_flow.go
- multi_signer.go
- no_previous_proposal.go
- old_round.go
- post_cutoff.go
- post_decided.go
- prepare_quorum_triggered_twice.go
- prepare_quorum_triggered_twice_late_commit.go
- set_prepared_full_data.go
- unkown_signer.go
- wrong_data.go
- wrong_height.go