contributionproof

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DuplicateMsgs

func DuplicateMsgs() *tests.SpecTest

DuplicateMsgs tests processing duplicate msgs

func MsgInvalid

func MsgInvalid() *tests.SpecTest

MsgInvalid tests an invalid partial selection proof sig msg (fails msg.Validate()) that fails to process

func MultiSigningRoot

func MultiSigningRoot() *tests.SpecTest

MultiSigningRoot tests a processing multiple signing root with no quorum in neither

func MultiSigningRootMultiQuorum

func MultiSigningRootMultiQuorum() *tests.SpecTest

MultiSigningRootMultiQuorum tests processing multiple signing root with multi quorum

func MultiSigningRootMultiQuorum2

func MultiSigningRootMultiQuorum2() *tests.SpecTest

MultiSigningRootMultiQuorum2 tests processing multiple signing root with multi quorum which happen one after the other to try and cause multiple consensus instance to start

func MultiSigningRootQuorum

func MultiSigningRootQuorum() *tests.SpecTest

MultiSigningRootQuorum tests a processing multiple signing root with 1 quorum in one of them

func PostQuorumMsg

func PostQuorumMsg() *tests.SpecTest

PostQuorumMsg tests processing a post consensus msg after a quorum has been reached by past msgs

func QuorumAchieved

func QuorumAchieved() *tests.SpecTest

QuorumAchieved tests reaching selection proof quorum

func ValidMsg

func ValidMsg() *tests.SpecTest

ValidMsg tests a single valid partial selection proof sig msg

func WrongRandaoSig

func WrongRandaoSig() *tests.SpecTest

WrongRandaoSig tests an invalid selection proof sig over root

func WrongSig

func WrongSig() *tests.SpecTest

WrongSig tests an invalid SignedPostConsensusMessage sig

func WrongSigningRoot

func WrongSigningRoot() *tests.SpecTest

WrongSigningRoot tests a wrong selection proof signing root

func WrongSlot

func WrongSlot() *tests.SpecTest

WrongSlot tests a partial selection proof sig msg with the wrong slot

Types

This section is empty.

Jump to

Keyboard shortcuts

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