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
- func WrongSignature() 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 ¶ added in v0.3.0
DecidedFullData tests the aggregated commit returned when decided to include the full data
func DuplicateMsg ¶
DuplicateMsg tests a duplicate commit msg processing
func DuplicateSigners ¶ added in v0.2.7
DuplicateSigners tests a multi signer commit msg with duplicate signers
func ForceStop ¶ added in v0.3.1
ForceStop tests processing a commit msg when instance force stopped
func FutureRound ¶
FutureRound tests a commit msg received with a future round, should error
func InvalidFullData ¶ added in v0.3.0
InvalidFullData tests signed commit with an invalid full data field (H(full data) != root)
func InvalidValCheck ¶ added in v0.2.7
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 ¶ added in v0.3.1
NoCommitQuorum tests the state of the QBFT instance when received commit messages don't create a quorum
func NoCommitQuorumStateComparison ¶ added in v0.3.1
func NoCommitQuorumStateComparison() *comparable.StateComparison
func NoPrepareQuorum ¶ added in v0.2.7
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 ¶ added in v0.3.1
PostCutoff tests processing a commit msg when round >= cutoff
func PostDecided ¶
PostDecided tests processing a commit msg after instance decided
func UnknownSigner ¶ added in v0.2.7
UnknownSigner tests a single commit received with an unknown signer
func ValidFullData ¶ added in v0.3.0
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
func WrongSignature ¶
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
- 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
- wrong_sig.go