automation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConsensusRole     = "consensus-role"
	ConsensusTestcase = "consensus-testcase"
)

Variables

View Source
var (
	SleepTimerOnce sync.Once
)

Functions

func AddBlockTimeOut

func AddBlockTimeOut(height int64, round int)

func BlockIsNotCompleted

func BlockIsNotCompleted(height int64, round int) bool

func LoadTestCase

func LoadTestCase(log log.Logger)

func NetworkDisconnect

func NetworkDisconnect(height int64, round int) bool

func PrecommitNil

func PrecommitNil(height int64, round int) bool

func PrecommitsNotMaj23

func PrecommitsNotMaj23(height int64, round int) bool

func PrevoteNil

func PrevoteNil(height int64, round int) bool

func PrevotesNotMaj23

func PrevotesNotMaj23(height int64, round int) bool

Types

type SleepTimer

type SleepTimer struct {
	// contains filtered or unexported fields
}

func SleepTimerInstance

func SleepTimerInstance() *SleepTimer

Jump to

Keyboard shortcuts

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