decided

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentInstance

func CurrentInstance() *tests.ControllerSpecTest

CurrentInstance tests a decided msg received for current running instance

func CurrentInstanceFutureRound

func CurrentInstanceFutureRound() *tests.ControllerSpecTest

CurrentInstanceFutureRound tests a decided msg received for current running instance for a future round

func CurrentInstancePastRound

func CurrentInstancePastRound() *tests.ControllerSpecTest

CurrentInstancePastRound tests a decided msg received for current running instance for a past round

func DuplicateMsg

func DuplicateMsg() *tests.ControllerSpecTest

DuplicateMsg tests a duplicate decided msg processing

func DuplicateSigners

func DuplicateSigners() *tests.ControllerSpecTest

DuplicateSigners tests a decided msg with duplicate signers

func FutureInstance

func FutureInstance() *tests.ControllerSpecTest

FutureInstance tests decided msg received for future (not yet started) instance

func HasQuorum

func HasQuorum() *tests.ControllerSpecTest

HasQuorum tests decided msg with unique 2f+1 signers

func ImparsableData

func ImparsableData() *tests.ControllerSpecTest

ImparsableData tests a decided msg received with the wrong commit data

func Invalid

func Invalid() *tests.ControllerSpecTest

Invalid tests decided msg where msg.validate() != nil

func InvalidData

func InvalidData() *tests.ControllerSpecTest

InvalidData tests decided data for which commitData.validate() != nil

func InvalidValCheckData

func InvalidValCheckData() *tests.ControllerSpecTest

InvalidValCheckData tests a decided message with invalid decided data (but should pass as it's decided)

func LateDecided

func LateDecided() *tests.ControllerSpecTest

LateDecided tests processing a decided msg for a just decided instance

func LateDecidedBiggerQuorum

func LateDecidedBiggerQuorum() *tests.ControllerSpecTest

LateDecidedBiggerQuorum tests processing a decided msg for a just decided instance (with a bigger quorum)

func LateDecidedSmallerQuorum

func LateDecidedSmallerQuorum() *tests.ControllerSpecTest

LateDecidedSmallerQuorum tests processing a decided msg for a just decided instance (with a smaller quorum)

func MultiDecidedInstances

func MultiDecidedInstances() *tests.ControllerSpecTest

MultiDecidedInstances tests deciding multiple instances

func NoQuorum

func NoQuorum() *tests.ControllerSpecTest

NoQuorum tests decided msg with < unique 2f+1 signers

func PastInstance

func PastInstance() *tests.ControllerSpecTest

PastInstance tests a decided msg received for past instance

func UnknownSigner

func UnknownSigner() *tests.ControllerSpecTest

UnknownSigner tests a decided msg with an unknown signer

func Valid

func Valid() *tests.ControllerSpecTest

Valid tests a valid decided msg with unique 2f+1 signers

func WrongMsgType

func WrongMsgType() *tests.ControllerSpecTest

WrongMsgType tests a non commit msg with 2f+1 signers

func WrongSignature

func WrongSignature() *tests.ControllerSpecTest

WrongSignature tests a single commit received with a wrong signature

Types

This section is empty.

Jump to

Keyboard shortcuts

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