Documentation ¶
Index ¶
- func CurrentRound() *tests.MsgProcessingSpecTest
- func DecidedFullData() *tests.MsgProcessingSpecTest
- func DuplicateMsg() *tests.MsgProcessingSpecTest
- func DuplicateSigners() *tests.MsgProcessingSpecTest
- func FutureRound() *tests.MsgProcessingSpecTest
- func HappyFlow() *tests.MsgProcessingSpecTest
- func InvalidFullData() *tests.MsgProcessingSpecTest
- func InvalidValCheck() *tests.MsgProcessingSpecTest
- func MultiSignerNoOverlap() *tests.MsgProcessingSpecTest
- func MultiSignerWithOverlap() *tests.MsgProcessingSpecTest
- func NoPrepareQuorum() *tests.MsgProcessingSpecTest
- func NoPrevAcceptedProposal() *tests.MsgProcessingSpecTest
- func PastRound() *tests.MsgProcessingSpecTest
- func PostDecided() *tests.MsgProcessingSpecTest
- func UnknownSigner() *tests.MsgProcessingSpecTest
- func ValidFullData() *tests.MsgProcessingSpecTest
- func WrongData1() *tests.MsgProcessingSpecTest
- func WrongData2() *tests.MsgProcessingSpecTest
- func WrongHeight() *tests.MsgProcessingSpecTest
- func WrongSignature() *tests.MsgProcessingSpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentRound ¶
func CurrentRound() *tests.MsgProcessingSpecTest
CurrentRound tests a commit msg with current round, should process
func DecidedFullData ¶ added in v0.3.0
func DecidedFullData() *tests.MsgProcessingSpecTest
DecidedFullData tests the aggregated commit returned when decided to include the full data
func DuplicateMsg ¶
func DuplicateMsg() *tests.MsgProcessingSpecTest
DuplicateMsg tests a duplicate commit msg processing
func DuplicateSigners ¶ added in v0.2.7
func DuplicateSigners() *tests.MsgProcessingSpecTest
DuplicateSigners tests a multi signer commit msg with duplicate signers
func FutureRound ¶
func FutureRound() *tests.MsgProcessingSpecTest
FutureRound tests a commit msg received with a future round, should error
func HappyFlow ¶
func HappyFlow() *tests.MsgProcessingSpecTest
HappyFlow tests a quorum of commits received after prepare quorum
func InvalidFullData ¶ added in v0.3.0
func InvalidFullData() *tests.MsgProcessingSpecTest
InvalidFullData tests signed commit with an invalid full data field (H(full data) != root)
func InvalidValCheck ¶ added in v0.2.7
func InvalidValCheck() *tests.MsgProcessingSpecTest
InvalidValCheck tests a quorum of commits received with an invalid value check
func MultiSignerNoOverlap ¶
func MultiSignerNoOverlap() *tests.MsgProcessingSpecTest
MultiSignerNoOverlap tests a multi signer commit msg which doesn't overlap previous valid commits
func MultiSignerWithOverlap ¶
func MultiSignerWithOverlap() *tests.MsgProcessingSpecTest
MultiSignerWithOverlap tests a multi signer commit msg which does overlap previous valid commit signers
func NoPrepareQuorum ¶ added in v0.2.7
func NoPrepareQuorum() *tests.MsgProcessingSpecTest
NoPrepareQuorum tests a commit msg received without a previous prepare quorum
func NoPrevAcceptedProposal ¶
func NoPrevAcceptedProposal() *tests.MsgProcessingSpecTest
NoPrevAcceptedProposal tests a commit msg received without a previous accepted proposal
func PastRound ¶
func PastRound() *tests.MsgProcessingSpecTest
PastRound tests a commit msg with past round, should process but not decide
func PostDecided ¶
func PostDecided() *tests.MsgProcessingSpecTest
PostDecided tests processing a commit msg after instance decided
func UnknownSigner ¶ added in v0.2.7
func UnknownSigner() *tests.MsgProcessingSpecTest
UnknownSigner tests a single commit received with an unknown signer
func ValidFullData ¶ added in v0.3.0
func ValidFullData() *tests.MsgProcessingSpecTest
ValidFullData tests the signed commit with a valid full data field (H(full data) == root)
func WrongData1 ¶
func WrongData1() *tests.MsgProcessingSpecTest
WrongData1 tests commit msg with data != acceptedProposalData.Data
func WrongData2 ¶
func WrongData2() *tests.MsgProcessingSpecTest
WrongData2 tests a single commit received with a different commit data than the prepared data
func WrongHeight ¶
func WrongHeight() *tests.MsgProcessingSpecTest
WrongHeight tests a commit msg received with the wrong height
func WrongSignature ¶
func WrongSignature() *tests.MsgProcessingSpecTest
WrongSignature tests a single commit received with a wrong signature
Types ¶
This section is empty.
Source Files ¶
- current_round.go
- decided_full_data.go
- duplicate_msg.go
- duplicate_signers.go
- future_round.go
- happy_flow.go
- invalid_full_data.go
- invalid_val_check_quorum.go
- multi_signer_no_overlap.go
- multi_signer_with_overlap.go
- no_prepare_quorum.go
- no_prev_proposal_accepted.go
- past_round.go
- post_decided.go
- unknwon_signer.go
- valid_full_data.go
- wrong_data.go
- wrong_data2.go
- wrong_height.go
- wrong_sig.go