Documentation ¶
Index ¶
- func FutureDecided() tests.SpecTest
- func FutureDecidedNoInstance() tests.SpecTest
- func FutureMessage() tests.SpecTest
- func InvalidDecidedValue() tests.SpecTest
- func InvalidSignature() tests.SpecTest
- func PastMessage() tests.SpecTest
- func PostDecided() tests.SpecTest
- func PostFinish() tests.SpecTest
- func ValidDecided() tests.SpecTest
- func ValidDecided10Operators() tests.SpecTest
- func ValidDecided13Operators() tests.SpecTest
- func ValidDecided7Operators() tests.SpecTest
- func ValidMessage() tests.SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FutureDecided ¶
FutureDecided tests a running instance at a certain height, then processing a decided msg from a larger height. then returning an error and don't move to post consensus as it's not the same instance decided
func FutureDecidedNoInstance ¶ added in v0.3.7
FutureDecidedNoInstance tests processing a decided msg from a larger height with no running instance then returning an error and don't move to post consensus as it's not the same instance decided
func FutureMessage ¶ added in v0.3.1
FutureMessage tests a valid proposal future msg
func InvalidDecidedValue ¶
InvalidDecidedValue tests an invalid decided value ConsensusData.Validate() != nil (unknown duty role)
func InvalidSignature ¶ added in v0.3.8
InvalidSignature tests a consensus message with an invalid signature
func PastMessage ¶ added in v0.3.1
PastMessage tests a valid proposal past msg
func PostDecided ¶
PostDecided tests a valid commit msg after returned decided already
func PostFinish ¶
PostFinish tests a valid commit msg after runner finished
func ValidDecided10Operators ¶
ValidDecided10Operators tests a valid decided value (10 operators)
func ValidDecided13Operators ¶
ValidDecided13Operators tests a valid decided value (13 operators)
func ValidDecided7Operators ¶
ValidDecided7Operators tests a valid decided value (7 operators)
func ValidMessage ¶ added in v0.3.0
ValidMessage tests a valid consensus message
Types ¶
This section is empty.
Source Files ¶
- future_decided.go
- future_decided_no_instance.go
- future_decided_sc.go
- future_msg.go
- invalid_decided_value.go
- invalid_signature.go
- past_msg.go
- post_decided.go
- post_decided_sc.go
- post_finish.go
- post_finish_sc.go
- valid_decided.go
- valid_decided_10_operators.go
- valid_decided_13_operators.go
- valid_decided_7_operators.go
- valid_decided_7_operators_sc.go
- valid_decided_sc.go
- valid_message.go