mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
16 lines
354 B
Go
16 lines
354 B
Go
|
package block
|
||
|
|
||
|
import (
|
||
|
ethpb "github.com/prysmaticlabs/ethereumapis/eth/v1alpha1"
|
||
|
)
|
||
|
|
||
|
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 *ethpb.SignedBeaconBlock
|
||
|
}
|