scenarios

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: GPL-3.0 Imports: 6 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)
}

IScenario is an interface for simulator scenarios

func NewF1Speedup

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

NewF1Speedup returns initialized f1Speedup 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