Documentation ¶
Index ¶
- Variables
- type Client
- type MetadataService
- func (m *MetadataService) Client(ctx context.Context) string
- func (m *MetadataService) DeriveNetwork(_ context.Context) error
- func (m *MetadataService) Name() Name
- func (m *MetadataService) NodeVersion(_ context.Context) string
- func (m *MetadataService) OnReady(ctx context.Context, cb func(context.Context) error)
- func (m *MetadataService) Ready(ctx context.Context) error
- func (m *MetadataService) RefreshAll(ctx context.Context) error
- func (m *MetadataService) Start(ctx context.Context) error
- func (m *MetadataService) Stop(ctx context.Context) error
- func (m *MetadataService) Synced() bool
- func (m *MetadataService) WaitForHealthyBeaconNode(ctx context.Context)
- func (m *MetadataService) Wallclock() *ethwallclock.EthereumBeaconChain
- type Name
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var AllClients = []Client{ ClientUnknown, ClientLighthouse, ClientNimbus, ClientTeku, ClientPrysm, ClientLodestar, }
Functions ¶
This section is empty.
Types ¶
type MetadataService ¶
type MetadataService struct { Network *networks.Network Genesis *v1.Genesis Spec *state.Spec // contains filtered or unexported fields }
func NewMetadataService ¶
func NewMetadataService(log logrus.FieldLogger, sbeacon beacon.Node, overrideNetworkName string) MetadataService
func (*MetadataService) DeriveNetwork ¶
func (m *MetadataService) DeriveNetwork(_ context.Context) error
func (*MetadataService) Name ¶
func (m *MetadataService) Name() Name
func (*MetadataService) NodeVersion ¶
func (m *MetadataService) NodeVersion(_ context.Context) string
func (*MetadataService) RefreshAll ¶
func (m *MetadataService) RefreshAll(ctx context.Context) error
func (*MetadataService) Synced ¶
func (m *MetadataService) Synced() bool
func (*MetadataService) WaitForHealthyBeaconNode ¶
func (m *MetadataService) WaitForHealthyBeaconNode(ctx context.Context)
func (*MetadataService) Wallclock ¶
func (m *MetadataService) Wallclock() *ethwallclock.EthereumBeaconChain
Click to show internal directories.
Click to hide internal directories.