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.
Click to show internal directories.
Click to hide internal directories.