prysm-pulse/beacon-chain/core/feed/block/events.go
Raul Jordan 9145310647
Eliminate Proto V2 Namespace (#9297)
* get rid of v2 in prysm codebase

* replace block2

* builds

* terence comments

* gazelle
2021-07-28 21:23:44 +00:00

18 lines
458 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/prysm/v1alpha1/block"
)
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 block.SignedBeaconBlock
}