Documentation ¶
Index ¶
- func CurrentInstance() *tests.ControllerSpecTest
- func CurrentInstanceFutureRound() *tests.ControllerSpecTest
- func CurrentInstancePastRound() *tests.ControllerSpecTest
- func DuplicateMsg() *tests.ControllerSpecTest
- func DuplicateSigners() *tests.ControllerSpecTest
- func FutureInstance() *tests.ControllerSpecTest
- func HasQuorum() *tests.ControllerSpecTest
- func ImparsableData() *tests.ControllerSpecTest
- func Invalid() *tests.ControllerSpecTest
- func InvalidData() *tests.ControllerSpecTest
- func InvalidValCheckData() *tests.ControllerSpecTest
- func LateDecided() *tests.ControllerSpecTest
- func LateDecidedBiggerQuorum() *tests.ControllerSpecTest
- func LateDecidedSmallerQuorum() *tests.ControllerSpecTest
- func MultiDecidedInstances() *tests.ControllerSpecTest
- func NoQuorum() *tests.ControllerSpecTest
- func PastInstance() *tests.ControllerSpecTest
- func UnknownSigner() *tests.ControllerSpecTest
- func Valid() *tests.ControllerSpecTest
- func WrongMsgType() *tests.ControllerSpecTest
- func WrongSignature() *tests.ControllerSpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentInstance ¶
func CurrentInstance() *tests.ControllerSpecTest
CurrentInstance tests a decided msg received for current running instance
func CurrentInstanceFutureRound ¶
func CurrentInstanceFutureRound() *tests.ControllerSpecTest
CurrentInstanceFutureRound tests a decided msg received for current running instance for a future round
func CurrentInstancePastRound ¶
func CurrentInstancePastRound() *tests.ControllerSpecTest
CurrentInstancePastRound tests a decided msg received for current running instance for a past round
func DuplicateMsg ¶
func DuplicateMsg() *tests.ControllerSpecTest
DuplicateMsg tests a duplicate decided msg processing
func DuplicateSigners ¶
func DuplicateSigners() *tests.ControllerSpecTest
DuplicateSigners tests a decided msg with duplicate signers
func FutureInstance ¶
func FutureInstance() *tests.ControllerSpecTest
FutureInstance tests decided msg received for future (not yet started) instance
func HasQuorum ¶
func HasQuorum() *tests.ControllerSpecTest
HasQuorum tests decided msg with unique 2f+1 signers
func ImparsableData ¶
func ImparsableData() *tests.ControllerSpecTest
ImparsableData tests a decided msg received with the wrong commit data
func Invalid ¶
func Invalid() *tests.ControllerSpecTest
Invalid tests decided msg where msg.validate() != nil
func InvalidData ¶
func InvalidData() *tests.ControllerSpecTest
InvalidData tests decided data for which commitData.validate() != nil
func InvalidValCheckData ¶
func InvalidValCheckData() *tests.ControllerSpecTest
InvalidValCheckData tests a decided message with invalid decided data (but should pass as it's decided)
func LateDecided ¶
func LateDecided() *tests.ControllerSpecTest
LateDecided tests processing a decided msg for a just decided instance
func LateDecidedBiggerQuorum ¶
func LateDecidedBiggerQuorum() *tests.ControllerSpecTest
LateDecidedBiggerQuorum tests processing a decided msg for a just decided instance (with a bigger quorum)
func LateDecidedSmallerQuorum ¶
func LateDecidedSmallerQuorum() *tests.ControllerSpecTest
LateDecidedSmallerQuorum tests processing a decided msg for a just decided instance (with a smaller quorum)
func MultiDecidedInstances ¶
func MultiDecidedInstances() *tests.ControllerSpecTest
MultiDecidedInstances tests deciding multiple instances
func NoQuorum ¶
func NoQuorum() *tests.ControllerSpecTest
NoQuorum tests decided msg with < unique 2f+1 signers
func PastInstance ¶
func PastInstance() *tests.ControllerSpecTest
PastInstance tests a decided msg received for past instance
func UnknownSigner ¶
func UnknownSigner() *tests.ControllerSpecTest
UnknownSigner tests a decided msg with an unknown signer
func Valid ¶
func Valid() *tests.ControllerSpecTest
Valid tests a valid decided msg with unique 2f+1 signers
func WrongMsgType ¶
func WrongMsgType() *tests.ControllerSpecTest
WrongMsgType tests a non commit msg with 2f+1 signers
func WrongSignature ¶
func WrongSignature() *tests.ControllerSpecTest
WrongSignature tests a single commit received with a wrong signature
Types ¶
This section is empty.
Source Files ¶
- current_instance.go
- current_instance_future_round.go
- current_instance_past_round.go
- duplicate_msg.go
- duplicate_signers.go
- future_instance.go
- has_quorum.go
- imparsable_data.go
- invalid.go
- invalid_data.go
- invalid_val_check.go
- late_decided.go
- late_decided_bigger_quorum.go
- late_decided_smaller_quorum.go
- multi_decided_instance.go
- no_quorum.go
- past_instance.go
- unknown_signer.go
- valid.go
- wrong_msg_type.go
- wrong_sig.go