Documentation
¶
Overview ¶
Package block contains types for block-specific events fired during the runtime of a beacon node.
Index ¶
Constants ¶
View Source
const ( // ReceivedBlock is sent after a block has been received by the beacon node via p2p or RPC. ReceivedBlock = iota + 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
Notifier interface defines the methods of the service that provides block updates to consumers.
type ReceivedBlockData ¶
type ReceivedBlockData struct { SignedBlock interfaces.SignedBeaconBlock IsOptimistic bool }
ReceivedBlockData is the data sent with ReceivedBlock events.
Click to show internal directories.
Click to hide internal directories.