Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: 42a90e41ab6d24bff4129db961d34921a0029e66055341893a96eaca9f66eedd
Package v2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func NewSyncCommitteeAggregationBits() bitfield.Bitvector128
- func RegisterBeaconNodeValidatorAltairHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterBeaconNodeValidatorAltairHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterBeaconNodeValidatorAltairHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterBeaconNodeValidatorAltairHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterBeaconNodeValidatorAltairServer(s *grpc.Server, srv BeaconNodeValidatorAltairServer)
- type BeaconBlock
- type BeaconBlockAltair
- func (*BeaconBlockAltair) Descriptor() ([]byte, []int)deprecated
- func (x *BeaconBlockAltair) GetBody() *BeaconBlockBodyAltair
- func (x *BeaconBlockAltair) GetParentRoot() []byte
- func (x *BeaconBlockAltair) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex
- func (x *BeaconBlockAltair) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
- func (x *BeaconBlockAltair) GetStateRoot() []byte
- func (b *BeaconBlockAltair) HashTreeRoot() ([32]byte, error)
- func (b *BeaconBlockAltair) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (b *BeaconBlockAltair) MarshalSSZ() ([]byte, error)
- func (b *BeaconBlockAltair) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*BeaconBlockAltair) ProtoMessage()
- func (x *BeaconBlockAltair) ProtoReflect() protoreflect.Message
- func (x *BeaconBlockAltair) Reset()
- func (b *BeaconBlockAltair) SizeSSZ() (size int)
- func (x *BeaconBlockAltair) String() string
- func (b *BeaconBlockAltair) UnmarshalSSZ(buf []byte) error
- type BeaconBlockBody
- type BeaconBlockBodyAltair
- func (*BeaconBlockBodyAltair) Descriptor() ([]byte, []int)deprecated
- func (x *BeaconBlockBodyAltair) GetAttestations() []*v1alpha1.Attestation
- func (x *BeaconBlockBodyAltair) GetAttesterSlashings() []*v1alpha1.AttesterSlashing
- func (x *BeaconBlockBodyAltair) GetDeposits() []*v1alpha1.Deposit
- func (x *BeaconBlockBodyAltair) GetEth1Data() *v1alpha1.Eth1Data
- func (x *BeaconBlockBodyAltair) GetGraffiti() []byte
- func (x *BeaconBlockBodyAltair) GetProposerSlashings() []*v1alpha1.ProposerSlashing
- func (x *BeaconBlockBodyAltair) GetRandaoReveal() []byte
- func (x *BeaconBlockBodyAltair) GetSyncAggregate() *SyncAggregate
- func (x *BeaconBlockBodyAltair) GetVoluntaryExits() []*v1alpha1.SignedVoluntaryExit
- func (b *BeaconBlockBodyAltair) HashTreeRoot() ([32]byte, error)
- func (b *BeaconBlockBodyAltair) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (b *BeaconBlockBodyAltair) MarshalSSZ() ([]byte, error)
- func (b *BeaconBlockBodyAltair) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*BeaconBlockBodyAltair) ProtoMessage()
- func (x *BeaconBlockBodyAltair) ProtoReflect() protoreflect.Message
- func (x *BeaconBlockBodyAltair) Reset()
- func (b *BeaconBlockBodyAltair) SizeSSZ() (size int)
- func (x *BeaconBlockBodyAltair) String() string
- func (b *BeaconBlockBodyAltair) UnmarshalSSZ(buf []byte) error
- type BeaconNodeValidatorAltairClient
- type BeaconNodeValidatorAltairServer
- type BeaconNodeValidatorAltair_StreamBlocksClient
- type BeaconNodeValidatorAltair_StreamBlocksServer
- type ContributionAndProof
- func (*ContributionAndProof) Descriptor() ([]byte, []int)deprecated
- func (x *ContributionAndProof) GetAggregatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex
- func (x *ContributionAndProof) GetContribution() *SyncCommitteeContribution
- func (x *ContributionAndProof) GetSelectionProof() []byte
- func (c *ContributionAndProof) HashTreeRoot() ([32]byte, error)
- func (c *ContributionAndProof) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (c *ContributionAndProof) MarshalSSZ() ([]byte, error)
- func (c *ContributionAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*ContributionAndProof) ProtoMessage()
- func (x *ContributionAndProof) ProtoReflect() protoreflect.Message
- func (x *ContributionAndProof) Reset()
- func (c *ContributionAndProof) SizeSSZ() (size int)
- func (x *ContributionAndProof) String() string
- func (c *ContributionAndProof) UnmarshalSSZ(buf []byte) error
- type SignedBeaconBlock
- type SignedBeaconBlockAltair
- func (*SignedBeaconBlockAltair) Descriptor() ([]byte, []int)deprecated
- func (x *SignedBeaconBlockAltair) GetBlock() *BeaconBlockAltair
- func (x *SignedBeaconBlockAltair) GetSignature() []byte
- func (s *SignedBeaconBlockAltair) HashTreeRoot() ([32]byte, error)
- func (s *SignedBeaconBlockAltair) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (s *SignedBeaconBlockAltair) MarshalSSZ() ([]byte, error)
- func (s *SignedBeaconBlockAltair) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*SignedBeaconBlockAltair) ProtoMessage()
- func (x *SignedBeaconBlockAltair) ProtoReflect() protoreflect.Message
- func (x *SignedBeaconBlockAltair) Reset()
- func (s *SignedBeaconBlockAltair) SizeSSZ() (size int)
- func (x *SignedBeaconBlockAltair) String() string
- func (s *SignedBeaconBlockAltair) UnmarshalSSZ(buf []byte) error
- type SignedContributionAndProof
- func (*SignedContributionAndProof) Descriptor() ([]byte, []int)deprecated
- func (x *SignedContributionAndProof) GetMessage() *ContributionAndProof
- func (x *SignedContributionAndProof) GetSignature() []byte
- func (s *SignedContributionAndProof) HashTreeRoot() ([32]byte, error)
- func (s *SignedContributionAndProof) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (s *SignedContributionAndProof) MarshalSSZ() ([]byte, error)
- func (s *SignedContributionAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*SignedContributionAndProof) ProtoMessage()
- func (x *SignedContributionAndProof) ProtoReflect() protoreflect.Message
- func (x *SignedContributionAndProof) Reset()
- func (s *SignedContributionAndProof) SizeSSZ() (size int)
- func (x *SignedContributionAndProof) String() string
- func (s *SignedContributionAndProof) UnmarshalSSZ(buf []byte) error
- type StreamBlocksResponse
- func (*StreamBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamBlocksResponse) GetAltairBlock() *SignedBeaconBlockAltair
- func (m *StreamBlocksResponse) GetBlock() isStreamBlocksResponse_Block
- func (x *StreamBlocksResponse) GetPhase0Block() *v1alpha1.SignedBeaconBlock
- func (*StreamBlocksResponse) ProtoMessage()
- func (x *StreamBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *StreamBlocksResponse) Reset()
- func (x *StreamBlocksResponse) String() string
- type StreamBlocksResponse_AltairBlock
- type StreamBlocksResponse_Phase0Block
- type SyncAggregate
- func (*SyncAggregate) Descriptor() ([]byte, []int)deprecated
- func (x *SyncAggregate) GetSyncCommitteeBits() github_com_prysmaticlabs_go_bitfield.Bitvector512
- func (x *SyncAggregate) GetSyncCommitteeSignature() []byte
- func (s *SyncAggregate) HashTreeRoot() ([32]byte, error)
- func (s *SyncAggregate) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (s *SyncAggregate) MarshalSSZ() ([]byte, error)
- func (s *SyncAggregate) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*SyncAggregate) ProtoMessage()
- func (x *SyncAggregate) ProtoReflect() protoreflect.Message
- func (x *SyncAggregate) Reset()
- func (s *SyncAggregate) SizeSSZ() (size int)
- func (x *SyncAggregate) String() string
- func (s *SyncAggregate) UnmarshalSSZ(buf []byte) error
- type SyncCommitteeContribution
- func (*SyncCommitteeContribution) Descriptor() ([]byte, []int)deprecated
- func (x *SyncCommitteeContribution) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitvector128
- func (x *SyncCommitteeContribution) GetBlockRoot() []byte
- func (x *SyncCommitteeContribution) GetSignature() []byte
- func (x *SyncCommitteeContribution) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
- func (x *SyncCommitteeContribution) GetSubcommitteeIndex() uint64
- func (s *SyncCommitteeContribution) HashTreeRoot() ([32]byte, error)
- func (s *SyncCommitteeContribution) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (s *SyncCommitteeContribution) MarshalSSZ() ([]byte, error)
- func (s *SyncCommitteeContribution) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*SyncCommitteeContribution) ProtoMessage()
- func (x *SyncCommitteeContribution) ProtoReflect() protoreflect.Message
- func (x *SyncCommitteeContribution) Reset()
- func (s *SyncCommitteeContribution) SizeSSZ() (size int)
- func (x *SyncCommitteeContribution) String() string
- func (s *SyncCommitteeContribution) UnmarshalSSZ(buf []byte) error
- type SyncCommitteeContributionRequest
- func (*SyncCommitteeContributionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncCommitteeContributionRequest) GetPublicKey() []byte
- func (x *SyncCommitteeContributionRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
- func (x *SyncCommitteeContributionRequest) GetSubnetId() uint64
- func (*SyncCommitteeContributionRequest) ProtoMessage()
- func (x *SyncCommitteeContributionRequest) ProtoReflect() protoreflect.Message
- func (x *SyncCommitteeContributionRequest) Reset()
- func (x *SyncCommitteeContributionRequest) String() string
- type SyncCommitteeMessage
- func (*SyncCommitteeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SyncCommitteeMessage) GetBlockRoot() []byte
- func (x *SyncCommitteeMessage) GetSignature() []byte
- func (x *SyncCommitteeMessage) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
- func (x *SyncCommitteeMessage) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex
- func (s *SyncCommitteeMessage) HashTreeRoot() ([32]byte, error)
- func (s *SyncCommitteeMessage) HashTreeRootWith(hh *ssz.Hasher) (err error)
- func (s *SyncCommitteeMessage) MarshalSSZ() ([]byte, error)
- func (s *SyncCommitteeMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (*SyncCommitteeMessage) ProtoMessage()
- func (x *SyncCommitteeMessage) ProtoReflect() protoreflect.Message
- func (x *SyncCommitteeMessage) Reset()
- func (s *SyncCommitteeMessage) SizeSSZ() (size int)
- func (x *SyncCommitteeMessage) String() string
- func (s *SyncCommitteeMessage) UnmarshalSSZ(buf []byte) error
- type SyncMessageBlockRootResponse
- func (*SyncMessageBlockRootResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncMessageBlockRootResponse) GetRoot() []byte
- func (*SyncMessageBlockRootResponse) ProtoMessage()
- func (x *SyncMessageBlockRootResponse) ProtoReflect() protoreflect.Message
- func (x *SyncMessageBlockRootResponse) Reset()
- func (x *SyncMessageBlockRootResponse) String() string
- type SyncSubcommitteeIndexRequest
- func (*SyncSubcommitteeIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncSubcommitteeIndexRequest) GetPublicKey() []byte
- func (x *SyncSubcommitteeIndexRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
- func (*SyncSubcommitteeIndexRequest) ProtoMessage()
- func (x *SyncSubcommitteeIndexRequest) ProtoReflect() protoreflect.Message
- func (x *SyncSubcommitteeIndexRequest) Reset()
- func (x *SyncSubcommitteeIndexRequest) String() string
- type SyncSubcommitteeIndexResponse
- func (*SyncSubcommitteeIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncSubcommitteeIndexResponse) GetIndices() []uint64
- func (*SyncSubcommitteeIndexResponse) ProtoMessage()
- func (x *SyncSubcommitteeIndexResponse) ProtoReflect() protoreflect.Message
- func (x *SyncSubcommitteeIndexResponse) Reset()
- func (x *SyncSubcommitteeIndexResponse) String() string
- type UnimplementedBeaconNodeValidatorAltairServer
- func (*UnimplementedBeaconNodeValidatorAltairServer) GetBlock(context.Context, *v1alpha1.BlockRequest) (*BeaconBlockAltair, error)
- func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncCommitteeContribution(context.Context, *SyncCommitteeContributionRequest) (*SyncCommitteeContribution, error)
- func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncMessageBlockRoot(context.Context, *empty.Empty) (*SyncMessageBlockRootResponse, error)
- func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncSubcommitteeIndex(context.Context, *SyncSubcommitteeIndexRequest) (*SyncSubcommitteeIndexResponse, error)
- func (*UnimplementedBeaconNodeValidatorAltairServer) ProposeBlock(context.Context, *SignedBeaconBlockAltair) (*v1alpha1.ProposeResponse, error)
- func (*UnimplementedBeaconNodeValidatorAltairServer) StreamBlocks(*v1alpha1.StreamBlocksRequest, BeaconNodeValidatorAltair_StreamBlocksServer) error
- func (*UnimplementedBeaconNodeValidatorAltairServer) SubmitSignedContributionAndProof(context.Context, *SignedContributionAndProof) (*empty.Empty, error)
- func (*UnimplementedBeaconNodeValidatorAltairServer) SubmitSyncMessage(context.Context, *SyncCommitteeMessage) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
var File_proto_prysm_v2_beacon_block_proto protoreflect.FileDescriptor
var File_proto_prysm_v2_sync_committee_proto protoreflect.FileDescriptor
var File_proto_prysm_v2_validator_proto protoreflect.FileDescriptor
Functions ¶
func NewSyncCommitteeAggregationBits ¶
func NewSyncCommitteeAggregationBits() bitfield.Bitvector128
func RegisterBeaconNodeValidatorAltairHandler ¶
func RegisterBeaconNodeValidatorAltairHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterBeaconNodeValidatorAltairHandler registers the http handlers for service BeaconNodeValidatorAltair to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterBeaconNodeValidatorAltairHandlerClient ¶
func RegisterBeaconNodeValidatorAltairHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BeaconNodeValidatorAltairClient) error
RegisterBeaconNodeValidatorAltairHandlerClient registers the http handlers for service BeaconNodeValidatorAltair to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BeaconNodeValidatorAltairClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BeaconNodeValidatorAltairClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "BeaconNodeValidatorAltairClient" to call the correct interceptors.
func RegisterBeaconNodeValidatorAltairHandlerFromEndpoint ¶
func RegisterBeaconNodeValidatorAltairHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterBeaconNodeValidatorAltairHandlerFromEndpoint is same as RegisterBeaconNodeValidatorAltairHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterBeaconNodeValidatorAltairHandlerServer ¶
func RegisterBeaconNodeValidatorAltairHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BeaconNodeValidatorAltairServer) error
RegisterBeaconNodeValidatorAltairHandlerServer registers the http handlers for service BeaconNodeValidatorAltair to "mux". UnaryRPC :call BeaconNodeValidatorAltairServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBeaconNodeValidatorAltairHandlerFromEndpoint instead.
func RegisterBeaconNodeValidatorAltairServer ¶
func RegisterBeaconNodeValidatorAltairServer(s *grpc.Server, srv BeaconNodeValidatorAltairServer)
Types ¶
type BeaconBlock ¶
type BeaconBlock = BeaconBlockAltair
type BeaconBlockAltair ¶
type BeaconBlockAltair struct { Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` ProposerIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 164-byte string literal not displayed */ ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty" ssz-size:"32"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"` Body *BeaconBlockBodyAltair `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*BeaconBlockAltair) Descriptor
deprecated
func (*BeaconBlockAltair) Descriptor() ([]byte, []int)
Deprecated: Use BeaconBlockAltair.ProtoReflect.Descriptor instead.
func (*BeaconBlockAltair) GetBody ¶
func (x *BeaconBlockAltair) GetBody() *BeaconBlockBodyAltair
func (*BeaconBlockAltair) GetParentRoot ¶
func (x *BeaconBlockAltair) GetParentRoot() []byte
func (*BeaconBlockAltair) GetProposerIndex ¶
func (x *BeaconBlockAltair) GetProposerIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex
func (*BeaconBlockAltair) GetSlot ¶
func (x *BeaconBlockAltair) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
func (*BeaconBlockAltair) GetStateRoot ¶
func (x *BeaconBlockAltair) GetStateRoot() []byte
func (*BeaconBlockAltair) HashTreeRoot ¶
func (b *BeaconBlockAltair) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconBlockAltair object
func (*BeaconBlockAltair) HashTreeRootWith ¶
func (b *BeaconBlockAltair) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the BeaconBlockAltair object with a hasher
func (*BeaconBlockAltair) MarshalSSZ ¶
func (b *BeaconBlockAltair) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconBlockAltair object
func (*BeaconBlockAltair) MarshalSSZTo ¶
func (b *BeaconBlockAltair) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconBlockAltair object to a target array
func (*BeaconBlockAltair) ProtoMessage ¶
func (*BeaconBlockAltair) ProtoMessage()
func (*BeaconBlockAltair) ProtoReflect ¶
func (x *BeaconBlockAltair) ProtoReflect() protoreflect.Message
func (*BeaconBlockAltair) Reset ¶
func (x *BeaconBlockAltair) Reset()
func (*BeaconBlockAltair) SizeSSZ ¶
func (b *BeaconBlockAltair) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockAltair object
func (*BeaconBlockAltair) String ¶
func (x *BeaconBlockAltair) String() string
func (*BeaconBlockAltair) UnmarshalSSZ ¶
func (b *BeaconBlockAltair) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconBlockAltair object
type BeaconBlockBody ¶
type BeaconBlockBody = BeaconBlockBodyAltair
type BeaconBlockBodyAltair ¶
type BeaconBlockBodyAltair struct { RandaoReveal []byte `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty" ssz-size:"96"` Eth1Data *v1alpha1.Eth1Data `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"` Graffiti []byte `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty" ssz-size:"32"` ProposerSlashings []*v1alpha1.ProposerSlashing `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty" ssz-max:"16"` AttesterSlashings []*v1alpha1.AttesterSlashing `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty" ssz-max:"2"` Attestations []*v1alpha1.Attestation `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty" ssz-max:"128"` Deposits []*v1alpha1.Deposit `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty" ssz-max:"16"` VoluntaryExits []*v1alpha1.SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty" ssz-max:"16"` SyncAggregate *SyncAggregate `protobuf:"bytes,9,opt,name=sync_aggregate,json=syncAggregate,proto3" json:"sync_aggregate,omitempty"` // contains filtered or unexported fields }
func (*BeaconBlockBodyAltair) Descriptor
deprecated
func (*BeaconBlockBodyAltair) Descriptor() ([]byte, []int)
Deprecated: Use BeaconBlockBodyAltair.ProtoReflect.Descriptor instead.
func (*BeaconBlockBodyAltair) GetAttestations ¶
func (x *BeaconBlockBodyAltair) GetAttestations() []*v1alpha1.Attestation
func (*BeaconBlockBodyAltair) GetAttesterSlashings ¶
func (x *BeaconBlockBodyAltair) GetAttesterSlashings() []*v1alpha1.AttesterSlashing
func (*BeaconBlockBodyAltair) GetDeposits ¶
func (x *BeaconBlockBodyAltair) GetDeposits() []*v1alpha1.Deposit
func (*BeaconBlockBodyAltair) GetEth1Data ¶
func (x *BeaconBlockBodyAltair) GetEth1Data() *v1alpha1.Eth1Data
func (*BeaconBlockBodyAltair) GetGraffiti ¶
func (x *BeaconBlockBodyAltair) GetGraffiti() []byte
func (*BeaconBlockBodyAltair) GetProposerSlashings ¶
func (x *BeaconBlockBodyAltair) GetProposerSlashings() []*v1alpha1.ProposerSlashing
func (*BeaconBlockBodyAltair) GetRandaoReveal ¶
func (x *BeaconBlockBodyAltair) GetRandaoReveal() []byte
func (*BeaconBlockBodyAltair) GetSyncAggregate ¶
func (x *BeaconBlockBodyAltair) GetSyncAggregate() *SyncAggregate
func (*BeaconBlockBodyAltair) GetVoluntaryExits ¶
func (x *BeaconBlockBodyAltair) GetVoluntaryExits() []*v1alpha1.SignedVoluntaryExit
func (*BeaconBlockBodyAltair) HashTreeRoot ¶
func (b *BeaconBlockBodyAltair) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the BeaconBlockBodyAltair object
func (*BeaconBlockBodyAltair) HashTreeRootWith ¶
func (b *BeaconBlockBodyAltair) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the BeaconBlockBodyAltair object with a hasher
func (*BeaconBlockBodyAltair) MarshalSSZ ¶
func (b *BeaconBlockBodyAltair) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the BeaconBlockBodyAltair object
func (*BeaconBlockBodyAltair) MarshalSSZTo ¶
func (b *BeaconBlockBodyAltair) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the BeaconBlockBodyAltair object to a target array
func (*BeaconBlockBodyAltair) ProtoMessage ¶
func (*BeaconBlockBodyAltair) ProtoMessage()
func (*BeaconBlockBodyAltair) ProtoReflect ¶
func (x *BeaconBlockBodyAltair) ProtoReflect() protoreflect.Message
func (*BeaconBlockBodyAltair) Reset ¶
func (x *BeaconBlockBodyAltair) Reset()
func (*BeaconBlockBodyAltair) SizeSSZ ¶
func (b *BeaconBlockBodyAltair) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the BeaconBlockBodyAltair object
func (*BeaconBlockBodyAltair) String ¶
func (x *BeaconBlockBodyAltair) String() string
func (*BeaconBlockBodyAltair) UnmarshalSSZ ¶
func (b *BeaconBlockBodyAltair) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BeaconBlockBodyAltair object
type BeaconNodeValidatorAltairClient ¶
type BeaconNodeValidatorAltairClient interface { GetBlock(ctx context.Context, in *v1alpha1.BlockRequest, opts ...grpc.CallOption) (*BeaconBlockAltair, error) ProposeBlock(ctx context.Context, in *SignedBeaconBlockAltair, opts ...grpc.CallOption) (*v1alpha1.ProposeResponse, error) GetSyncMessageBlockRoot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SyncMessageBlockRootResponse, error) SubmitSyncMessage(ctx context.Context, in *SyncCommitteeMessage, opts ...grpc.CallOption) (*empty.Empty, error) GetSyncSubcommitteeIndex(ctx context.Context, in *SyncSubcommitteeIndexRequest, opts ...grpc.CallOption) (*SyncSubcommitteeIndexResponse, error) GetSyncCommitteeContribution(ctx context.Context, in *SyncCommitteeContributionRequest, opts ...grpc.CallOption) (*SyncCommitteeContribution, error) SubmitSignedContributionAndProof(ctx context.Context, in *SignedContributionAndProof, opts ...grpc.CallOption) (*empty.Empty, error) StreamBlocks(ctx context.Context, in *v1alpha1.StreamBlocksRequest, opts ...grpc.CallOption) (BeaconNodeValidatorAltair_StreamBlocksClient, error) }
BeaconNodeValidatorAltairClient is the client API for BeaconNodeValidatorAltair service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBeaconNodeValidatorAltairClient ¶
func NewBeaconNodeValidatorAltairClient(cc grpc.ClientConnInterface) BeaconNodeValidatorAltairClient
type BeaconNodeValidatorAltairServer ¶
type BeaconNodeValidatorAltairServer interface { GetBlock(context.Context, *v1alpha1.BlockRequest) (*BeaconBlockAltair, error) ProposeBlock(context.Context, *SignedBeaconBlockAltair) (*v1alpha1.ProposeResponse, error) GetSyncMessageBlockRoot(context.Context, *empty.Empty) (*SyncMessageBlockRootResponse, error) SubmitSyncMessage(context.Context, *SyncCommitteeMessage) (*empty.Empty, error) GetSyncSubcommitteeIndex(context.Context, *SyncSubcommitteeIndexRequest) (*SyncSubcommitteeIndexResponse, error) GetSyncCommitteeContribution(context.Context, *SyncCommitteeContributionRequest) (*SyncCommitteeContribution, error) SubmitSignedContributionAndProof(context.Context, *SignedContributionAndProof) (*empty.Empty, error) StreamBlocks(*v1alpha1.StreamBlocksRequest, BeaconNodeValidatorAltair_StreamBlocksServer) error }
BeaconNodeValidatorAltairServer is the server API for BeaconNodeValidatorAltair service.
type BeaconNodeValidatorAltair_StreamBlocksClient ¶
type BeaconNodeValidatorAltair_StreamBlocksClient interface { Recv() (*StreamBlocksResponse, error) grpc.ClientStream }
type BeaconNodeValidatorAltair_StreamBlocksServer ¶
type BeaconNodeValidatorAltair_StreamBlocksServer interface { Send(*StreamBlocksResponse) error grpc.ServerStream }
type ContributionAndProof ¶
type ContributionAndProof struct { AggregatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 170-byte string literal not displayed */ Contribution *SyncCommitteeContribution `protobuf:"bytes,2,opt,name=contribution,proto3" json:"contribution,omitempty"` SelectionProof []byte `protobuf:"bytes,3,opt,name=selection_proof,json=selectionProof,proto3" json:"selection_proof,omitempty" ssz-size:"96"` // contains filtered or unexported fields }
func (*ContributionAndProof) Descriptor
deprecated
func (*ContributionAndProof) Descriptor() ([]byte, []int)
Deprecated: Use ContributionAndProof.ProtoReflect.Descriptor instead.
func (*ContributionAndProof) GetAggregatorIndex ¶
func (x *ContributionAndProof) GetAggregatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex
func (*ContributionAndProof) GetContribution ¶
func (x *ContributionAndProof) GetContribution() *SyncCommitteeContribution
func (*ContributionAndProof) GetSelectionProof ¶
func (x *ContributionAndProof) GetSelectionProof() []byte
func (*ContributionAndProof) HashTreeRoot ¶
func (c *ContributionAndProof) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the ContributionAndProof object
func (*ContributionAndProof) HashTreeRootWith ¶
func (c *ContributionAndProof) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the ContributionAndProof object with a hasher
func (*ContributionAndProof) MarshalSSZ ¶
func (c *ContributionAndProof) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the ContributionAndProof object
func (*ContributionAndProof) MarshalSSZTo ¶
func (c *ContributionAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the ContributionAndProof object to a target array
func (*ContributionAndProof) ProtoMessage ¶
func (*ContributionAndProof) ProtoMessage()
func (*ContributionAndProof) ProtoReflect ¶
func (x *ContributionAndProof) ProtoReflect() protoreflect.Message
func (*ContributionAndProof) Reset ¶
func (x *ContributionAndProof) Reset()
func (*ContributionAndProof) SizeSSZ ¶
func (c *ContributionAndProof) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the ContributionAndProof object
func (*ContributionAndProof) String ¶
func (x *ContributionAndProof) String() string
func (*ContributionAndProof) UnmarshalSSZ ¶
func (c *ContributionAndProof) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the ContributionAndProof object
type SignedBeaconBlock ¶
type SignedBeaconBlock = SignedBeaconBlockAltair
type SignedBeaconBlockAltair ¶
type SignedBeaconBlockAltair struct { Block *BeaconBlockAltair `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` // contains filtered or unexported fields }
func (*SignedBeaconBlockAltair) Descriptor
deprecated
func (*SignedBeaconBlockAltair) Descriptor() ([]byte, []int)
Deprecated: Use SignedBeaconBlockAltair.ProtoReflect.Descriptor instead.
func (*SignedBeaconBlockAltair) GetBlock ¶
func (x *SignedBeaconBlockAltair) GetBlock() *BeaconBlockAltair
func (*SignedBeaconBlockAltair) GetSignature ¶
func (x *SignedBeaconBlockAltair) GetSignature() []byte
func (*SignedBeaconBlockAltair) HashTreeRoot ¶
func (s *SignedBeaconBlockAltair) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedBeaconBlockAltair object
func (*SignedBeaconBlockAltair) HashTreeRootWith ¶
func (s *SignedBeaconBlockAltair) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the SignedBeaconBlockAltair object with a hasher
func (*SignedBeaconBlockAltair) MarshalSSZ ¶
func (s *SignedBeaconBlockAltair) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedBeaconBlockAltair object
func (*SignedBeaconBlockAltair) MarshalSSZTo ¶
func (s *SignedBeaconBlockAltair) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedBeaconBlockAltair object to a target array
func (*SignedBeaconBlockAltair) ProtoMessage ¶
func (*SignedBeaconBlockAltair) ProtoMessage()
func (*SignedBeaconBlockAltair) ProtoReflect ¶
func (x *SignedBeaconBlockAltair) ProtoReflect() protoreflect.Message
func (*SignedBeaconBlockAltair) Reset ¶
func (x *SignedBeaconBlockAltair) Reset()
func (*SignedBeaconBlockAltair) SizeSSZ ¶
func (s *SignedBeaconBlockAltair) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedBeaconBlockAltair object
func (*SignedBeaconBlockAltair) String ¶
func (x *SignedBeaconBlockAltair) String() string
func (*SignedBeaconBlockAltair) UnmarshalSSZ ¶
func (s *SignedBeaconBlockAltair) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedBeaconBlockAltair object
type SignedContributionAndProof ¶
type SignedContributionAndProof struct { Message *ContributionAndProof `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` // contains filtered or unexported fields }
func (*SignedContributionAndProof) Descriptor
deprecated
func (*SignedContributionAndProof) Descriptor() ([]byte, []int)
Deprecated: Use SignedContributionAndProof.ProtoReflect.Descriptor instead.
func (*SignedContributionAndProof) GetMessage ¶
func (x *SignedContributionAndProof) GetMessage() *ContributionAndProof
func (*SignedContributionAndProof) GetSignature ¶
func (x *SignedContributionAndProof) GetSignature() []byte
func (*SignedContributionAndProof) HashTreeRoot ¶
func (s *SignedContributionAndProof) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SignedContributionAndProof object
func (*SignedContributionAndProof) HashTreeRootWith ¶
func (s *SignedContributionAndProof) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the SignedContributionAndProof object with a hasher
func (*SignedContributionAndProof) MarshalSSZ ¶
func (s *SignedContributionAndProof) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SignedContributionAndProof object
func (*SignedContributionAndProof) MarshalSSZTo ¶
func (s *SignedContributionAndProof) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SignedContributionAndProof object to a target array
func (*SignedContributionAndProof) ProtoMessage ¶
func (*SignedContributionAndProof) ProtoMessage()
func (*SignedContributionAndProof) ProtoReflect ¶
func (x *SignedContributionAndProof) ProtoReflect() protoreflect.Message
func (*SignedContributionAndProof) Reset ¶
func (x *SignedContributionAndProof) Reset()
func (*SignedContributionAndProof) SizeSSZ ¶
func (s *SignedContributionAndProof) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SignedContributionAndProof object
func (*SignedContributionAndProof) String ¶
func (x *SignedContributionAndProof) String() string
func (*SignedContributionAndProof) UnmarshalSSZ ¶
func (s *SignedContributionAndProof) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SignedContributionAndProof object
type StreamBlocksResponse ¶
type StreamBlocksResponse struct { // Types that are assignable to Block: // *StreamBlocksResponse_Phase0Block // *StreamBlocksResponse_AltairBlock Block isStreamBlocksResponse_Block `protobuf_oneof:"block"` // contains filtered or unexported fields }
func (*StreamBlocksResponse) Descriptor
deprecated
func (*StreamBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamBlocksResponse.ProtoReflect.Descriptor instead.
func (*StreamBlocksResponse) GetAltairBlock ¶
func (x *StreamBlocksResponse) GetAltairBlock() *SignedBeaconBlockAltair
func (*StreamBlocksResponse) GetBlock ¶
func (m *StreamBlocksResponse) GetBlock() isStreamBlocksResponse_Block
func (*StreamBlocksResponse) GetPhase0Block ¶
func (x *StreamBlocksResponse) GetPhase0Block() *v1alpha1.SignedBeaconBlock
func (*StreamBlocksResponse) ProtoMessage ¶
func (*StreamBlocksResponse) ProtoMessage()
func (*StreamBlocksResponse) ProtoReflect ¶
func (x *StreamBlocksResponse) ProtoReflect() protoreflect.Message
func (*StreamBlocksResponse) Reset ¶
func (x *StreamBlocksResponse) Reset()
func (*StreamBlocksResponse) String ¶
func (x *StreamBlocksResponse) String() string
type StreamBlocksResponse_AltairBlock ¶
type StreamBlocksResponse_AltairBlock struct {
AltairBlock *SignedBeaconBlockAltair `protobuf:"bytes,2,opt,name=altair_block,json=altairBlock,proto3,oneof"`
}
type StreamBlocksResponse_Phase0Block ¶
type StreamBlocksResponse_Phase0Block struct {
Phase0Block *v1alpha1.SignedBeaconBlock `protobuf:"bytes,1,opt,name=phase0_block,json=phase0Block,proto3,oneof"`
}
type SyncAggregate ¶
type SyncAggregate struct { SyncCommitteeBits github_com_prysmaticlabs_go_bitfield.Bitvector512 `` /* 190-byte string literal not displayed */ SyncCommitteeSignature []byte `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SyncAggregate) Descriptor
deprecated
func (*SyncAggregate) Descriptor() ([]byte, []int)
Deprecated: Use SyncAggregate.ProtoReflect.Descriptor instead.
func (*SyncAggregate) GetSyncCommitteeBits ¶
func (x *SyncAggregate) GetSyncCommitteeBits() github_com_prysmaticlabs_go_bitfield.Bitvector512
func (*SyncAggregate) GetSyncCommitteeSignature ¶
func (x *SyncAggregate) GetSyncCommitteeSignature() []byte
func (*SyncAggregate) HashTreeRoot ¶
func (s *SyncAggregate) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SyncAggregate object
func (*SyncAggregate) HashTreeRootWith ¶
func (s *SyncAggregate) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the SyncAggregate object with a hasher
func (*SyncAggregate) MarshalSSZ ¶
func (s *SyncAggregate) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SyncAggregate object
func (*SyncAggregate) MarshalSSZTo ¶
func (s *SyncAggregate) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SyncAggregate object to a target array
func (*SyncAggregate) ProtoMessage ¶
func (*SyncAggregate) ProtoMessage()
func (*SyncAggregate) ProtoReflect ¶
func (x *SyncAggregate) ProtoReflect() protoreflect.Message
func (*SyncAggregate) Reset ¶
func (x *SyncAggregate) Reset()
func (*SyncAggregate) SizeSSZ ¶
func (s *SyncAggregate) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SyncAggregate object
func (*SyncAggregate) String ¶
func (x *SyncAggregate) String() string
func (*SyncAggregate) UnmarshalSSZ ¶
func (s *SyncAggregate) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SyncAggregate object
type SyncCommitteeContribution ¶
type SyncCommitteeContribution struct { Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty" ssz-size:"32"` SubcommitteeIndex uint64 `protobuf:"varint,3,opt,name=subcommittee_index,json=subcommitteeIndex,proto3" json:"subcommittee_index,omitempty"` AggregationBits github_com_prysmaticlabs_go_bitfield.Bitvector128 `` /* 182-byte string literal not displayed */ Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` // contains filtered or unexported fields }
func (*SyncCommitteeContribution) Descriptor
deprecated
func (*SyncCommitteeContribution) Descriptor() ([]byte, []int)
Deprecated: Use SyncCommitteeContribution.ProtoReflect.Descriptor instead.
func (*SyncCommitteeContribution) GetAggregationBits ¶
func (x *SyncCommitteeContribution) GetAggregationBits() github_com_prysmaticlabs_go_bitfield.Bitvector128
func (*SyncCommitteeContribution) GetBlockRoot ¶
func (x *SyncCommitteeContribution) GetBlockRoot() []byte
func (*SyncCommitteeContribution) GetSignature ¶
func (x *SyncCommitteeContribution) GetSignature() []byte
func (*SyncCommitteeContribution) GetSlot ¶
func (x *SyncCommitteeContribution) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
func (*SyncCommitteeContribution) GetSubcommitteeIndex ¶
func (x *SyncCommitteeContribution) GetSubcommitteeIndex() uint64
func (*SyncCommitteeContribution) HashTreeRoot ¶
func (s *SyncCommitteeContribution) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SyncCommitteeContribution object
func (*SyncCommitteeContribution) HashTreeRootWith ¶
func (s *SyncCommitteeContribution) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the SyncCommitteeContribution object with a hasher
func (*SyncCommitteeContribution) MarshalSSZ ¶
func (s *SyncCommitteeContribution) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SyncCommitteeContribution object
func (*SyncCommitteeContribution) MarshalSSZTo ¶
func (s *SyncCommitteeContribution) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SyncCommitteeContribution object to a target array
func (*SyncCommitteeContribution) ProtoMessage ¶
func (*SyncCommitteeContribution) ProtoMessage()
func (*SyncCommitteeContribution) ProtoReflect ¶
func (x *SyncCommitteeContribution) ProtoReflect() protoreflect.Message
func (*SyncCommitteeContribution) Reset ¶
func (x *SyncCommitteeContribution) Reset()
func (*SyncCommitteeContribution) SizeSSZ ¶
func (s *SyncCommitteeContribution) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SyncCommitteeContribution object
func (*SyncCommitteeContribution) String ¶
func (x *SyncCommitteeContribution) String() string
func (*SyncCommitteeContribution) UnmarshalSSZ ¶
func (s *SyncCommitteeContribution) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SyncCommitteeContribution object
type SyncCommitteeContributionRequest ¶
type SyncCommitteeContributionRequest struct { Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" spec-name:"pubkey" ssz-size:"48"` SubnetId uint64 `protobuf:"varint,3,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` // contains filtered or unexported fields }
func (*SyncCommitteeContributionRequest) Descriptor
deprecated
func (*SyncCommitteeContributionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncCommitteeContributionRequest.ProtoReflect.Descriptor instead.
func (*SyncCommitteeContributionRequest) GetPublicKey ¶
func (x *SyncCommitteeContributionRequest) GetPublicKey() []byte
func (*SyncCommitteeContributionRequest) GetSlot ¶
func (x *SyncCommitteeContributionRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
func (*SyncCommitteeContributionRequest) GetSubnetId ¶
func (x *SyncCommitteeContributionRequest) GetSubnetId() uint64
func (*SyncCommitteeContributionRequest) ProtoMessage ¶
func (*SyncCommitteeContributionRequest) ProtoMessage()
func (*SyncCommitteeContributionRequest) ProtoReflect ¶
func (x *SyncCommitteeContributionRequest) ProtoReflect() protoreflect.Message
func (*SyncCommitteeContributionRequest) Reset ¶
func (x *SyncCommitteeContributionRequest) Reset()
func (*SyncCommitteeContributionRequest) String ¶
func (x *SyncCommitteeContributionRequest) String() string
type SyncCommitteeMessage ¶
type SyncCommitteeMessage struct { Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` BlockRoot []byte `protobuf:"bytes,2,opt,name=block_root,json=blockRoot,proto3" json:"block_root,omitempty" ssz-size:"32"` ValidatorIndex github_com_prysmaticlabs_eth2_types.ValidatorIndex `` /* 167-byte string literal not displayed */ Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" ssz-size:"96"` // contains filtered or unexported fields }
func (*SyncCommitteeMessage) Descriptor
deprecated
func (*SyncCommitteeMessage) Descriptor() ([]byte, []int)
Deprecated: Use SyncCommitteeMessage.ProtoReflect.Descriptor instead.
func (*SyncCommitteeMessage) GetBlockRoot ¶
func (x *SyncCommitteeMessage) GetBlockRoot() []byte
func (*SyncCommitteeMessage) GetSignature ¶
func (x *SyncCommitteeMessage) GetSignature() []byte
func (*SyncCommitteeMessage) GetSlot ¶
func (x *SyncCommitteeMessage) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
func (*SyncCommitteeMessage) GetValidatorIndex ¶
func (x *SyncCommitteeMessage) GetValidatorIndex() github_com_prysmaticlabs_eth2_types.ValidatorIndex
func (*SyncCommitteeMessage) HashTreeRoot ¶
func (s *SyncCommitteeMessage) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the SyncCommitteeMessage object
func (*SyncCommitteeMessage) HashTreeRootWith ¶
func (s *SyncCommitteeMessage) HashTreeRootWith(hh *ssz.Hasher) (err error)
HashTreeRootWith ssz hashes the SyncCommitteeMessage object with a hasher
func (*SyncCommitteeMessage) MarshalSSZ ¶
func (s *SyncCommitteeMessage) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the SyncCommitteeMessage object
func (*SyncCommitteeMessage) MarshalSSZTo ¶
func (s *SyncCommitteeMessage) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the SyncCommitteeMessage object to a target array
func (*SyncCommitteeMessage) ProtoMessage ¶
func (*SyncCommitteeMessage) ProtoMessage()
func (*SyncCommitteeMessage) ProtoReflect ¶
func (x *SyncCommitteeMessage) ProtoReflect() protoreflect.Message
func (*SyncCommitteeMessage) Reset ¶
func (x *SyncCommitteeMessage) Reset()
func (*SyncCommitteeMessage) SizeSSZ ¶
func (s *SyncCommitteeMessage) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the SyncCommitteeMessage object
func (*SyncCommitteeMessage) String ¶
func (x *SyncCommitteeMessage) String() string
func (*SyncCommitteeMessage) UnmarshalSSZ ¶
func (s *SyncCommitteeMessage) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the SyncCommitteeMessage object
type SyncMessageBlockRootResponse ¶
type SyncMessageBlockRootResponse struct { Root []byte `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty" ssz-size:"32"` // contains filtered or unexported fields }
func (*SyncMessageBlockRootResponse) Descriptor
deprecated
func (*SyncMessageBlockRootResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncMessageBlockRootResponse.ProtoReflect.Descriptor instead.
func (*SyncMessageBlockRootResponse) GetRoot ¶
func (x *SyncMessageBlockRootResponse) GetRoot() []byte
func (*SyncMessageBlockRootResponse) ProtoMessage ¶
func (*SyncMessageBlockRootResponse) ProtoMessage()
func (*SyncMessageBlockRootResponse) ProtoReflect ¶
func (x *SyncMessageBlockRootResponse) ProtoReflect() protoreflect.Message
func (*SyncMessageBlockRootResponse) Reset ¶
func (x *SyncMessageBlockRootResponse) Reset()
func (*SyncMessageBlockRootResponse) String ¶
func (x *SyncMessageBlockRootResponse) String() string
type SyncSubcommitteeIndexRequest ¶
type SyncSubcommitteeIndexRequest struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty" ssz-size:"48"` Slot github_com_prysmaticlabs_eth2_types.Slot `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty" cast-type:"github.com/prysmaticlabs/eth2-types.Slot"` // contains filtered or unexported fields }
func (*SyncSubcommitteeIndexRequest) Descriptor
deprecated
func (*SyncSubcommitteeIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncSubcommitteeIndexRequest.ProtoReflect.Descriptor instead.
func (*SyncSubcommitteeIndexRequest) GetPublicKey ¶
func (x *SyncSubcommitteeIndexRequest) GetPublicKey() []byte
func (*SyncSubcommitteeIndexRequest) GetSlot ¶
func (x *SyncSubcommitteeIndexRequest) GetSlot() github_com_prysmaticlabs_eth2_types.Slot
func (*SyncSubcommitteeIndexRequest) ProtoMessage ¶
func (*SyncSubcommitteeIndexRequest) ProtoMessage()
func (*SyncSubcommitteeIndexRequest) ProtoReflect ¶
func (x *SyncSubcommitteeIndexRequest) ProtoReflect() protoreflect.Message
func (*SyncSubcommitteeIndexRequest) Reset ¶
func (x *SyncSubcommitteeIndexRequest) Reset()
func (*SyncSubcommitteeIndexRequest) String ¶
func (x *SyncSubcommitteeIndexRequest) String() string
type SyncSubcommitteeIndexResponse ¶
type SyncSubcommitteeIndexResponse struct { Indices []uint64 `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty"` // contains filtered or unexported fields }
func (*SyncSubcommitteeIndexResponse) Descriptor
deprecated
func (*SyncSubcommitteeIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncSubcommitteeIndexResponse.ProtoReflect.Descriptor instead.
func (*SyncSubcommitteeIndexResponse) GetIndices ¶
func (x *SyncSubcommitteeIndexResponse) GetIndices() []uint64
func (*SyncSubcommitteeIndexResponse) ProtoMessage ¶
func (*SyncSubcommitteeIndexResponse) ProtoMessage()
func (*SyncSubcommitteeIndexResponse) ProtoReflect ¶
func (x *SyncSubcommitteeIndexResponse) ProtoReflect() protoreflect.Message
func (*SyncSubcommitteeIndexResponse) Reset ¶
func (x *SyncSubcommitteeIndexResponse) Reset()
func (*SyncSubcommitteeIndexResponse) String ¶
func (x *SyncSubcommitteeIndexResponse) String() string
type UnimplementedBeaconNodeValidatorAltairServer ¶
type UnimplementedBeaconNodeValidatorAltairServer struct { }
UnimplementedBeaconNodeValidatorAltairServer can be embedded to have forward compatible implementations.
func (*UnimplementedBeaconNodeValidatorAltairServer) GetBlock ¶
func (*UnimplementedBeaconNodeValidatorAltairServer) GetBlock(context.Context, *v1alpha1.BlockRequest) (*BeaconBlockAltair, error)
func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncCommitteeContribution ¶
func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncCommitteeContribution(context.Context, *SyncCommitteeContributionRequest) (*SyncCommitteeContribution, error)
func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncMessageBlockRoot ¶
func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncMessageBlockRoot(context.Context, *empty.Empty) (*SyncMessageBlockRootResponse, error)
func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncSubcommitteeIndex ¶
func (*UnimplementedBeaconNodeValidatorAltairServer) GetSyncSubcommitteeIndex(context.Context, *SyncSubcommitteeIndexRequest) (*SyncSubcommitteeIndexResponse, error)
func (*UnimplementedBeaconNodeValidatorAltairServer) ProposeBlock ¶
func (*UnimplementedBeaconNodeValidatorAltairServer) ProposeBlock(context.Context, *SignedBeaconBlockAltair) (*v1alpha1.ProposeResponse, error)
func (*UnimplementedBeaconNodeValidatorAltairServer) StreamBlocks ¶
func (*UnimplementedBeaconNodeValidatorAltairServer) SubmitSignedContributionAndProof ¶
func (*UnimplementedBeaconNodeValidatorAltairServer) SubmitSignedContributionAndProof(context.Context, *SignedContributionAndProof) (*empty.Empty, error)
func (*UnimplementedBeaconNodeValidatorAltairServer) SubmitSyncMessage ¶
func (*UnimplementedBeaconNodeValidatorAltairServer) SubmitSyncMessage(context.Context, *SyncCommitteeMessage) (*empty.Empty, error)