Documentation ¶
Index ¶
- func V1Alpha1ConnectionStateToV1(connState eth.ConnectionState) ethpb.ConnectionState
- func V1Alpha1HeaderToV1(v1alpha1Hdr *ethpbalpha.BeaconBlockHeader) *ethpbv1.BeaconBlockHeader
- func V1Alpha1PeerDirectionToV1(peerDirection eth.PeerDirection) (ethpb.PeerDirection, error)
- func V1Alpha1SignedHeaderToV1(v1alpha1Hdr *ethpbalpha.SignedBeaconBlockHeader) *ethpbv1.SignedBeaconBlockHeader
- func V1Alpha1SyncCommitteeToV2(alphaCommittee *ethpbalpha.SyncCommittee) *ethpbv2.SyncCommittee
- func V1HeaderToV1Alpha1(v1Header *ethpbv1.BeaconBlockHeader) *ethpbalpha.BeaconBlockHeader
- func V1ValidatorToV1Alpha1(v1Validator *ethpbv1.Validator) *ethpbalpha.Validator
- func V2SyncCommitteeToV1Alpha1(committee *ethpbv2.SyncCommittee) *ethpbalpha.SyncCommittee
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func V1Alpha1ConnectionStateToV1 ¶
func V1Alpha1ConnectionStateToV1(connState eth.ConnectionState) ethpb.ConnectionState
func V1Alpha1HeaderToV1 ¶
func V1Alpha1HeaderToV1(v1alpha1Hdr *ethpbalpha.BeaconBlockHeader) *ethpbv1.BeaconBlockHeader
V1Alpha1HeaderToV1 converts a v1alpha1 beacon block header to v1.
func V1Alpha1PeerDirectionToV1 ¶
func V1Alpha1PeerDirectionToV1(peerDirection eth.PeerDirection) (ethpb.PeerDirection, error)
func V1Alpha1SignedHeaderToV1 ¶
func V1Alpha1SignedHeaderToV1(v1alpha1Hdr *ethpbalpha.SignedBeaconBlockHeader) *ethpbv1.SignedBeaconBlockHeader
V1Alpha1SignedHeaderToV1 converts a v1alpha1 signed beacon block header to v1.
func V1Alpha1SyncCommitteeToV2 ¶
func V1Alpha1SyncCommitteeToV2(alphaCommittee *ethpbalpha.SyncCommittee) *ethpbv2.SyncCommittee
V1Alpha1SyncCommitteeToV2 converts a v1alpha1 SyncCommittee object to its v2 equivalent.
func V1HeaderToV1Alpha1 ¶
func V1HeaderToV1Alpha1(v1Header *ethpbv1.BeaconBlockHeader) *ethpbalpha.BeaconBlockHeader
V1HeaderToV1Alpha1 converts a v1 beacon block header to v1alpha1.
func V1ValidatorToV1Alpha1 ¶
func V1ValidatorToV1Alpha1(v1Validator *ethpbv1.Validator) *ethpbalpha.Validator
V1ValidatorToV1Alpha1 converts a v1 validator to v1alpha1.
func V2SyncCommitteeToV1Alpha1 ¶
func V2SyncCommitteeToV1Alpha1(committee *ethpbv2.SyncCommittee) *ethpbalpha.SyncCommittee
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.