slashings

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlashingFeature

func (*SlashingFeature) ProcessEpochSlashings

func (f *SlashingFeature) ProcessEpochSlashings()

func (*SlashingFeature) SlashValidator

func (f *SlashingFeature) SlashValidator(slashedIndex ValidatorIndex, whistleblowerIndex *ValidatorIndex)

Slash the validator with the given index.

type SlashingsEpochProcess

type SlashingsEpochProcess interface {
	ProcessEpochSlashings()
}

type SlashingsState

type SlashingsState struct {
	// Balances slashed at every withdrawal period
	Slashings [EPOCHS_PER_SLASHINGS_VECTOR]Gwei
}

func (*SlashingsState) ResetSlashings

func (state *SlashingsState) ResetSlashings(epoch Epoch)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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