consensus

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 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 FutureMessage added in v0.3.1

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 PastMessage added in v0.3.1

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 added in v0.3.0

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