scenarios

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IScenario

type IScenario interface {
	// Start is a blocking call to start scenario
	Start(nodes []ibft.IController, dbs []qbftstorage.QBFTStore)
}

IScenario is an interface for simulator scenarios

func FarFutureSync added in v0.0.14

func FarFutureSync(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario

FarFutureSync returns initialized farFutureSync scenario

func NewChangeRoundSpeedup added in v0.0.14

func NewChangeRoundSpeedup(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario

NewChangeRoundSpeedup returns initialized changeRoundSpeedup scenario

func NewF1MultiRound added in v0.0.14

func NewF1MultiRound(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario

NewF1MultiRound returns initialized f1Speedup scenario

func NewF1Speedup

func NewF1Speedup(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario

NewF1Speedup returns initialized changeRoundSpeedup scenario

func NewRegularScenario

func NewRegularScenario(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario

NewRegularScenario returns initialized regular scenario

func SyncFailover added in v0.1.7

func SyncFailover(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario

SyncFailover returns initialized farFutureSync scenario

Jump to

Keyboard shortcuts

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