migration

package
v5.2.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL