copyutil

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyAttestation

func CopyAttestation(att *ethpb.Attestation) *ethpb.Attestation

CopyAttestation copies the provided attestation object.

func CopyAttestationData

func CopyAttestationData(attData *ethpb.AttestationData) *ethpb.AttestationData

CopyAttestationData copies the provided AttestationData object.

func CopyAttestations

func CopyAttestations(attestations []*ethpb.Attestation) []*ethpb.Attestation

CopyAttestations copies the provided Attestation array.

func CopyAttesterSlashings

func CopyAttesterSlashings(slashings []*ethpb.AttesterSlashing) []*ethpb.AttesterSlashing

CopyAttesterSlashings copies the provided AttesterSlashings array.

func CopyBeaconBlock

func CopyBeaconBlock(block *ethpb.BeaconBlock) *ethpb.BeaconBlock

CopyBeaconBlock copies the provided BeaconBlock.

func CopyBeaconBlockBody

func CopyBeaconBlockBody(body *ethpb.BeaconBlockBody) *ethpb.BeaconBlockBody

CopyBeaconBlockBody copies the provided BeaconBlockBody.

func CopyBeaconBlockHeader

func CopyBeaconBlockHeader(header *ethpb.BeaconBlockHeader) *ethpb.BeaconBlockHeader

CopyBeaconBlockHeader copies the provided BeaconBlockHeader.

func CopyCheckpoint

func CopyCheckpoint(cp *ethpb.Checkpoint) *ethpb.Checkpoint

CopyCheckpoint copies the provided checkpoint.

func CopyDeposit

func CopyDeposit(deposit *ethpb.Deposit) *ethpb.Deposit

CopyDeposit copies the provided deposit.

func CopyDepositData

func CopyDepositData(depData *ethpb.Deposit_Data) *ethpb.Deposit_Data

CopyDepositData copies the provided deposit data.

func CopyDeposits

func CopyDeposits(deposits []*ethpb.Deposit) []*ethpb.Deposit

CopyDeposits copies the provided deposit array.

func CopyETH1Data

func CopyETH1Data(data *ethpb.Eth1Data) *ethpb.Eth1Data

CopyETH1Data copies the provided eth1data object.

func CopyIndexedAttestation

func CopyIndexedAttestation(indexedAtt *ethpb.IndexedAttestation) *ethpb.IndexedAttestation

CopyIndexedAttestation copies the provided IndexedAttestation.

func CopyPendingAttestation

func CopyPendingAttestation(att *pbp2p.PendingAttestation) *pbp2p.PendingAttestation

CopyPendingAttestation copies the provided pending attestation object.

func CopyProposerSlashing

func CopyProposerSlashing(slashing *ethpb.ProposerSlashing) *ethpb.ProposerSlashing

CopyProposerSlashing copies the provided ProposerSlashing.

func CopyProposerSlashings

func CopyProposerSlashings(slashings []*ethpb.ProposerSlashing) []*ethpb.ProposerSlashing

CopyProposerSlashings copies the provided ProposerSlashing array.

func CopySignedBeaconBlock

func CopySignedBeaconBlock(sigBlock *ethpb.SignedBeaconBlock) *ethpb.SignedBeaconBlock

CopySignedBeaconBlock copies the provided SignedBeaconBlock.

func CopySignedBeaconBlockHeader

func CopySignedBeaconBlockHeader(header *ethpb.SignedBeaconBlockHeader) *ethpb.SignedBeaconBlockHeader

CopySignedBeaconBlockHeader copies the provided SignedBeaconBlockHeader.

func CopySignedVoluntaryExit

func CopySignedVoluntaryExit(exit *ethpb.SignedVoluntaryExit) *ethpb.SignedVoluntaryExit

CopySignedVoluntaryExit copies the provided SignedVoluntaryExit.

func CopySignedVoluntaryExits

func CopySignedVoluntaryExits(exits []*ethpb.SignedVoluntaryExit) []*ethpb.SignedVoluntaryExit

CopySignedVoluntaryExits copies the provided SignedVoluntaryExits array.

func CopySyncCommitteeContribution added in v1.4.1

func CopySyncCommitteeContribution(c *prysmv2.SyncCommitteeContribution) *prysmv2.SyncCommitteeContribution

CopySyncCommitteeContribution copies the provided sync committee contribution object.

func CopyValidator

func CopyValidator(val *ethpb.Validator) *ethpb.Validator

CopyValidator copies the provided validator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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