preconsensus

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

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 InvalidBeaconSignature

func InvalidBeaconSignature() tests.SpecTest

InvalidBeaconSignature tests PartialSignatureMessage signature invalid

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

func InvalidMessageSlot added in v0.3.0

func InvalidMessageSlot() tests.SpecTest

InvalidMessageSlot tests a valid SignedPartialSignatureMessage an invalid msg slot

func InvalidSignedMessage

func InvalidSignedMessage() tests.SpecTest

InvalidSignedMessage tests SignedPartialSignatureMessage.Validate() != nil

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