scenarios

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: GPL-3.0 Imports: 7 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.IBFT, shares map[uint64]*validatorstorage.Share, dbs []collections.Iibft)
}

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

Jump to

Keyboard shortcuts

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