mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
1d3a9983cc
* Move block interface next to pb * Update fuzz build bazel * Move interface to /proto/interface and wrapper next to generated pb * Fix fuzz build bazel * Add //proto/eth/v1alpha1/wrapper Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
18 lines
453 B
Go
18 lines
453 B
Go
// Package block contains types for block-specific events fired
|
|
// during the runtime of a beacon node.
|
|
package block
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/prysm/proto/interfaces"
|
|
)
|
|
|
|
const (
|
|
// ReceivedBlock is sent after a block has been received by the beacon node via p2p or RPC.
|
|
ReceivedBlock = iota + 1
|
|
)
|
|
|
|
// ReceivedBlockData is the data sent with ReceivedBlock events.
|
|
type ReceivedBlockData struct {
|
|
SignedBlock interfaces.SignedBeaconBlock
|
|
}
|