Documentation ¶
Overview ¶
Package operations defines the life-cycle of beacon block operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents a service that handles the internal logic of beacon block operations.
func NewOperationService ¶
NewOperationService instantiates a new service instance that will be registered into a running beacon node.
func (*Service) IncomingAttFeed ¶
IncomingAttFeed returns a feed that any service can send incoming p2p attestations into. The beacon block operation service will subscribe to this feed in order to relay incoming attestations.
func (*Service) IncomingExitFeed ¶
IncomingExitFeed returns a feed that any service can send incoming p2p exits object into. The beacon block operation service will subscribe to this feed in order to relay incoming exits.
func (*Service) Start ¶
func (s *Service) Start()
Start an beacon block operation service's main event loop.