Documentation ¶
Index ¶
- type IScenario
- func FarFutureSync(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario
- func NewChangeRoundSpeedup(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario
- func NewF1MultiRound(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario
- func NewF1Speedup(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario
- func NewRegularScenario(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario
- func SyncFailover(logger *zap.Logger, valueCheck valcheck.ValueCheck) IScenario
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
Click to show internal directories.
Click to hide internal directories.