preconsensus

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DuplicateMsg

func DuplicateMsg() tests.SpecTest

DuplicateMsg tests duplicate SignedPartialSignatureMessage

func DuplicateMsgDifferentRoots

func DuplicateMsgDifferentRoots() tests.SpecTest

DuplicateMsgDifferentRoots tests duplicate SignedPartialSignatureMessage (from same signer) but with different roots

func InconsistentBeaconSigner added in v0.3.0

func InconsistentBeaconSigner() tests.SpecTest

InconsistentBeaconSigner tests a beacon signer != SignedPartialSignatureMessage.signer

func InconsistentOperatorSigner added in v0.3.8

func InconsistentOperatorSigner() tests.SpecTest

InconsistentOperatorSigner tests a SignedSSVMessage with inconsistent signer regarding its nested SignedPartialSignatureMessage

func InvalidBeaconSignatureInQuorum added in v0.3.7

func InvalidBeaconSignatureInQuorum() tests.SpecTest

InvalidBeaconSignatureInQuorum tests a quorum with an invalid PartialSignatureMessage signature

func InvalidDecode added in v0.3.8

func InvalidDecode() tests.SpecTest

InvalidDecode tests a SignedSSVMessage with wrong data that can't be decoded

func InvalidExpectedRoot

func InvalidExpectedRoot() tests.SpecTest

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

func InvalidMessageSignature

func InvalidMessageSignature() tests.SpecTest

InvalidMessageSignature tests SignedPartialSignatureMessage signature invalid. No error is generated since the SignedPartialSignatureMessage.Signature is no longer checked

func InvalidMessageSlot added in v0.3.0

func InvalidMessageSlot() tests.SpecTest

InvalidMessageSlot tests a valid SignedPartialSignatureMessage an invalid msg slot

func InvalidOperatorSignature added in v0.3.8

func InvalidOperatorSignature() tests.SpecTest

InvalidOperatorSignature tests a SignedSSVMessage with invalid signature

func InvalidQuorumThenValidQuorum added in v0.3.7

func InvalidQuorumThenValidQuorum() tests.SpecTest

InvalidQuorumThenValid tests a runner receiving an invalid message forming an invalid quorum, then receiving a valid message forming a valid quorum, terminating successfully

func InvalidSignedMessage

func InvalidSignedMessage() tests.SpecTest

InvalidSignedMessage tests SignedPartialSignatureMessage.Validate() != nil

func InvalidThenQuorum added in v0.3.7

func InvalidThenQuorum() tests.SpecTest

InvalidThenQuorum tests a runner receiving an invalid message then a valid quorum, terminating successfully

func NoRunningDuty

func NoRunningDuty() tests.SpecTest

NoRunningDuty tests a valid partial pre consensus msg before duty starts

func PostDecided

func PostDecided() tests.SpecTest

PostDecided tests a msg received post consensus decided (and post receiving a quorum for pre consensus)

func PostFinish

func PostFinish() tests.SpecTest

PostFinish tests a msg received post runner finished

func PostQuorum

func PostQuorum() tests.SpecTest

PostQuorum tests a msg received post pre consensus quorum

func Quorum

func Quorum() tests.SpecTest

Quorum tests a quorum of valid SignedPartialSignatureMessage

func Quorum10Operators

func Quorum10Operators() tests.SpecTest

Quorum10Operators tests a quorum of valid SignedPartialSignatureMessage (10 operators)

func Quorum13Operators added in v0.3.0

func Quorum13Operators() tests.SpecTest

Quorum13Operators tests a quorum of valid SignedPartialSignatureMessage (13 operators)

func Quorum7Operators

func Quorum7Operators() tests.SpecTest

Quorum7Operators tests a quorum of valid SignedPartialSignatureMessage (7 operators)

func TooFewRoots added in v0.3.0

func TooFewRoots() tests.SpecTest

TooFewRoots tests too few expected roots

func TooManyRoots added in v0.3.0

func TooManyRoots() tests.SpecTest

TooManyRoots tests too many expected roots

func UnknownSigner

func UnknownSigner() tests.SpecTest

UnknownSigner tests SignedPartialSignatureMessage unknown signer

func UnorderedExpectedRoots

func UnorderedExpectedRoots() tests.SpecTest

UnorderedExpectedRoots tests expected roots to match but out of order, should return error

func ValidMessage

func ValidMessage() tests.SpecTest

ValidMessage tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages

func ValidMessage10Operators

func ValidMessage10Operators() tests.SpecTest

ValidMessage10Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (10 operators)

func ValidMessage13Operators

func ValidMessage13Operators() tests.SpecTest

ValidMessage13Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (13 operators)

func ValidMessage7Operators

func ValidMessage7Operators() tests.SpecTest

ValidMessage7Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages (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