Documentation ¶
Index ¶
- func CurrentRound() tests.SpecTest
- func DecidedFullData() tests.SpecTest
- func DuplicateMsg() tests.SpecTest
- func DuplicateSigners() tests.SpecTest
- func ForceStop() tests.SpecTest
- func FutureRound() tests.SpecTest
- func HappyFlow() tests.SpecTest
- func InvalidFullData() tests.SpecTest
- func InvalidValCheck() tests.SpecTest
- func MultiSignerNoOverlap() tests.SpecTest
- func MultiSignerWithOverlap() tests.SpecTest
- func NoCommitQuorum() tests.SpecTest
- func NoCommitQuorumStateComparison() *comparable.StateComparison
- func NoPrepareQuorum() tests.SpecTest
- func NoPrevAcceptedProposal() tests.SpecTest
- func PastRound() tests.SpecTest
- func PostCutoff() tests.SpecTest
- func PostDecided() tests.SpecTest
- func UnknownSigner() tests.SpecTest
- func ValidFullData() tests.SpecTest
- func WrongData1() tests.SpecTest
- func WrongData2() tests.SpecTest
- func WrongHeight() tests.SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentRound ¶
CurrentRound tests a commit msg with current round, should process
func DecidedFullData ¶
DecidedFullData tests the aggregated commit returned when decided to include the full data
func DuplicateMsg ¶
DuplicateMsg tests a duplicate commit msg processing
func DuplicateSigners ¶
DuplicateSigners tests a multi signer commit msg with duplicate signers
func FutureRound ¶
FutureRound tests a commit msg received with a future round, should error
func InvalidFullData ¶
InvalidFullData tests signed commit with an invalid full data field (H(full data) != root)
func InvalidValCheck ¶
InvalidValCheck tests a quorum of commits received with an invalid value check
func MultiSignerNoOverlap ¶
MultiSignerNoOverlap tests a multi signer commit msg which doesn't overlap previous valid commits
func MultiSignerWithOverlap ¶
MultiSignerWithOverlap tests a multi signer commit msg which does overlap previous valid commit signers
func NoCommitQuorum ¶
NoCommitQuorum tests the state of the QBFT instance when received commit messages don't create a quorum
func NoCommitQuorumStateComparison ¶
func NoCommitQuorumStateComparison() *comparable.StateComparison
func NoPrepareQuorum ¶
NoPrepareQuorum tests a commit msg received without a previous prepare quorum
func NoPrevAcceptedProposal ¶
NoPrevAcceptedProposal tests a commit msg received without a previous accepted proposal
func PostCutoff ¶
PostCutoff tests processing a commit msg when round >= cutoff
func PostDecided ¶
PostDecided tests processing a commit msg after instance decided
func UnknownSigner ¶
UnknownSigner tests a single commit received with an unknown signer
func ValidFullData ¶
ValidFullData tests the signed commit with a valid full data field (H(full data) == root)
func WrongData1 ¶
WrongData1 tests commit msg with data != acceptedProposalData.Data
func WrongData2 ¶
WrongData2 tests a single commit received with a different commit data than the prepared data
func WrongHeight ¶
WrongHeight tests a commit msg received with the wrong height
Types ¶
This section is empty.
Source Files ¶
- current_round.go
- decided_full_data.go
- duplicate_msg.go
- duplicate_signers.go
- force_stop.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_commit_quorum.go
- no_prepare_quorum.go
- no_prev_proposal_accepted.go
- past_round.go
- post_cutoff.go
- post_decided.go
- unknwon_signer.go
- valid_full_data.go
- wrong_data.go
- wrong_data2.go
- wrong_height.go