preconsensus

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL