postconsensus

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 10 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

func InconsistentBeaconSigner() tests.SpecTest

InconsistentBeaconSigner tests a beacon signer != SignedPartialSignatureMessage.signer

func InvalidBeaconSignature

func InvalidBeaconSignature() tests.SpecTest

InvalidBeaconSignature tests PartialSignatureMessage signature invalid

func InvalidDecidedValue

func InvalidDecidedValue() tests.SpecTest

InvalidDecidedValue tests an invalid decided value

func InvalidExpectedRoot

func InvalidExpectedRoot() tests.SpecTest

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

func InvalidMessage

func InvalidMessage() tests.SpecTest

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

func InvalidMessageSignature

func InvalidMessageSignature() tests.SpecTest

InvalidMessageSignature tests PartialSignatureMessage signature invalid

func InvalidMessageSlot

func InvalidMessageSlot() tests.SpecTest

InvalidMessageSlot tests a valid SignedPartialSignatureMessage with an invalid msg slot

func NoRunningDuty

func NoRunningDuty() tests.SpecTest

NoRunningDuty tests a valid SignedPartialSignatureMessage without a running duty

func PostFinish

func PostFinish() tests.SpecTest

PostFinish tests a valid SignedPartialSignatureMessage post finished runner

func PostQuorum

func PostQuorum() tests.SpecTest

PostQuorum tests a msg received post post-consensus quorum

func PreDecided

func PreDecided() tests.SpecTest

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

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

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

func TooFewRoots() tests.SpecTest

TooFewRoots tests a valid SignedPartialSignatureMessage with too few roots

func TooManyRoots

func TooManyRoots() tests.SpecTest

TooManyRoots tests a valid SignedPartialSignatureMessage with too many roots

func UnknownSigner

func UnknownSigner() tests.SpecTest

UnknownSigner tests an unknown signer

func UnorderedExpectedRoots

func UnorderedExpectedRoots() tests.SpecTest

UnorderedExpectedRoots tests a valid SignedPartialSignatureMessage with unordered roots

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

func ValidMessage13Operators

func ValidMessage13Operators() tests.SpecTest

ValidMessage13Operators tests a valid SignedPartialSignatureMessage with multi PartialSignatureMessages with 13 operators

func ValidMessage7Operators

func ValidMessage7Operators() tests.SpecTest

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