Documentation ¶
Index ¶
- func DuplicateMsg() tests.SpecTest
- func DuplicateMsgDifferentRoots() tests.SpecTest
- func InconsistentBeaconSigner() tests.SpecTest
- func InvalidBeaconSignature() tests.SpecTest
- func InvalidExpectedRoot() tests.SpecTest
- func InvalidMessageSignature() tests.SpecTest
- func InvalidMessageSlot() tests.SpecTest
- func InvalidSignedMessage() tests.SpecTest
- func NoRunningDuty() tests.SpecTest
- func PostDecided() tests.SpecTest
- func PostFinish() tests.SpecTest
- func PostQuorum() tests.SpecTest
- func Quorum() tests.SpecTest
- func Quorum10Operators() tests.SpecTest
- func Quorum13Operators() tests.SpecTest
- func Quorum7Operators() tests.SpecTest
- func TooFewRoots() tests.SpecTest
- func TooManyRoots() tests.SpecTest
- func UnknownSigner() tests.SpecTest
- func UnorderedExpectedRoots() tests.SpecTest
- func ValidMessage() tests.SpecTest
- func ValidMessage10Operators() tests.SpecTest
- func ValidMessage13Operators() tests.SpecTest
- func ValidMessage7Operators() tests.SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DuplicateMsg ¶
DuplicateMsg tests duplicate SignedPartialSignatureMessage
func DuplicateMsgDifferentRoots ¶
DuplicateMsgDifferentRoots tests duplicate SignedPartialSignatureMessage (from same signer) but with different roots
func InconsistentBeaconSigner ¶ added in v0.3.0
InconsistentBeaconSigner tests a beacon signer != SignedPartialSignatureMessage.signer
func InvalidBeaconSignature ¶
InvalidBeaconSignature tests PartialSignatureMessage signature invalid
func InvalidExpectedRoot ¶
InvalidExpectedRoot tests 1 expected root which doesn't match the signed root
func InvalidMessageSignature ¶
InvalidMessageSignature tests SignedPartialSignatureMessage signature invalid
func InvalidMessageSlot ¶ added in v0.3.0
InvalidMessageSlot tests a valid SignedPartialSignatureMessage an invalid msg slot
func InvalidSignedMessage ¶
InvalidSignedMessage tests SignedPartialSignatureMessage.Validate() != nil
func NoRunningDuty ¶
NoRunningDuty tests a valid partial pre consensus msg before duty starts
func PostDecided ¶
PostDecided tests a msg received post consensus decided (and post receiving a quorum for pre consensus)
func PostFinish ¶
PostFinish tests a msg received post runner finished
func PostQuorum ¶
PostQuorum tests a msg received post pre consensus quorum
func Quorum10Operators ¶
Quorum10Operators tests a quorum of valid SignedPartialSignatureMessage (10 operators)
func Quorum13Operators ¶ added in v0.3.0
Quorum13Operators tests a quorum of valid SignedPartialSignatureMessage (13 operators)
func Quorum7Operators ¶
Quorum7Operators tests a quorum of valid SignedPartialSignatureMessage (7 operators)
func TooFewRoots ¶ added in v0.3.0
TooFewRoots tests too few expected roots
func TooManyRoots ¶ added in v0.3.0
TooManyRoots tests too many expected roots
func UnknownSigner ¶
UnknownSigner tests SignedPartialSignatureMessage unknown signer
func UnorderedExpectedRoots ¶
UnorderedExpectedRoots tests expected roots to match but out of order, should return error
func ValidMessage ¶
ValidMessage tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages
func ValidMessage10Operators ¶
ValidMessage10Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (10 operators)
func ValidMessage13Operators ¶
ValidMessage13Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (13 operators)
func ValidMessage7Operators ¶
ValidMessage7Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (7 operators)
Types ¶
This section is empty.
Source Files ¶
- duplicate_msg.go
- duplicate_msg_different_roots.go
- duplicate_msg_sc.go
- inconsistent_beacon_signer.go
- invalid_beacon_sig.go
- invalid_expected_root.go
- invalid_msg_sig.go
- invalid_msg_slot.go
- invalid_signed_msg.go
- no_running_duty.go
- no_running_duty_sc.go
- post_decided.go
- post_decided_sc.go
- post_finish.go
- post_finish_sc.go
- post_quorum.go
- post_quorum_sc.go
- quorum.go
- quorum_10_operators.go
- quorum_13_operators.go
- quorum_7_operators.go
- quorum_7_operators_sc.go
- quorum_sc.go
- too_few_roots.go
- too_many_roots.go
- unknown_signer.go
- unknown_signer_sc.go
- unordered_expected_roots.go
- valid_msg.go
- valid_msg_10_operators.go
- valid_msg_13_operators.go
- valid_msg_7_operators.go