Documentation ¶
Overview ¶
Package eth2wrap provides a wrapper for eth2http.Service adding prometheus metrics and error wrapping.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.10.0
type Client interface { eth2client.Service eth2exp.BeaconCommitteeSubscriptionsSubmitterV2 eth2client.AggregateAttestationProvider eth2client.AggregateAttestationsSubmitter eth2client.AttestationDataProvider eth2client.AttestationsSubmitter eth2client.AttesterDutiesProvider eth2client.BeaconBlockProposalProvider eth2client.BeaconBlockSubmitter eth2client.BeaconCommitteeSubscriptionsSubmitter eth2client.BeaconCommitteesProvider eth2client.BlindedBeaconBlockProposalProvider eth2client.BlindedBeaconBlockSubmitter eth2client.DepositContractProvider eth2client.DomainProvider eth2client.EventsProvider eth2client.ForkProvider eth2client.ForkScheduleProvider eth2client.GenesisProvider eth2client.GenesisTimeProvider eth2client.NodeSyncingProvider eth2client.NodeVersionProvider eth2client.ProposerDutiesProvider eth2client.SlotDurationProvider eth2client.SlotsPerEpochProvider eth2client.SpecProvider eth2client.SyncCommitteeContributionProvider eth2client.SyncCommitteeContributionsSubmitter eth2client.SyncCommitteeDutiesProvider eth2client.SyncCommitteeMessagesSubmitter eth2client.SyncCommitteeSubscriptionsSubmitter eth2client.ValidatorRegistrationsSubmitter eth2client.ValidatorsProvider eth2client.VoluntaryExitSubmitter }
Client defines all go-eth2-client interfaces used in charon.
func AdaptEth2HTTP ¶ added in v0.10.1
AdaptEth2HTTP returns a Client wrapping an eth2http service by adding experimental endpoints.
func Instrument ¶ added in v0.10.1
Instrument returns a new multi instrumented client using the provided clients as backends.
Click to show internal directories.
Click to hide internal directories.