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, 2024 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentInstance

func CurrentInstance() tests.SpecTest

CurrentInstance tests a decided msg received for current running instance

func CurrentInstanceFutureRound

func CurrentInstanceFutureRound() tests.SpecTest

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

func CurrentInstancePastRound

func CurrentInstancePastRound() tests.SpecTest

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

func DuplicateMsg

func DuplicateMsg() tests.SpecTest

DuplicateMsg tests a duplicate decided msg processing

func DuplicateSigners

func DuplicateSigners() tests.SpecTest

DuplicateSigners tests a decided msg with duplicate signers

func FutureInstance

func FutureInstance() tests.SpecTest

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

func HasQuorum

func HasQuorum() tests.SpecTest

HasQuorum tests decided msg with unique 2f+1 signers

func Invalid

func Invalid() tests.SpecTest

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

func InvalidFullData added in v0.3.0

func InvalidFullData() tests.SpecTest

InvalidFullData tests signed decided with an invalid full data field

func InvalidValCheckData

func InvalidValCheckData() tests.SpecTest

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

func LateDecided

func LateDecided() tests.SpecTest

LateDecided tests processing a decided msg for a just decided instance

func LateDecidedBiggerQuorum

func LateDecidedBiggerQuorum() tests.SpecTest

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

func LateDecidedSmallerQuorum

func LateDecidedSmallerQuorum() tests.SpecTest

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

func MultiDecidedInstances

func MultiDecidedInstances() tests.SpecTest

MultiDecidedInstances tests deciding multiple instances

func NoQuorum

func NoQuorum() tests.SpecTest

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

func PastInstance

func PastInstance() tests.SpecTest

PastInstance tests a decided msg received for past instance

func UnknownSigner

func UnknownSigner() tests.SpecTest

UnknownSigner tests a decided msg with an unknown signer

func Valid added in v0.3.0

func Valid() tests.SpecTest

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

func ValidFullData added in v0.3.0

func ValidFullData() tests.SpecTest

ValidFullData tests signed decided with a valid full data field

func WrongMsgType

func WrongMsgType() tests.SpecTest

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

func WrongSignature

func WrongSignature() tests.SpecTest

WrongSignature tests a single decided 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