types

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Unknown default status in case it is not set
	Unknown = iota
	// Active slashing proof hasn't been included yet.
	Active
	// Included slashing proof that has been included in a block.
	Included
	// Reverted slashing proof that has been reverted and therefore is relevant again.
	Reverted //relevant again
)
View Source
const (
	// Proposal enum value.
	Proposal = iota
	// Attestation enum value.
	Attestation
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SlashingStatus

type SlashingStatus uint8

SlashingStatus enum like structure.

func (SlashingStatus) String

func (status SlashingStatus) String() string

type SlashingType

type SlashingType uint8

SlashingType enum like type of slashing proof.

func (SlashingType) String

func (status SlashingType) String() string

String returns the string representation of the status SlashingType.

Jump to

Keyboard shortcuts

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