Documentation ¶
Index ¶
- func DuplicateMsg() *tests.MultiMsgProcessingSpecTest
- func DuplicateMsgDifferentRoots() *tests.MultiMsgProcessingSpecTest
- func InvalidBeaconSignature() *tests.MultiMsgProcessingSpecTest
- func InvalidExpectedRoot() *tests.MultiMsgProcessingSpecTest
- func InvalidMessageSignature() *tests.MultiMsgProcessingSpecTest
- func InvalidSignedMessage() *tests.MultiMsgProcessingSpecTest
- func MultiBeaconSigsWrongSlot() *tests.MultiMsgProcessingSpecTest
- func NoRunningDuty() *tests.MultiMsgProcessingSpecTest
- func PostDecided() *tests.MultiMsgProcessingSpecTest
- func PostFinish() *tests.MultiMsgProcessingSpecTest
- func PostQuorum() *tests.MultiMsgProcessingSpecTest
- func Quorum() *tests.MultiMsgProcessingSpecTest
- func Quorum10Operators() *tests.MultiMsgProcessingSpecTest
- func Quorum130Operators() *tests.MultiMsgProcessingSpecTest
- func Quorum7Operators() *tests.MultiMsgProcessingSpecTest
- func UnknownBeaconSigner() *tests.MultiMsgProcessingSpecTest
- func UnknownSigner() *tests.MultiMsgProcessingSpecTest
- func UnorderedExpectedRoots() *tests.MultiMsgProcessingSpecTest
- func ValidMessage() *tests.MultiMsgProcessingSpecTest
- func ValidMessage10Operators() *tests.MultiMsgProcessingSpecTest
- func ValidMessage13Operators() *tests.MultiMsgProcessingSpecTest
- func ValidMessage7Operators() *tests.MultiMsgProcessingSpecTest
- func WrongExpectedRootsCount() *tests.MultiMsgProcessingSpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DuplicateMsg ¶
func DuplicateMsg() *tests.MultiMsgProcessingSpecTest
DuplicateMsg tests duplicate SignedPartialSignatureMessage
func DuplicateMsgDifferentRoots ¶
func DuplicateMsgDifferentRoots() *tests.MultiMsgProcessingSpecTest
DuplicateMsgDifferentRoots tests duplicate SignedPartialSignatureMessage (from same signer) but with different roots
func InvalidBeaconSignature ¶
func InvalidBeaconSignature() *tests.MultiMsgProcessingSpecTest
InvalidBeaconSignature tests PartialSignatureMessage signature invalid
func InvalidExpectedRoot ¶
func InvalidExpectedRoot() *tests.MultiMsgProcessingSpecTest
InvalidExpectedRoot tests 1 expected root which doesn't match the signed root
func InvalidMessageSignature ¶
func InvalidMessageSignature() *tests.MultiMsgProcessingSpecTest
InvalidMessageSignature tests SignedPartialSignatureMessage signature invalid
func InvalidSignedMessage ¶
func InvalidSignedMessage() *tests.MultiMsgProcessingSpecTest
InvalidSignedMessage tests SignedPartialSignatureMessage.Validate() != nil
func MultiBeaconSigsWrongSlot ¶
func MultiBeaconSigsWrongSlot() *tests.MultiMsgProcessingSpecTest
MultiBeaconSigsWrongSlot tests SignedPartialSignatureMessage with multi PartialSignatureMessages where one has slot != msg.Slot
func NoRunningDuty ¶
func NoRunningDuty() *tests.MultiMsgProcessingSpecTest
NoRunningDuty tests a valid QBFT proposal msg before duty starts
func PostDecided ¶
func PostDecided() *tests.MultiMsgProcessingSpecTest
PostDecided tests a msg received post consensus decided (and post receiving a quorum for pre consensus)
func PostFinish ¶
func PostFinish() *tests.MultiMsgProcessingSpecTest
PostFinish tests a msg received post runner finished
func PostQuorum ¶
func PostQuorum() *tests.MultiMsgProcessingSpecTest
PostQuorum tests a msg received post pre consensus quorum
func Quorum ¶
func Quorum() *tests.MultiMsgProcessingSpecTest
Quorum tests a quorum of valid SignedPartialSignatureMessage
func Quorum10Operators ¶
func Quorum10Operators() *tests.MultiMsgProcessingSpecTest
Quorum10Operators tests a quorum of valid SignedPartialSignatureMessage (10 operators)
func Quorum130Operators ¶
func Quorum130Operators() *tests.MultiMsgProcessingSpecTest
Quorum130Operators tests a quorum of valid SignedPartialSignatureMessage (13 operators)
func Quorum7Operators ¶
func Quorum7Operators() *tests.MultiMsgProcessingSpecTest
Quorum7Operators tests a quorum of valid SignedPartialSignatureMessage (7 operators)
func UnknownBeaconSigner ¶
func UnknownBeaconSigner() *tests.MultiMsgProcessingSpecTest
UnknownBeaconSigner tests PartialSignatureMessage unknown signer
func UnknownSigner ¶
func UnknownSigner() *tests.MultiMsgProcessingSpecTest
UnknownSigner tests SignedPartialSignatureMessage unknown signer
func UnorderedExpectedRoots ¶
func UnorderedExpectedRoots() *tests.MultiMsgProcessingSpecTest
UnorderedExpectedRoots tests expected roots to match but out of order, should return error
func ValidMessage ¶
func ValidMessage() *tests.MultiMsgProcessingSpecTest
ValidMessage tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages
func ValidMessage10Operators ¶
func ValidMessage10Operators() *tests.MultiMsgProcessingSpecTest
ValidMessage10Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (10 operators)
func ValidMessage13Operators ¶
func ValidMessage13Operators() *tests.MultiMsgProcessingSpecTest
ValidMessage13Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (13 operators)
func ValidMessage7Operators ¶
func ValidMessage7Operators() *tests.MultiMsgProcessingSpecTest
ValidMessage7Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (7 operators)
func WrongExpectedRootsCount ¶
func WrongExpectedRootsCount() *tests.MultiMsgProcessingSpecTest
WrongExpectedRootsCount tests len(expectedRootObjs) != len(signedMsg.Message.Messages)
Types ¶
This section is empty.
Source Files ¶
- duplicate_msg.go
- duplicate_msg_different_roots.go
- invalid_beacon_sig.go
- invalid_expected_root.go
- invalid_msg_sig.go
- invalid_signed_msg.go
- multi_beacon_sigs_wrong_slot.go
- no_running_duty.go
- post_decided.go
- post_finish.go
- post_quorum.go
- quorum.go
- quorum_10_operators.go
- quorum_13_operators.go
- quorum_7_operators.go
- unknown_beacon_signer.go
- unknown_signer.go
- unordered_expected_roots.go
- valid_msg.go
- valid_msg_10_operators.go
- valid_msg_13_operators.go
- valid_msg_7_operators.go
- wrong_expected_roots_count.go