experiments

package
v0.0.0-...-fb4f826 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CorrectExecution

type CorrectExecution struct{}

func (*CorrectExecution) Name

func (expm *CorrectExecution) Name() string

func (*CorrectExecution) Run

func (expm *CorrectExecution) Run(cls *cluster.Cluster) error

type MajorityKeepRunning

type MajorityKeepRunning struct{}

func (*MajorityKeepRunning) Name

func (expm *MajorityKeepRunning) Name() string

func (*MajorityKeepRunning) Run

func (expm *MajorityKeepRunning) Run(cls *cluster.Cluster) error

Keep majority (2f+1) validators running while stopping the rest The blockchain should keep remain healthy When the stopped nodes up again, they should sync the history

type NetworkDelay

type NetworkDelay struct {
	Delay time.Duration
}

func (*NetworkDelay) Name

func (expm *NetworkDelay) Name() string

func (*NetworkDelay) Run

func (expm *NetworkDelay) Run(cls *cluster.Cluster) error

type NetworkPacketLoss

type NetworkPacketLoss struct {
	Percent float64
}

func (*NetworkPacketLoss) Name

func (expm *NetworkPacketLoss) Name() string

func (*NetworkPacketLoss) Run

func (expm *NetworkPacketLoss) Run(cls *cluster.Cluster) error

type RestartCluster

type RestartCluster struct{}

func (*RestartCluster) Name

func (expm *RestartCluster) Name() string

func (*RestartCluster) Run

func (expm *RestartCluster) Run(cls *cluster.Cluster) error

Jump to

Keyboard shortcuts

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