Documentation ¶
Index ¶
- func JsonifySignedVoluntaryExits(voluntaryExits []*ethpb.SignedVoluntaryExit) []*shared.SignedVoluntaryExit
- func NewBeaconApiBeaconChainClientWithFallback(host string, timeout time.Duration, fallbackClient iface.BeaconChainClient) iface.BeaconChainClient
- func NewBeaconApiValidatorClient(host string, timeout time.Duration) iface.ValidatorClient
- func NewNodeClientWithFallback(host string, timeout time.Duration, fallbackClient iface.NodeClient) iface.NodeClient
- func NewPrysmBeaconChainClient(host string, timeout time.Duration, nodeClient iface.NodeClient) iface.PrysmBeaconChainClient
- type BeaconBlockConverter
- type DoppelGangerInfo
- type GenesisProvider
- type IndexNotFoundError
- type JsonRestHandler
- type StateValidatorsProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonifySignedVoluntaryExits ¶ added in v4.0.3
func JsonifySignedVoluntaryExits(voluntaryExits []*ethpb.SignedVoluntaryExit) []*shared.SignedVoluntaryExit
JsonifySignedVoluntaryExits converts an array of voluntary exit structs to a JSON hex string compatible format.
func NewBeaconApiBeaconChainClientWithFallback ¶
func NewBeaconApiBeaconChainClientWithFallback(host string, timeout time.Duration, fallbackClient iface.BeaconChainClient) iface.BeaconChainClient
func NewBeaconApiValidatorClient ¶
func NewBeaconApiValidatorClient(host string, timeout time.Duration) iface.ValidatorClient
func NewNodeClientWithFallback ¶
func NewNodeClientWithFallback(host string, timeout time.Duration, fallbackClient iface.NodeClient) iface.NodeClient
func NewPrysmBeaconChainClient ¶ added in v4.2.0
func NewPrysmBeaconChainClient(host string, timeout time.Duration, nodeClient iface.NodeClient) iface.PrysmBeaconChainClient
NewPrysmBeaconChainClient returns implementation of iface.PrysmBeaconChainClient.
Types ¶
type BeaconBlockConverter ¶ added in v4.2.0
type BeaconBlockConverter interface { ConvertRESTPhase0BlockToProto(block *shared.BeaconBlock) (*ethpb.BeaconBlock, error) ConvertRESTAltairBlockToProto(block *shared.BeaconBlockAltair) (*ethpb.BeaconBlockAltair, error) ConvertRESTBellatrixBlockToProto(block *shared.BeaconBlockBellatrix) (*ethpb.BeaconBlockBellatrix, error) ConvertRESTCapellaBlockToProto(block *shared.BeaconBlockCapella) (*ethpb.BeaconBlockCapella, error) }
type DoppelGangerInfo ¶
type DoppelGangerInfo struct {
// contains filtered or unexported fields
}
type GenesisProvider ¶ added in v4.2.0
type IndexNotFoundError ¶ added in v4.2.0
type IndexNotFoundError struct {
// contains filtered or unexported fields
}
IndexNotFoundError represents an error scenario where no validator index matches a pubkey.
func NewIndexNotFoundError ¶ added in v4.2.0
func NewIndexNotFoundError(pubkey string) IndexNotFoundError
NewIndexNotFoundError creates a new error instance.
func (*IndexNotFoundError) Error ¶ added in v4.2.0
func (e *IndexNotFoundError) Error() string
Error returns the underlying error message.
type JsonRestHandler ¶ added in v4.2.0
type StateValidatorsProvider ¶ added in v4.2.0
type StateValidatorsProvider interface { GetStateValidators(context.Context, []string, []primitives.ValidatorIndex, []string) (*beacon.GetValidatorsResponse, error) GetStateValidatorsForSlot(context.Context, primitives.Slot, []string, []primitives.ValidatorIndex, []string) (*beacon.GetValidatorsResponse, error) GetStateValidatorsForHead(context.Context, []string, []primitives.ValidatorIndex, []string) (*beacon.GetValidatorsResponse, error) }
Source Files ¶
- activation.go
- attestation_data.go
- beacon_api_beacon_chain_client.go
- beacon_api_helpers.go
- beacon_api_node_client.go
- beacon_api_validator_client.go
- beacon_block_converter.go
- beacon_block_json_helpers.go
- beacon_block_proto_helpers.go
- domain_data.go
- doppelganger.go
- duties.go
- genesis.go
- get_beacon_block.go
- index.go
- json_rest_handler.go
- log.go
- prepare_beacon_proposer.go
- propose_attestation.go
- propose_beacon_block.go
- propose_exit.go
- prysm_beacon_chain_client.go
- registration.go
- state_validators.go
- status.go
- stream_blocks.go
- submit_aggregate_selection_proof.go
- submit_signed_aggregate_proof.go
- submit_signed_contribution_and_proof.go
- subscribe_committee_subnets.go
- sync_committee.go
Directories ¶
Path | Synopsis |
---|---|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.