postconsensus

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: GPL-3.0 Imports: 8 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 InconsistentBeaconSigner

func InconsistentBeaconSigner() *tests.MultiMsgProcessingSpecTest

InconsistentBeaconSigner tests a beacon signer != SignedPartialSignatureMessage.signer

func InvalidBeaconSignature

func InvalidBeaconSignature() *tests.MultiMsgProcessingSpecTest

InvalidBeaconSignature tests PartialSignatureMessage signature invalid

func InvalidDecidedValue

func InvalidDecidedValue() *tests.MultiMsgProcessingSpecTest

InvalidDecidedValue tests an invalid decided value

func InvalidExpectedRoot

func InvalidExpectedRoot() *tests.MultiMsgProcessingSpecTest

InvalidExpectedRoot tests 1 expected root which doesn't match the signed root

func InvalidMessage

func InvalidMessage() *tests.MultiMsgProcessingSpecTest

InvalidMessage tests a valid SignedPartialSignatureMessage.valid() != nil

func InvalidMessageSignature

func InvalidMessageSignature() *tests.MultiMsgProcessingSpecTest

InvalidMessageSignature tests PartialSignatureMessage signature invalid

func NoRunningDuty

func NoRunningDuty() *tests.MultiMsgProcessingSpecTest

NoRunningDuty tests a valid SignedPartialSignatureMessage without a running duty

func PostFinish

func PostFinish() *tests.MultiMsgProcessingSpecTest

PostFinish tests a valid SignedPartialSignatureMessage post finished runner

func PostQuorum

func PostQuorum() *tests.MultiMsgProcessingSpecTest

PostQuorum tests a msg received post pre consensus quorum

func PreDecided

func PreDecided() *tests.MultiMsgProcessingSpecTest

PreDecided tests a valid SignedPartialSignatureMessage sent before decided reached, should error

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 Quorum13Operators

func Quorum13Operators() *tests.MultiMsgProcessingSpecTest

Quorum13Operators tests a quorum of valid SignedPartialSignatureMessage 13 operators

func Quorum7Operators

func Quorum7Operators() *tests.MultiMsgProcessingSpecTest

Quorum7Operators tests a quorum of valid SignedPartialSignatureMessage 7 operators

func TooFewRoots

func TooFewRoots() *tests.MultiMsgProcessingSpecTest

TooFewRoots tests a valid SignedPartialSignatureMessage with too few roots

func TooManyRoots

func TooManyRoots() *tests.MultiMsgProcessingSpecTest

TooManyRoots tests a valid SignedPartialSignatureMessage with too many roots

func UnknownSigner

func UnknownSigner() *tests.MultiMsgProcessingSpecTest

UnknownSigner tests an unknown signer

func UnorderedExpectedRoots

func UnorderedExpectedRoots() *tests.MultiMsgProcessingSpecTest

UnorderedExpectedRoots tests a valid SignedPartialSignatureMessage with unordered roots

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 with 10 operators

func ValidMessage13Operators

func ValidMessage13Operators() *tests.MultiMsgProcessingSpecTest

ValidMessage13Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 13 operators

func ValidMessage7Operators

func ValidMessage7Operators() *tests.MultiMsgProcessingSpecTest

ValidMessage7Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 7 operators

Types

This section is empty.

Jump to

Keyboard shortcuts

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