operation

package
v1.0.0-alpha.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UnaggregatedAttReceived is sent after an unaggregated attestation object has been received
	// from the outside world. (eg. in RPC or sync)
	UnaggregatedAttReceived = iota + 1

	// AggregatedAttReceived is sent after an aggregated attestation object has been received
	// from the outside world. (eg. in sync)
	AggregatedAttReceived

	// ExitReceived is sent after an voluntary exit object has been received from the outside world (eg in RPC or sync)
	ExitReceived
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedAttReceivedData

type AggregatedAttReceivedData struct {
	// Attestation is the aggregated attestation object.
	Attestation *ethpb.AggregateAttestationAndProof
}

AggregatedAttReceivedData is the data sent with AggregatedAttReceived events.

type ExitReceivedData

type ExitReceivedData struct {
	// Exit is the voluntary exit object.
	Exit *ethpb.SignedVoluntaryExit
}

ExitReceivedData is the data sent with ExitReceived events.

type Notifier

type Notifier interface {
	OperationFeed() *event.Feed
}

Notifier interface defines the methods of the service that provides beacon block operation updates to consumers.

type UnAggregatedAttReceivedData

type UnAggregatedAttReceivedData struct {
	// Attestation is the unaggregated attestation object.
	Attestation *ethpb.Attestation
}

UnAggregatedAttReceivedData is the data sent with UnaggregatedAttReceived events.

Jump to

Keyboard shortcuts

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