Documentation ¶
Index ¶
- func CurrentInstance() tests.SpecTest
- func CurrentInstanceFutureRound() tests.SpecTest
- func CurrentInstancePastRound() tests.SpecTest
- func DuplicateMsg() tests.SpecTest
- func DuplicateSigners() tests.SpecTest
- func FutureInstance() tests.SpecTest
- func HasQuorum() tests.SpecTest
- func Invalid() tests.SpecTest
- func InvalidFullData() tests.SpecTest
- func InvalidValCheckData() tests.SpecTest
- func LateDecided() tests.SpecTest
- func LateDecidedBiggerQuorum() tests.SpecTest
- func LateDecidedSmallerQuorum() tests.SpecTest
- func MultiDecidedInstances() tests.SpecTest
- func NoQuorum() tests.SpecTest
- func PastInstance() tests.SpecTest
- func UnknownSigner() tests.SpecTest
- func Valid() tests.SpecTest
- func ValidFullData() tests.SpecTest
- func WrongMsgType() tests.SpecTest
- func WrongSignature() tests.SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentInstance ¶
CurrentInstance tests a decided msg received for current running instance
func CurrentInstanceFutureRound ¶
CurrentInstanceFutureRound tests a decided msg received for current running instance for a future round
func CurrentInstancePastRound ¶
CurrentInstancePastRound tests a decided msg received for current running instance for a past round
func DuplicateMsg ¶
DuplicateMsg tests a duplicate decided msg processing
func DuplicateSigners ¶
DuplicateSigners tests a decided msg with duplicate signers
func FutureInstance ¶
FutureInstance tests decided msg received for future (not yet started) instance
func InvalidFullData ¶
InvalidFullData tests signed decided with an invalid full data field
func InvalidValCheckData ¶
InvalidValCheckData tests a decided message with invalid decided data (but should pass as it's decided)
func LateDecided ¶
LateDecided tests processing a decided msg for a just decided instance
func LateDecidedBiggerQuorum ¶
LateDecidedBiggerQuorum tests processing a decided msg for a just decided instance (with a bigger quorum)
func LateDecidedSmallerQuorum ¶
LateDecidedSmallerQuorum tests processing a decided msg for a just decided instance (with a smaller quorum)
func MultiDecidedInstances ¶
MultiDecidedInstances tests deciding multiple instances
func PastInstance ¶
PastInstance tests a decided msg received for past instance
func UnknownSigner ¶
UnknownSigner tests a decided msg with an unknown signer
func ValidFullData ¶
ValidFullData tests signed decided with a valid full data field
func WrongMsgType ¶
WrongMsgType tests a non commit msg with 2f+1 signers
func WrongSignature ¶
WrongSignature tests a single decided 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
- invalid.go
- invalid_full_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
- valid_full_data.go
- wrong_msg_type.go
- wrong_sig.go