ethereum_beacon_rpc_v1

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: GPL-3.0 Imports: 11 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 (
	ErrInvalidLengthSlasher = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSlasher   = fmt.Errorf("proto: integer overflow")
)
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 added in v0.2.7

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

Deprecated: Do not use.

func RegisterSlasherServer added in v0.3.2

func RegisterSlasherServer(s *grpc.Server, srv SlasherServer)

Types

type AggregationRequest deprecated added in v0.2.7

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 added in v0.2.7

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

func (*AggregationRequest) GetCommitteeIndex added in v0.2.7

func (m *AggregationRequest) GetCommitteeIndex() uint64

func (*AggregationRequest) GetPublicKey added in v0.2.7

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

func (*AggregationRequest) GetSlot added in v0.2.7

func (m *AggregationRequest) GetSlot() uint64

func (*AggregationRequest) GetSlotSignature added in v0.2.7

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

func (*AggregationRequest) Marshal added in v0.2.7

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

func (*AggregationRequest) MarshalTo added in v0.2.7

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

func (*AggregationRequest) MarshalToSizedBuffer added in v0.3.2

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

func (*AggregationRequest) ProtoMessage added in v0.2.7

func (*AggregationRequest) ProtoMessage()

func (*AggregationRequest) Reset added in v0.2.7

func (m *AggregationRequest) Reset()

func (*AggregationRequest) Size added in v0.2.7

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

func (*AggregationRequest) String added in v0.2.7

func (m *AggregationRequest) String() string

func (*AggregationRequest) Unmarshal added in v0.2.7

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

func (*AggregationRequest) XXX_DiscardUnknown added in v0.2.7

func (m *AggregationRequest) XXX_DiscardUnknown()

func (*AggregationRequest) XXX_Marshal added in v0.2.7

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

func (*AggregationRequest) XXX_Merge added in v0.2.7

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

func (*AggregationRequest) XXX_Size added in v0.2.7

func (m *AggregationRequest) XXX_Size() int

func (*AggregationRequest) XXX_Unmarshal added in v0.2.7

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

type AggregationResponse deprecated added in v0.2.7

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 added in v0.2.7

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

func (*AggregationResponse) GetRoot added in v0.2.7

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

func (*AggregationResponse) Marshal added in v0.2.7

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

func (*AggregationResponse) MarshalTo added in v0.2.7

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

func (*AggregationResponse) MarshalToSizedBuffer added in v0.3.2

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

func (*AggregationResponse) ProtoMessage added in v0.2.7

func (*AggregationResponse) ProtoMessage()

func (*AggregationResponse) Reset added in v0.2.7

func (m *AggregationResponse) Reset()

func (*AggregationResponse) Size added in v0.2.7

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

func (*AggregationResponse) String added in v0.2.7

func (m *AggregationResponse) String() string

func (*AggregationResponse) Unmarshal added in v0.2.7

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

func (*AggregationResponse) XXX_DiscardUnknown added in v0.2.7

func (m *AggregationResponse) XXX_DiscardUnknown()

func (*AggregationResponse) XXX_Marshal added in v0.2.7

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

func (*AggregationResponse) XXX_Merge added in v0.2.7

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

func (*AggregationResponse) XXX_Size added in v0.2.7

func (m *AggregationResponse) XXX_Size() int

func (*AggregationResponse) XXX_Unmarshal added in v0.2.7

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

type AggregatorServiceClient deprecated added in v0.2.7

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 added in v0.2.7

func NewAggregatorServiceClient(cc *grpc.ClientConn) AggregatorServiceClient

Deprecated: Do not use.

type AggregatorServiceServer deprecated added in v0.2.7

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

AggregatorServiceServer is the server API for AggregatorService service.

Deprecated: Do not use.

type AttesterSlashingResponse added in v0.3.2

type AttesterSlashingResponse struct {
	AttesterSlashing     []*v1alpha1.AttesterSlashing `protobuf:"bytes,1,rep,name=attester_slashing,json=attesterSlashing,proto3" json:"attester_slashing,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*AttesterSlashingResponse) Descriptor added in v0.3.2

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

func (*AttesterSlashingResponse) GetAttesterSlashing added in v0.3.2

func (m *AttesterSlashingResponse) GetAttesterSlashing() []*v1alpha1.AttesterSlashing

func (*AttesterSlashingResponse) Marshal added in v0.3.2

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

func (*AttesterSlashingResponse) MarshalTo added in v0.3.2

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

func (*AttesterSlashingResponse) ProtoMessage added in v0.3.2

func (*AttesterSlashingResponse) ProtoMessage()

func (*AttesterSlashingResponse) Reset added in v0.3.2

func (m *AttesterSlashingResponse) Reset()

func (*AttesterSlashingResponse) Size added in v0.3.2

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

func (*AttesterSlashingResponse) String added in v0.3.2

func (m *AttesterSlashingResponse) String() string

func (*AttesterSlashingResponse) Unmarshal added in v0.3.2

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

func (*AttesterSlashingResponse) XXX_DiscardUnknown added in v0.3.2

func (m *AttesterSlashingResponse) XXX_DiscardUnknown()

func (*AttesterSlashingResponse) XXX_Marshal added in v0.3.2

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

func (*AttesterSlashingResponse) XXX_Merge added in v0.3.2

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

func (*AttesterSlashingResponse) XXX_Size added in v0.3.2

func (m *AttesterSlashingResponse) XXX_Size() int

func (*AttesterSlashingResponse) XXX_Unmarshal added in v0.3.2

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

type EpochSpanMap added in v0.3.2

type EpochSpanMap struct {
	EpochSpanMap         map[uint64]*MinMaxEpochSpan `` /* 188-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*EpochSpanMap) Descriptor added in v0.3.2

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

func (*EpochSpanMap) GetEpochSpanMap added in v0.3.2

func (m *EpochSpanMap) GetEpochSpanMap() map[uint64]*MinMaxEpochSpan

func (*EpochSpanMap) Marshal added in v0.3.2

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

func (*EpochSpanMap) MarshalTo added in v0.3.2

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

func (*EpochSpanMap) ProtoMessage added in v0.3.2

func (*EpochSpanMap) ProtoMessage()

func (*EpochSpanMap) Reset added in v0.3.2

func (m *EpochSpanMap) Reset()

func (*EpochSpanMap) Size added in v0.3.2

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

func (*EpochSpanMap) String added in v0.3.2

func (m *EpochSpanMap) String() string

func (*EpochSpanMap) Unmarshal added in v0.3.2

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

func (*EpochSpanMap) XXX_DiscardUnknown added in v0.3.2

func (m *EpochSpanMap) XXX_DiscardUnknown()

func (*EpochSpanMap) XXX_Marshal added in v0.3.2

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

func (*EpochSpanMap) XXX_Merge added in v0.3.2

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

func (*EpochSpanMap) XXX_Size added in v0.3.2

func (m *EpochSpanMap) XXX_Size() int

func (*EpochSpanMap) XXX_Unmarshal added in v0.3.2

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

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 added in v0.3.2

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 added in v0.3.2

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 MinMaxEpochSpan added in v0.3.2

type MinMaxEpochSpan struct {
	MinEpochSpan         uint32   `protobuf:"varint,1,opt,name=min_epoch_span,json=minEpochSpan,proto3" json:"min_epoch_span,omitempty"`
	MaxEpochSpan         uint32   `protobuf:"varint,2,opt,name=max_epoch_span,json=maxEpochSpan,proto3" json:"max_epoch_span,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MinMaxEpochSpan) Descriptor added in v0.3.2

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

func (*MinMaxEpochSpan) GetMaxEpochSpan added in v0.3.2

func (m *MinMaxEpochSpan) GetMaxEpochSpan() uint32

func (*MinMaxEpochSpan) GetMinEpochSpan added in v0.3.2

func (m *MinMaxEpochSpan) GetMinEpochSpan() uint32

func (*MinMaxEpochSpan) Marshal added in v0.3.2

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

func (*MinMaxEpochSpan) MarshalTo added in v0.3.2

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

func (*MinMaxEpochSpan) ProtoMessage added in v0.3.2

func (*MinMaxEpochSpan) ProtoMessage()

func (*MinMaxEpochSpan) Reset added in v0.3.2

func (m *MinMaxEpochSpan) Reset()

func (*MinMaxEpochSpan) Size added in v0.3.2

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

func (*MinMaxEpochSpan) String added in v0.3.2

func (m *MinMaxEpochSpan) String() string

func (*MinMaxEpochSpan) Unmarshal added in v0.3.2

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

func (*MinMaxEpochSpan) XXX_DiscardUnknown added in v0.3.2

func (m *MinMaxEpochSpan) XXX_DiscardUnknown()

func (*MinMaxEpochSpan) XXX_Marshal added in v0.3.2

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

func (*MinMaxEpochSpan) XXX_Merge added in v0.3.2

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

func (*MinMaxEpochSpan) XXX_Size added in v0.3.2

func (m *MinMaxEpochSpan) XXX_Size() int

func (*MinMaxEpochSpan) XXX_Unmarshal added in v0.3.2

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

type ProposerSlashingRequest added in v0.3.2

type ProposerSlashingRequest struct {
	BlockHeader          *v1alpha1.BeaconBlockHeader `protobuf:"bytes,1,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
	ValidatorIndex       uint64                      `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ProposerSlashingRequest) Descriptor added in v0.3.2

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

func (*ProposerSlashingRequest) GetBlockHeader added in v0.3.2

func (m *ProposerSlashingRequest) GetBlockHeader() *v1alpha1.BeaconBlockHeader

func (*ProposerSlashingRequest) GetValidatorIndex added in v0.3.2

func (m *ProposerSlashingRequest) GetValidatorIndex() uint64

func (*ProposerSlashingRequest) Marshal added in v0.3.2

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

func (*ProposerSlashingRequest) MarshalTo added in v0.3.2

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

func (*ProposerSlashingRequest) ProtoMessage added in v0.3.2

func (*ProposerSlashingRequest) ProtoMessage()

func (*ProposerSlashingRequest) Reset added in v0.3.2

func (m *ProposerSlashingRequest) Reset()

func (*ProposerSlashingRequest) Size added in v0.3.2

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

func (*ProposerSlashingRequest) String added in v0.3.2

func (m *ProposerSlashingRequest) String() string

func (*ProposerSlashingRequest) Unmarshal added in v0.3.2

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

func (*ProposerSlashingRequest) XXX_DiscardUnknown added in v0.3.2

func (m *ProposerSlashingRequest) XXX_DiscardUnknown()

func (*ProposerSlashingRequest) XXX_Marshal added in v0.3.2

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

func (*ProposerSlashingRequest) XXX_Merge added in v0.3.2

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

func (*ProposerSlashingRequest) XXX_Size added in v0.3.2

func (m *ProposerSlashingRequest) XXX_Size() int

func (*ProposerSlashingRequest) XXX_Unmarshal added in v0.3.2

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

type ProposerSlashingResponse added in v0.3.2

type ProposerSlashingResponse struct {
	ProposerSlashing     []*v1alpha1.ProposerSlashing `protobuf:"bytes,1,rep,name=proposer_slashing,json=proposerSlashing,proto3" json:"proposer_slashing,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*ProposerSlashingResponse) Descriptor added in v0.3.2

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

func (*ProposerSlashingResponse) GetProposerSlashing added in v0.3.2

func (m *ProposerSlashingResponse) GetProposerSlashing() []*v1alpha1.ProposerSlashing

func (*ProposerSlashingResponse) Marshal added in v0.3.2

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

func (*ProposerSlashingResponse) MarshalTo added in v0.3.2

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

func (*ProposerSlashingResponse) ProtoMessage added in v0.3.2

func (*ProposerSlashingResponse) ProtoMessage()

func (*ProposerSlashingResponse) Reset added in v0.3.2

func (m *ProposerSlashingResponse) Reset()

func (*ProposerSlashingResponse) Size added in v0.3.2

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

func (*ProposerSlashingResponse) String added in v0.3.2

func (m *ProposerSlashingResponse) String() string

func (*ProposerSlashingResponse) Unmarshal added in v0.3.2

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

func (*ProposerSlashingResponse) XXX_DiscardUnknown added in v0.3.2

func (m *ProposerSlashingResponse) XXX_DiscardUnknown()

func (*ProposerSlashingResponse) XXX_Marshal added in v0.3.2

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

func (*ProposerSlashingResponse) XXX_Merge added in v0.3.2

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

func (*ProposerSlashingResponse) XXX_Size added in v0.3.2

func (m *ProposerSlashingResponse) XXX_Size() int

func (*ProposerSlashingResponse) XXX_Unmarshal added in v0.3.2

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

type SlasherClient added in v0.3.2

type SlasherClient interface {
	IsSlashableAttestation(ctx context.Context, in *v1alpha1.IndexedAttestation, opts ...grpc.CallOption) (*AttesterSlashingResponse, error)
	IsSlashableBlock(ctx context.Context, in *ProposerSlashingRequest, opts ...grpc.CallOption) (*ProposerSlashingResponse, error)
	SlashableProposals(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (Slasher_SlashableProposalsClient, error)
	SlashableAttestations(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (Slasher_SlashableAttestationsClient, error)
}

SlasherClient is the client API for Slasher service.

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

func NewSlasherClient added in v0.3.2

func NewSlasherClient(cc *grpc.ClientConn) SlasherClient

type SlasherServer added in v0.3.2

SlasherServer is the server API for Slasher service.

type Slasher_SlashableAttestationsClient added in v0.3.2

type Slasher_SlashableAttestationsClient interface {
	Recv() (*v1alpha1.AttesterSlashing, error)
	grpc.ClientStream
}

type Slasher_SlashableAttestationsServer added in v0.3.2

type Slasher_SlashableAttestationsServer interface {
	Send(*v1alpha1.AttesterSlashing) error
	grpc.ServerStream
}

type Slasher_SlashableProposalsClient added in v0.3.2

type Slasher_SlashableProposalsClient interface {
	Recv() (*v1alpha1.ProposerSlashing, error)
	grpc.ClientStream
}

type Slasher_SlashableProposalsServer added in v0.3.2

type Slasher_SlashableProposalsServer interface {
	Send(*v1alpha1.ProposerSlashing) error
	grpc.ServerStream
}

type UnimplementedAggregatorServiceServer deprecated added in v0.3.2

type UnimplementedAggregatorServiceServer struct {
}

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

func (*UnimplementedAggregatorServiceServer) SubmitAggregateAndProof added in v0.3.2

type ValidatorIDToIdxAtt added in v0.3.2

type ValidatorIDToIdxAtt struct {
	Indices              []uint64 `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty"`
	DataRoot             []byte   `protobuf:"bytes,2,opt,name=data_root,json=dataRoot,proto3" json:"data_root,omitempty"`
	Signature            []byte   `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidatorIDToIdxAtt) Descriptor added in v0.3.2

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

func (*ValidatorIDToIdxAtt) GetDataRoot added in v0.3.2

func (m *ValidatorIDToIdxAtt) GetDataRoot() []byte

func (*ValidatorIDToIdxAtt) GetIndices added in v0.3.2

func (m *ValidatorIDToIdxAtt) GetIndices() []uint64

func (*ValidatorIDToIdxAtt) GetSignature added in v0.3.2

func (m *ValidatorIDToIdxAtt) GetSignature() []byte

func (*ValidatorIDToIdxAtt) Marshal added in v0.3.2

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

func (*ValidatorIDToIdxAtt) MarshalTo added in v0.3.2

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

func (*ValidatorIDToIdxAtt) ProtoMessage added in v0.3.2

func (*ValidatorIDToIdxAtt) ProtoMessage()

func (*ValidatorIDToIdxAtt) Reset added in v0.3.2

func (m *ValidatorIDToIdxAtt) Reset()

func (*ValidatorIDToIdxAtt) Size added in v0.3.2

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

func (*ValidatorIDToIdxAtt) String added in v0.3.2

func (m *ValidatorIDToIdxAtt) String() string

func (*ValidatorIDToIdxAtt) Unmarshal added in v0.3.2

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

func (*ValidatorIDToIdxAtt) XXX_DiscardUnknown added in v0.3.2

func (m *ValidatorIDToIdxAtt) XXX_DiscardUnknown()

func (*ValidatorIDToIdxAtt) XXX_Marshal added in v0.3.2

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

func (*ValidatorIDToIdxAtt) XXX_Merge added in v0.3.2

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

func (*ValidatorIDToIdxAtt) XXX_Size added in v0.3.2

func (m *ValidatorIDToIdxAtt) XXX_Size() int

func (*ValidatorIDToIdxAtt) XXX_Unmarshal added in v0.3.2

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

type ValidatorIDToIdxAttList added in v0.3.2

type ValidatorIDToIdxAttList struct {
	IndicesList          []*ValidatorIDToIdxAtt `protobuf:"bytes,1,rep,name=indicesList,proto3" json:"indicesList,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ValidatorIDToIdxAttList) Descriptor added in v0.3.2

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

func (*ValidatorIDToIdxAttList) GetIndicesList added in v0.3.2

func (m *ValidatorIDToIdxAttList) GetIndicesList() []*ValidatorIDToIdxAtt

func (*ValidatorIDToIdxAttList) Marshal added in v0.3.2

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

func (*ValidatorIDToIdxAttList) MarshalTo added in v0.3.2

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

func (*ValidatorIDToIdxAttList) ProtoMessage added in v0.3.2

func (*ValidatorIDToIdxAttList) ProtoMessage()

func (*ValidatorIDToIdxAttList) Reset added in v0.3.2

func (m *ValidatorIDToIdxAttList) Reset()

func (*ValidatorIDToIdxAttList) Size added in v0.3.2

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

func (*ValidatorIDToIdxAttList) String added in v0.3.2

func (m *ValidatorIDToIdxAttList) String() string

func (*ValidatorIDToIdxAttList) Unmarshal added in v0.3.2

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

func (*ValidatorIDToIdxAttList) XXX_DiscardUnknown added in v0.3.2

func (m *ValidatorIDToIdxAttList) XXX_DiscardUnknown()

func (*ValidatorIDToIdxAttList) XXX_Marshal added in v0.3.2

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

func (*ValidatorIDToIdxAttList) XXX_Merge added in v0.3.2

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

func (*ValidatorIDToIdxAttList) XXX_Size added in v0.3.2

func (m *ValidatorIDToIdxAttList) XXX_Size() int

func (*ValidatorIDToIdxAttList) XXX_Unmarshal added in v0.3.2

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

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