ethereum_beacon_rpc_v1

package
v0.0.0-...-ab12051 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthServices        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowServices          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupServices = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ValidatorRole_name = map[int32]string{
	0: "UNKNOWN",
	1: "ATTESTER",
	2: "PROPOSER",
	3: "AGGREGATOR",
}
View Source
var ValidatorRole_value = map[string]int32{
	"UNKNOWN":    0,
	"ATTESTER":   1,
	"PROPOSER":   2,
	"AGGREGATOR": 3,
}

Functions

func RegisterAggregatorServiceServer deprecated

func RegisterAggregatorServiceServer(s *grpc.Server, srv AggregatorServiceServer)

Deprecated: Do not use.

Types

type AggregationRequest deprecated

type AggregationRequest struct {
	Slot                 uint64   `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	CommitteeIndex       uint64   `protobuf:"varint,2,opt,name=committee_index,json=committeeIndex,proto3" json:"committee_index,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	SlotSignature        []byte   `protobuf:"bytes,4,opt,name=slot_signature,json=slotSignature,proto3" json:"slot_signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Deprecated: Do not use.

func (*AggregationRequest) Descriptor

func (*AggregationRequest) Descriptor() ([]byte, []int)

func (*AggregationRequest) GetCommitteeIndex

func (m *AggregationRequest) GetCommitteeIndex() uint64

func (*AggregationRequest) GetPublicKey

func (m *AggregationRequest) GetPublicKey() []byte

func (*AggregationRequest) GetSlot

func (m *AggregationRequest) GetSlot() uint64

func (*AggregationRequest) GetSlotSignature

func (m *AggregationRequest) GetSlotSignature() []byte

func (*AggregationRequest) Marshal

func (m *AggregationRequest) Marshal() (dAtA []byte, err error)

func (*AggregationRequest) MarshalTo

func (m *AggregationRequest) MarshalTo(dAtA []byte) (int, error)

func (*AggregationRequest) MarshalToSizedBuffer

func (m *AggregationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AggregationRequest) ProtoMessage

func (*AggregationRequest) ProtoMessage()

func (*AggregationRequest) Reset

func (m *AggregationRequest) Reset()

func (*AggregationRequest) Size

func (m *AggregationRequest) Size() (n int)

func (*AggregationRequest) String

func (m *AggregationRequest) String() string

func (*AggregationRequest) Unmarshal

func (m *AggregationRequest) Unmarshal(dAtA []byte) error

func (*AggregationRequest) XXX_DiscardUnknown

func (m *AggregationRequest) XXX_DiscardUnknown()

func (*AggregationRequest) XXX_Marshal

func (m *AggregationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AggregationRequest) XXX_Merge

func (m *AggregationRequest) XXX_Merge(src proto.Message)

func (*AggregationRequest) XXX_Size

func (m *AggregationRequest) XXX_Size() int

func (*AggregationRequest) XXX_Unmarshal

func (m *AggregationRequest) XXX_Unmarshal(b []byte) error

type AggregationResponse deprecated

type AggregationResponse struct {
	Root                 []byte   `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Deprecated: Do not use.

func (*AggregationResponse) Descriptor

func (*AggregationResponse) Descriptor() ([]byte, []int)

func (*AggregationResponse) GetRoot

func (m *AggregationResponse) GetRoot() []byte

func (*AggregationResponse) Marshal

func (m *AggregationResponse) Marshal() (dAtA []byte, err error)

func (*AggregationResponse) MarshalTo

func (m *AggregationResponse) MarshalTo(dAtA []byte) (int, error)

func (*AggregationResponse) MarshalToSizedBuffer

func (m *AggregationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AggregationResponse) ProtoMessage

func (*AggregationResponse) ProtoMessage()

func (*AggregationResponse) Reset

func (m *AggregationResponse) Reset()

func (*AggregationResponse) Size

func (m *AggregationResponse) Size() (n int)

func (*AggregationResponse) String

func (m *AggregationResponse) String() string

func (*AggregationResponse) Unmarshal

func (m *AggregationResponse) Unmarshal(dAtA []byte) error

func (*AggregationResponse) XXX_DiscardUnknown

func (m *AggregationResponse) XXX_DiscardUnknown()

func (*AggregationResponse) XXX_Marshal

func (m *AggregationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AggregationResponse) XXX_Merge

func (m *AggregationResponse) XXX_Merge(src proto.Message)

func (*AggregationResponse) XXX_Size

func (m *AggregationResponse) XXX_Size() int

func (*AggregationResponse) XXX_Unmarshal

func (m *AggregationResponse) XXX_Unmarshal(b []byte) error

type AggregatorServiceClient deprecated

type AggregatorServiceClient interface {
	SubmitAggregateAndProof(ctx context.Context, in *AggregationRequest, opts ...grpc.CallOption) (*AggregationResponse, error)
}

AggregatorServiceClient is the client API for AggregatorService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Do not use.

func NewAggregatorServiceClient deprecated

func NewAggregatorServiceClient(cc *grpc.ClientConn) AggregatorServiceClient

Deprecated: Do not use.

type AggregatorServiceServer deprecated

type AggregatorServiceServer interface {
	SubmitAggregateAndProof(context.Context, *AggregationRequest) (*AggregationResponse, error)
}

AggregatorServiceServer is the server API for AggregatorService service.

Deprecated: Do not use.

type ExitedValidatorsRequest deprecated

type ExitedValidatorsRequest struct {
	PublicKeys           [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Deprecated: Do not use.

func (*ExitedValidatorsRequest) Descriptor

func (*ExitedValidatorsRequest) Descriptor() ([]byte, []int)

func (*ExitedValidatorsRequest) GetPublicKeys

func (m *ExitedValidatorsRequest) GetPublicKeys() [][]byte

func (*ExitedValidatorsRequest) Marshal

func (m *ExitedValidatorsRequest) Marshal() (dAtA []byte, err error)

func (*ExitedValidatorsRequest) MarshalTo

func (m *ExitedValidatorsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExitedValidatorsRequest) MarshalToSizedBuffer

func (m *ExitedValidatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExitedValidatorsRequest) ProtoMessage

func (*ExitedValidatorsRequest) ProtoMessage()

func (*ExitedValidatorsRequest) Reset

func (m *ExitedValidatorsRequest) Reset()

func (*ExitedValidatorsRequest) Size

func (m *ExitedValidatorsRequest) Size() (n int)

func (*ExitedValidatorsRequest) String

func (m *ExitedValidatorsRequest) String() string

func (*ExitedValidatorsRequest) Unmarshal

func (m *ExitedValidatorsRequest) Unmarshal(dAtA []byte) error

func (*ExitedValidatorsRequest) XXX_DiscardUnknown

func (m *ExitedValidatorsRequest) XXX_DiscardUnknown()

func (*ExitedValidatorsRequest) XXX_Marshal

func (m *ExitedValidatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExitedValidatorsRequest) XXX_Merge

func (m *ExitedValidatorsRequest) XXX_Merge(src proto.Message)

func (*ExitedValidatorsRequest) XXX_Size

func (m *ExitedValidatorsRequest) XXX_Size() int

func (*ExitedValidatorsRequest) XXX_Unmarshal

func (m *ExitedValidatorsRequest) XXX_Unmarshal(b []byte) error

type ExitedValidatorsResponse deprecated

type ExitedValidatorsResponse struct {
	PublicKeys           [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Deprecated: Do not use.

func (*ExitedValidatorsResponse) Descriptor

func (*ExitedValidatorsResponse) Descriptor() ([]byte, []int)

func (*ExitedValidatorsResponse) GetPublicKeys

func (m *ExitedValidatorsResponse) GetPublicKeys() [][]byte

func (*ExitedValidatorsResponse) Marshal

func (m *ExitedValidatorsResponse) Marshal() (dAtA []byte, err error)

func (*ExitedValidatorsResponse) MarshalTo

func (m *ExitedValidatorsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExitedValidatorsResponse) MarshalToSizedBuffer

func (m *ExitedValidatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExitedValidatorsResponse) ProtoMessage

func (*ExitedValidatorsResponse) ProtoMessage()

func (*ExitedValidatorsResponse) Reset

func (m *ExitedValidatorsResponse) Reset()

func (*ExitedValidatorsResponse) Size

func (m *ExitedValidatorsResponse) Size() (n int)

func (*ExitedValidatorsResponse) String

func (m *ExitedValidatorsResponse) String() string

func (*ExitedValidatorsResponse) Unmarshal

func (m *ExitedValidatorsResponse) Unmarshal(dAtA []byte) error

func (*ExitedValidatorsResponse) XXX_DiscardUnknown

func (m *ExitedValidatorsResponse) XXX_DiscardUnknown()

func (*ExitedValidatorsResponse) XXX_Marshal

func (m *ExitedValidatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExitedValidatorsResponse) XXX_Merge

func (m *ExitedValidatorsResponse) XXX_Merge(src proto.Message)

func (*ExitedValidatorsResponse) XXX_Size

func (m *ExitedValidatorsResponse) XXX_Size() int

func (*ExitedValidatorsResponse) XXX_Unmarshal

func (m *ExitedValidatorsResponse) XXX_Unmarshal(b []byte) error

type UnimplementedAggregatorServiceServer deprecated

type UnimplementedAggregatorServiceServer struct {
}

Deprecated: Do not use. UnimplementedAggregatorServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAggregatorServiceServer) SubmitAggregateAndProof

type ValidatorRole

type ValidatorRole int32 // Deprecated: Do not use.
const (
	ValidatorRole_UNKNOWN    ValidatorRole = 0
	ValidatorRole_ATTESTER   ValidatorRole = 1
	ValidatorRole_PROPOSER   ValidatorRole = 2
	ValidatorRole_AGGREGATOR ValidatorRole = 3
)

func (ValidatorRole) EnumDescriptor

func (ValidatorRole) EnumDescriptor() ([]byte, []int)

func (ValidatorRole) String

func (x ValidatorRole) String() string

Jump to

Keyboard shortcuts

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