Versions in this module Expand all Collapse all v1 v1.0.0 Jul 16, 2024 Changes in this version + type BeaconBlock struct + Body *BeaconBlockBody + ParentRoot phase0.Root + ProposerIndex phase0.ValidatorIndex + Slot phase0.Slot + StateRoot phase0.Root + func (b *BeaconBlock) GetTree() (*ssz.Node, error) + func (b *BeaconBlock) HashTreeRoot() ([32]byte, error) + func (b *BeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (b *BeaconBlock) MarshalJSON() ([]byte, error) + func (b *BeaconBlock) MarshalSSZ() ([]byte, error) + func (b *BeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (b *BeaconBlock) MarshalYAML() ([]byte, error) + func (b *BeaconBlock) SizeSSZ() (size int) + func (b *BeaconBlock) String() string + func (b *BeaconBlock) UnmarshalJSON(input []byte) error + func (b *BeaconBlock) UnmarshalSSZ(buf []byte) error + func (b *BeaconBlock) UnmarshalYAML(input []byte) error + type BeaconBlockBody struct + Attestations []*phase0.Attestation + AttesterSlashings []*phase0.AttesterSlashing + Deposits []*phase0.Deposit + ETH1Data *phase0.ETH1Data + Graffiti [32]byte + ProposerSlashings []*phase0.ProposerSlashing + RANDAOReveal phase0.BLSSignature + SyncAggregate *SyncAggregate + VoluntaryExits []*phase0.SignedVoluntaryExit + func (b *BeaconBlockBody) GetTree() (*ssz.Node, error) + func (b *BeaconBlockBody) HashTreeRoot() ([32]byte, error) + func (b *BeaconBlockBody) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (b *BeaconBlockBody) MarshalJSON() ([]byte, error) + func (b *BeaconBlockBody) MarshalSSZ() ([]byte, error) + func (b *BeaconBlockBody) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (b *BeaconBlockBody) MarshalYAML() ([]byte, error) + func (b *BeaconBlockBody) SizeSSZ() (size int) + func (b *BeaconBlockBody) String() string + func (b *BeaconBlockBody) UnmarshalJSON(input []byte) error + func (b *BeaconBlockBody) UnmarshalSSZ(buf []byte) error + func (b *BeaconBlockBody) UnmarshalYAML(input []byte) error + type BeaconState struct + Balances []phase0.Gwei + BlockRoots []phase0.Root + CurrentEpochParticipation []ParticipationFlags + CurrentJustifiedCheckpoint *phase0.Checkpoint + CurrentSyncCommittee *SyncCommittee + ETH1Data *phase0.ETH1Data + ETH1DataVotes []*phase0.ETH1Data + ETH1DepositIndex uint64 + FinalizedCheckpoint *phase0.Checkpoint + Fork *phase0.Fork + GenesisTime uint64 + GenesisValidatorsRoot phase0.Root + HistoricalRoots []phase0.Root + InactivityScores []uint64 + JustificationBits bitfield.Bitvector4 + LatestBlockHeader *phase0.BeaconBlockHeader + NextSyncCommittee *SyncCommittee + PreviousEpochParticipation []ParticipationFlags + PreviousJustifiedCheckpoint *phase0.Checkpoint + RANDAOMixes []phase0.Root + Slashings []phase0.Gwei + Slot phase0.Slot + StateRoots []phase0.Root + Validators []*phase0.Validator + func (b *BeaconState) GetTree() (*ssz.Node, error) + func (b *BeaconState) HashTreeRoot() ([32]byte, error) + func (b *BeaconState) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (b *BeaconState) MarshalSSZ() ([]byte, error) + func (b *BeaconState) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (b *BeaconState) SizeSSZ() (size int) + func (b *BeaconState) UnmarshalSSZ(buf []byte) error + func (s *BeaconState) MarshalJSON() ([]byte, error) + func (s *BeaconState) MarshalYAML() ([]byte, error) + func (s *BeaconState) String() string + func (s *BeaconState) UnmarshalJSON(input []byte) error + func (s *BeaconState) UnmarshalYAML(input []byte) error + type ContributionAndProof struct + AggregatorIndex phase0.ValidatorIndex + Contribution *SyncCommitteeContribution + SelectionProof phase0.BLSSignature + func (a *ContributionAndProof) MarshalJSON() ([]byte, error) + func (a *ContributionAndProof) MarshalYAML() ([]byte, error) + func (a *ContributionAndProof) String() string + func (a *ContributionAndProof) UnmarshalJSON(input []byte) error + func (a *ContributionAndProof) UnmarshalYAML(input []byte) error + func (c *ContributionAndProof) GetTree() (*ssz.Node, error) + func (c *ContributionAndProof) HashTreeRoot() ([32]byte, error) + func (c *ContributionAndProof) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (c *ContributionAndProof) MarshalSSZ() ([]byte, error) + func (c *ContributionAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (c *ContributionAndProof) SizeSSZ() (size int) + func (c *ContributionAndProof) UnmarshalSSZ(buf []byte) error + type ParticipationFlag int + const TimelyHeadFlagIndex + const TimelySourceFlagIndex + const TimelyTargetFlagIndex + type ParticipationFlags uint8 + func (p *ParticipationFlags) UnmarshalJSON(input []byte) error + func (p ParticipationFlags) MarshalJSON() ([]byte, error) + type SignedBeaconBlock struct + Message *BeaconBlock + Signature phase0.BLSSignature + func (s *SignedBeaconBlock) GetTree() (*ssz.Node, error) + func (s *SignedBeaconBlock) HashTreeRoot() ([32]byte, error) + func (s *SignedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (s *SignedBeaconBlock) MarshalJSON() ([]byte, error) + func (s *SignedBeaconBlock) MarshalSSZ() ([]byte, error) + func (s *SignedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (s *SignedBeaconBlock) MarshalYAML() ([]byte, error) + func (s *SignedBeaconBlock) SizeSSZ() (size int) + func (s *SignedBeaconBlock) String() string + func (s *SignedBeaconBlock) UnmarshalJSON(input []byte) error + func (s *SignedBeaconBlock) UnmarshalSSZ(buf []byte) error + func (s *SignedBeaconBlock) UnmarshalYAML(input []byte) error + type SignedContributionAndProof struct + Message *ContributionAndProof + Signature phase0.BLSSignature + func (s *SignedContributionAndProof) GetTree() (*ssz.Node, error) + func (s *SignedContributionAndProof) HashTreeRoot() ([32]byte, error) + func (s *SignedContributionAndProof) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (s *SignedContributionAndProof) MarshalJSON() ([]byte, error) + func (s *SignedContributionAndProof) MarshalSSZ() ([]byte, error) + func (s *SignedContributionAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (s *SignedContributionAndProof) MarshalYAML() ([]byte, error) + func (s *SignedContributionAndProof) SizeSSZ() (size int) + func (s *SignedContributionAndProof) String() string + func (s *SignedContributionAndProof) UnmarshalJSON(input []byte) error + func (s *SignedContributionAndProof) UnmarshalSSZ(buf []byte) error + func (s *SignedContributionAndProof) UnmarshalYAML(input []byte) error + type SyncAggregate struct + SyncCommitteeBits bitfield.Bitvector512 + SyncCommitteeSignature phase0.BLSSignature + func (s *SyncAggregate) GetTree() (*ssz.Node, error) + func (s *SyncAggregate) HashTreeRoot() ([32]byte, error) + func (s *SyncAggregate) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (s *SyncAggregate) MarshalJSON() ([]byte, error) + func (s *SyncAggregate) MarshalSSZ() ([]byte, error) + func (s *SyncAggregate) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (s *SyncAggregate) MarshalYAML() ([]byte, error) + func (s *SyncAggregate) SizeSSZ() (size int) + func (s *SyncAggregate) String() string + func (s *SyncAggregate) UnmarshalJSON(input []byte) error + func (s *SyncAggregate) UnmarshalSSZ(buf []byte) error + func (s *SyncAggregate) UnmarshalYAML(input []byte) error + type SyncAggregatorSelectionData struct + Slot phase0.Slot + SubcommitteeIndex uint64 + func (s *SyncAggregatorSelectionData) GetTree() (*ssz.Node, error) + func (s *SyncAggregatorSelectionData) HashTreeRoot() ([32]byte, error) + func (s *SyncAggregatorSelectionData) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (s *SyncAggregatorSelectionData) MarshalSSZ() ([]byte, error) + func (s *SyncAggregatorSelectionData) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (s *SyncAggregatorSelectionData) SizeSSZ() (size int) + func (s *SyncAggregatorSelectionData) UnmarshalSSZ(buf []byte) error + type SyncCommittee struct + AggregatePubkey phase0.BLSPubKey + Pubkeys []phase0.BLSPubKey + func (s *SyncCommittee) GetTree() (*ssz.Node, error) + func (s *SyncCommittee) HashTreeRoot() ([32]byte, error) + func (s *SyncCommittee) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (s *SyncCommittee) MarshalJSON() ([]byte, error) + func (s *SyncCommittee) MarshalSSZ() ([]byte, error) + func (s *SyncCommittee) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (s *SyncCommittee) MarshalYAML() ([]byte, error) + func (s *SyncCommittee) SizeSSZ() (size int) + func (s *SyncCommittee) String() string + func (s *SyncCommittee) UnmarshalJSON(input []byte) error + func (s *SyncCommittee) UnmarshalSSZ(buf []byte) error + func (s *SyncCommittee) UnmarshalYAML(input []byte) error + type SyncCommitteeContribution struct + AggregationBits bitfield.Bitvector128 + BeaconBlockRoot phase0.Root + Signature phase0.BLSSignature + Slot phase0.Slot + SubcommitteeIndex uint64 + func (s *SyncCommitteeContribution) GetTree() (*ssz.Node, error) + func (s *SyncCommitteeContribution) HashTreeRoot() ([32]byte, error) + func (s *SyncCommitteeContribution) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (s *SyncCommitteeContribution) MarshalJSON() ([]byte, error) + func (s *SyncCommitteeContribution) MarshalSSZ() ([]byte, error) + func (s *SyncCommitteeContribution) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (s *SyncCommitteeContribution) MarshalYAML() ([]byte, error) + func (s *SyncCommitteeContribution) SizeSSZ() (size int) + func (s *SyncCommitteeContribution) String() string + func (s *SyncCommitteeContribution) UnmarshalJSON(input []byte) error + func (s *SyncCommitteeContribution) UnmarshalSSZ(buf []byte) error + func (s *SyncCommitteeContribution) UnmarshalYAML(input []byte) error + type SyncCommitteeMessage struct + BeaconBlockRoot phase0.Root + Signature phase0.BLSSignature + Slot phase0.Slot + ValidatorIndex phase0.ValidatorIndex + func (s *SyncCommitteeMessage) GetTree() (*ssz.Node, error) + func (s *SyncCommitteeMessage) HashTreeRoot() ([32]byte, error) + func (s *SyncCommitteeMessage) HashTreeRootWith(hh ssz.HashWalker) (err error) + func (s *SyncCommitteeMessage) MarshalJSON() ([]byte, error) + func (s *SyncCommitteeMessage) MarshalSSZ() ([]byte, error) + func (s *SyncCommitteeMessage) MarshalSSZTo(buf []byte) (dst []byte, err error) + func (s *SyncCommitteeMessage) MarshalYAML() ([]byte, error) + func (s *SyncCommitteeMessage) SizeSSZ() (size int) + func (s *SyncCommitteeMessage) String() string + func (s *SyncCommitteeMessage) UnmarshalJSON(input []byte) error + func (s *SyncCommitteeMessage) UnmarshalSSZ(buf []byte) error + func (s *SyncCommitteeMessage) UnmarshalYAML(input []byte) error