propslash

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProposerSlashingSSZ = zssz.GetSSZ((*ProposerSlashing)(nil))

Functions

This section is empty.

Types

type PropSlashFeature

type PropSlashFeature struct {
	Meta interface {
		meta.Versioning
		meta.RegistrySize
		meta.Validators
		meta.Proposers
		meta.Balance
		meta.Exits
		meta.Slasher
	}
}

func (*PropSlashFeature) ProcessProposerSlashing

func (f *PropSlashFeature) ProcessProposerSlashing(ps *ProposerSlashing) error

func (*PropSlashFeature) ProcessProposerSlashings

func (f *PropSlashFeature) ProcessProposerSlashings(ops []ProposerSlashing) error

type ProposerSlashing

type ProposerSlashing struct {
	ProposerIndex ValidatorIndex
	Header1       BeaconBlockHeader // First proposal
	Header2       BeaconBlockHeader // Second proposal
}

type ProposerSlashingProcessor

type ProposerSlashingProcessor interface {
	ProcessProposerSlashings(ops []ProposerSlashing) error
	ProcessProposerSlashing(ps *ProposerSlashing) error
}

Jump to

Keyboard shortcuts

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