consensus

package
v0.3.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FutureDecided

func FutureDecided() tests.SpecTest

FutureDecided tests a running instance at a certain height, then processing a decided msg from a larger height. then returning an error and don't move to post consensus as it's not the same instance decided

func FutureDecidedNoInstance

func FutureDecidedNoInstance() tests.SpecTest

FutureDecidedNoInstance tests processing a decided msg from a larger height with no running instance then returning an error and don't move to post consensus as it's not the same instance decided

func FutureMessage

func FutureMessage() tests.SpecTest

FutureMessage tests a valid proposal future msg

func InvalidDecidedValue

func InvalidDecidedValue() tests.SpecTest

InvalidDecidedValue tests an invalid decided value ConsensusData.Validate() != nil (unknown duty role)

func InvalidSignature

func InvalidSignature() tests.SpecTest

InvalidSignature tests a consensus message with an invalid signature

func PastMessage

func PastMessage() tests.SpecTest

PastMessage tests a valid proposal past msg

func PostDecided

func PostDecided() tests.SpecTest

PostDecided tests a valid commit msg after returned decided already

func PostFinish

func PostFinish() tests.SpecTest

PostFinish tests a valid commit msg after runner finished

func ValidDecided

func ValidDecided() tests.SpecTest

ValidDecided tests a valid decided value

func ValidDecided10Operators

func ValidDecided10Operators() tests.SpecTest

ValidDecided10Operators tests a valid decided value (10 operators)

func ValidDecided13Operators

func ValidDecided13Operators() tests.SpecTest

ValidDecided13Operators tests a valid decided value (13 operators)

func ValidDecided7Operators

func ValidDecided7Operators() tests.SpecTest

ValidDecided7Operators tests a valid decided value (7 operators)

func ValidMessage

func ValidMessage() tests.SpecTest

ValidMessage tests a valid consensus message

Types

This section is empty.

Jump to

Keyboard shortcuts

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