Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithChainTime ¶
WithChainTime sets the chain time for the service.
func WithConsensusClient ¶
func WithConsensusClient(client eth2client.Service) Parameter
WithConsensusClient sets the consensus client for the service.
func WithLogLevel ¶
WithLogLevel sets the log level for the service.
func WithMonitor ¶
WithMonitor sets the monitor.
func WithScheduler ¶
WithScheduler sets the scheduler for the service..
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides cached information.
func (*Service) BlockRootToSlot ¶
BlockRootToSlot provides the slot for a given block root.
func (*Service) ExecutionChainHead ¶ added in v1.6.0
ExecutionChainHead provides the execution chain head.
Click to show internal directories.
Click to hide internal directories.