Documentation ¶
Index ¶
- Variables
- func RegisterSlasherServer(s *grpc.Server, srv SlasherServer)
- type AttestationHistory
- func (*AttestationHistory) Descriptor() ([]byte, []int)
- func (m *AttestationHistory) GetLatestEpochWritten() uint64
- func (m *AttestationHistory) GetTargetToSource() map[uint64]uint64
- func (m *AttestationHistory) Marshal() (dAtA []byte, err error)
- func (m *AttestationHistory) MarshalTo(dAtA []byte) (int, error)
- func (m *AttestationHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttestationHistory) ProtoMessage()
- func (m *AttestationHistory) Reset()
- func (m *AttestationHistory) Size() (n int)
- func (m *AttestationHistory) String() string
- func (m *AttestationHistory) Unmarshal(dAtA []byte) error
- func (m *AttestationHistory) XXX_DiscardUnknown()
- func (m *AttestationHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttestationHistory) XXX_Merge(src proto.Message)
- func (m *AttestationHistory) XXX_Size() int
- func (m *AttestationHistory) XXX_Unmarshal(b []byte) error
- type AttesterSlashingResponse
- func (*AttesterSlashingResponse) Descriptor() ([]byte, []int)
- func (m *AttesterSlashingResponse) GetAttesterSlashing() []*v1alpha1.AttesterSlashing
- func (m *AttesterSlashingResponse) Marshal() (dAtA []byte, err error)
- func (m *AttesterSlashingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AttesterSlashingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AttesterSlashingResponse) ProtoMessage()
- func (m *AttesterSlashingResponse) Reset()
- func (m *AttesterSlashingResponse) Size() (n int)
- func (m *AttesterSlashingResponse) String() string
- func (m *AttesterSlashingResponse) Unmarshal(dAtA []byte) error
- func (m *AttesterSlashingResponse) XXX_DiscardUnknown()
- func (m *AttesterSlashingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttesterSlashingResponse) XXX_Merge(src proto.Message)
- func (m *AttesterSlashingResponse) XXX_Size() int
- func (m *AttesterSlashingResponse) XXX_Unmarshal(b []byte) error
- type CompressedIdxAtt
- func (*CompressedIdxAtt) Descriptor() ([]byte, []int)
- func (m *CompressedIdxAtt) GetDataRoot() []byte
- func (m *CompressedIdxAtt) GetIndices() []uint64
- func (m *CompressedIdxAtt) GetSignature() []byte
- func (m *CompressedIdxAtt) Marshal() (dAtA []byte, err error)
- func (m *CompressedIdxAtt) MarshalTo(dAtA []byte) (int, error)
- func (m *CompressedIdxAtt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompressedIdxAtt) ProtoMessage()
- func (m *CompressedIdxAtt) Reset()
- func (m *CompressedIdxAtt) Size() (n int)
- func (m *CompressedIdxAtt) String() string
- func (m *CompressedIdxAtt) Unmarshal(dAtA []byte) error
- func (m *CompressedIdxAtt) XXX_DiscardUnknown()
- func (m *CompressedIdxAtt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompressedIdxAtt) XXX_Merge(src proto.Message)
- func (m *CompressedIdxAtt) XXX_Size() int
- func (m *CompressedIdxAtt) XXX_Unmarshal(b []byte) error
- type CompressedIdxAttList
- func (*CompressedIdxAttList) Descriptor() ([]byte, []int)
- func (m *CompressedIdxAttList) GetList() []*CompressedIdxAtt
- func (m *CompressedIdxAttList) Marshal() (dAtA []byte, err error)
- func (m *CompressedIdxAttList) MarshalTo(dAtA []byte) (int, error)
- func (m *CompressedIdxAttList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompressedIdxAttList) ProtoMessage()
- func (m *CompressedIdxAttList) Reset()
- func (m *CompressedIdxAttList) Size() (n int)
- func (m *CompressedIdxAttList) String() string
- func (m *CompressedIdxAttList) Unmarshal(dAtA []byte) error
- func (m *CompressedIdxAttList) XXX_DiscardUnknown()
- func (m *CompressedIdxAttList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompressedIdxAttList) XXX_Merge(src proto.Message)
- func (m *CompressedIdxAttList) XXX_Size() int
- func (m *CompressedIdxAttList) XXX_Unmarshal(b []byte) error
- type EpochSpanMap
- func (*EpochSpanMap) Descriptor() ([]byte, []int)
- func (m *EpochSpanMap) GetEpochSpanMap() map[uint64]*MinMaxEpochSpan
- func (m *EpochSpanMap) Marshal() (dAtA []byte, err error)
- func (m *EpochSpanMap) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochSpanMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochSpanMap) ProtoMessage()
- func (m *EpochSpanMap) Reset()
- func (m *EpochSpanMap) Size() (n int)
- func (m *EpochSpanMap) String() string
- func (m *EpochSpanMap) Unmarshal(dAtA []byte) error
- func (m *EpochSpanMap) XXX_DiscardUnknown()
- func (m *EpochSpanMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochSpanMap) XXX_Merge(src proto.Message)
- func (m *EpochSpanMap) XXX_Size() int
- func (m *EpochSpanMap) XXX_Unmarshal(b []byte) error
- type MinMaxEpochSpan
- func (*MinMaxEpochSpan) Descriptor() ([]byte, []int)
- func (m *MinMaxEpochSpan) GetMaxEpochSpan() uint32
- func (m *MinMaxEpochSpan) GetMinEpochSpan() uint32
- func (m *MinMaxEpochSpan) Marshal() (dAtA []byte, err error)
- func (m *MinMaxEpochSpan) MarshalTo(dAtA []byte) (int, error)
- func (m *MinMaxEpochSpan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MinMaxEpochSpan) ProtoMessage()
- func (m *MinMaxEpochSpan) Reset()
- func (m *MinMaxEpochSpan) Size() (n int)
- func (m *MinMaxEpochSpan) String() string
- func (m *MinMaxEpochSpan) Unmarshal(dAtA []byte) error
- func (m *MinMaxEpochSpan) XXX_DiscardUnknown()
- func (m *MinMaxEpochSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MinMaxEpochSpan) XXX_Merge(src proto.Message)
- func (m *MinMaxEpochSpan) XXX_Size() int
- func (m *MinMaxEpochSpan) XXX_Unmarshal(b []byte) error
- type ProposalHistory
- func (*ProposalHistory) Descriptor() ([]byte, []int)
- func (m *ProposalHistory) GetEpochBits() github_com_prysmaticlabs_go_bitfield.Bitlist
- func (m *ProposalHistory) GetLatestEpochWritten() uint64
- func (m *ProposalHistory) Marshal() (dAtA []byte, err error)
- func (m *ProposalHistory) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposalHistory) ProtoMessage()
- func (m *ProposalHistory) Reset()
- func (m *ProposalHistory) Size() (n int)
- func (m *ProposalHistory) String() string
- func (m *ProposalHistory) Unmarshal(dAtA []byte) error
- func (m *ProposalHistory) XXX_DiscardUnknown()
- func (m *ProposalHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalHistory) XXX_Merge(src proto.Message)
- func (m *ProposalHistory) XXX_Size() int
- func (m *ProposalHistory) XXX_Unmarshal(b []byte) error
- type ProposerSlashingRequest
- func (*ProposerSlashingRequest) Descriptor() ([]byte, []int)
- func (m *ProposerSlashingRequest) GetBlockHeader() *v1alpha1.SignedBeaconBlockHeader
- func (m *ProposerSlashingRequest) GetValidatorIndex() uint64
- func (m *ProposerSlashingRequest) Marshal() (dAtA []byte, err error)
- func (m *ProposerSlashingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposerSlashingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposerSlashingRequest) ProtoMessage()
- func (m *ProposerSlashingRequest) Reset()
- func (m *ProposerSlashingRequest) Size() (n int)
- func (m *ProposerSlashingRequest) String() string
- func (m *ProposerSlashingRequest) Unmarshal(dAtA []byte) error
- func (m *ProposerSlashingRequest) XXX_DiscardUnknown()
- func (m *ProposerSlashingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposerSlashingRequest) XXX_Merge(src proto.Message)
- func (m *ProposerSlashingRequest) XXX_Size() int
- func (m *ProposerSlashingRequest) XXX_Unmarshal(b []byte) error
- type ProposerSlashingResponse
- func (*ProposerSlashingResponse) Descriptor() ([]byte, []int)
- func (m *ProposerSlashingResponse) GetProposerSlashing() []*v1alpha1.ProposerSlashing
- func (m *ProposerSlashingResponse) Marshal() (dAtA []byte, err error)
- func (m *ProposerSlashingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposerSlashingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposerSlashingResponse) ProtoMessage()
- func (m *ProposerSlashingResponse) Reset()
- func (m *ProposerSlashingResponse) Size() (n int)
- func (m *ProposerSlashingResponse) String() string
- func (m *ProposerSlashingResponse) Unmarshal(dAtA []byte) error
- func (m *ProposerSlashingResponse) XXX_DiscardUnknown()
- func (m *ProposerSlashingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposerSlashingResponse) XXX_Merge(src proto.Message)
- func (m *ProposerSlashingResponse) XXX_Size() int
- func (m *ProposerSlashingResponse) XXX_Unmarshal(b []byte) error
- type SlasherClient
- type SlasherServer
- type SlashingStatusRequest
- func (*SlashingStatusRequest) Descriptor() ([]byte, []int)
- func (m *SlashingStatusRequest) GetStatus() SlashingStatusRequest_SlashingStatus
- func (m *SlashingStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *SlashingStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SlashingStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SlashingStatusRequest) ProtoMessage()
- func (m *SlashingStatusRequest) Reset()
- func (m *SlashingStatusRequest) Size() (n int)
- func (m *SlashingStatusRequest) String() string
- func (m *SlashingStatusRequest) Unmarshal(dAtA []byte) error
- func (m *SlashingStatusRequest) XXX_DiscardUnknown()
- func (m *SlashingStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SlashingStatusRequest) XXX_Merge(src proto.Message)
- func (m *SlashingStatusRequest) XXX_Size() int
- func (m *SlashingStatusRequest) XXX_Unmarshal(b []byte) error
- type SlashingStatusRequest_SlashingStatus
- type UnimplementedSlasherServer
- func (*UnimplementedSlasherServer) AttesterSlashings(ctx context.Context, req *SlashingStatusRequest) (*AttesterSlashingResponse, error)
- func (*UnimplementedSlasherServer) IsSlashableAttestation(ctx context.Context, req *v1alpha1.IndexedAttestation) (*AttesterSlashingResponse, error)
- func (*UnimplementedSlasherServer) IsSlashableBlock(ctx context.Context, req *ProposerSlashingRequest) (*ProposerSlashingResponse, error)
- func (*UnimplementedSlasherServer) ProposerSlashings(ctx context.Context, req *SlashingStatusRequest) (*ProposerSlashingResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthSlashing = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSlashing = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSlashing = fmt.Errorf("proto: unexpected end of group") )
View Source
var SlashingStatusRequest_SlashingStatus_name = map[int32]string{
0: "Unknown",
1: "Active",
2: "Included",
3: "Reverted",
}
View Source
var SlashingStatusRequest_SlashingStatus_value = map[string]int32{
"Unknown": 0,
"Active": 1,
"Included": 2,
"Reverted": 3,
}
Functions ¶
func RegisterSlasherServer ¶
func RegisterSlasherServer(s *grpc.Server, srv SlasherServer)
Types ¶
type AttestationHistory ¶
type AttestationHistory struct { TargetToSource map[uint64]uint64 `` /* 195-byte string literal not displayed */ LatestEpochWritten uint64 `protobuf:"varint,2,opt,name=latest_epoch_written,json=latestEpochWritten,proto3" json:"latest_epoch_written,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AttestationHistory) Descriptor ¶
func (*AttestationHistory) Descriptor() ([]byte, []int)
func (*AttestationHistory) GetLatestEpochWritten ¶
func (m *AttestationHistory) GetLatestEpochWritten() uint64
func (*AttestationHistory) GetTargetToSource ¶
func (m *AttestationHistory) GetTargetToSource() map[uint64]uint64
func (*AttestationHistory) Marshal ¶
func (m *AttestationHistory) Marshal() (dAtA []byte, err error)
func (*AttestationHistory) MarshalTo ¶
func (m *AttestationHistory) MarshalTo(dAtA []byte) (int, error)
func (*AttestationHistory) MarshalToSizedBuffer ¶
func (m *AttestationHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttestationHistory) ProtoMessage ¶
func (*AttestationHistory) ProtoMessage()
func (*AttestationHistory) Reset ¶
func (m *AttestationHistory) Reset()
func (*AttestationHistory) Size ¶
func (m *AttestationHistory) Size() (n int)
func (*AttestationHistory) String ¶
func (m *AttestationHistory) String() string
func (*AttestationHistory) Unmarshal ¶
func (m *AttestationHistory) Unmarshal(dAtA []byte) error
func (*AttestationHistory) XXX_DiscardUnknown ¶
func (m *AttestationHistory) XXX_DiscardUnknown()
func (*AttestationHistory) XXX_Marshal ¶
func (m *AttestationHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationHistory) XXX_Merge ¶
func (m *AttestationHistory) XXX_Merge(src proto.Message)
func (*AttestationHistory) XXX_Size ¶
func (m *AttestationHistory) XXX_Size() int
func (*AttestationHistory) XXX_Unmarshal ¶
func (m *AttestationHistory) XXX_Unmarshal(b []byte) error
type AttesterSlashingResponse ¶
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 ¶
func (*AttesterSlashingResponse) Descriptor() ([]byte, []int)
func (*AttesterSlashingResponse) GetAttesterSlashing ¶
func (m *AttesterSlashingResponse) GetAttesterSlashing() []*v1alpha1.AttesterSlashing
func (*AttesterSlashingResponse) Marshal ¶
func (m *AttesterSlashingResponse) Marshal() (dAtA []byte, err error)
func (*AttesterSlashingResponse) MarshalTo ¶
func (m *AttesterSlashingResponse) MarshalTo(dAtA []byte) (int, error)
func (*AttesterSlashingResponse) MarshalToSizedBuffer ¶
func (m *AttesterSlashingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttesterSlashingResponse) ProtoMessage ¶
func (*AttesterSlashingResponse) ProtoMessage()
func (*AttesterSlashingResponse) Reset ¶
func (m *AttesterSlashingResponse) Reset()
func (*AttesterSlashingResponse) Size ¶
func (m *AttesterSlashingResponse) Size() (n int)
func (*AttesterSlashingResponse) String ¶
func (m *AttesterSlashingResponse) String() string
func (*AttesterSlashingResponse) Unmarshal ¶
func (m *AttesterSlashingResponse) Unmarshal(dAtA []byte) error
func (*AttesterSlashingResponse) XXX_DiscardUnknown ¶
func (m *AttesterSlashingResponse) XXX_DiscardUnknown()
func (*AttesterSlashingResponse) XXX_Marshal ¶
func (m *AttesterSlashingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttesterSlashingResponse) XXX_Merge ¶
func (m *AttesterSlashingResponse) XXX_Merge(src proto.Message)
func (*AttesterSlashingResponse) XXX_Size ¶
func (m *AttesterSlashingResponse) XXX_Size() int
func (*AttesterSlashingResponse) XXX_Unmarshal ¶
func (m *AttesterSlashingResponse) XXX_Unmarshal(b []byte) error
type CompressedIdxAtt ¶
type CompressedIdxAtt 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 (*CompressedIdxAtt) Descriptor ¶
func (*CompressedIdxAtt) Descriptor() ([]byte, []int)
func (*CompressedIdxAtt) GetDataRoot ¶
func (m *CompressedIdxAtt) GetDataRoot() []byte
func (*CompressedIdxAtt) GetIndices ¶
func (m *CompressedIdxAtt) GetIndices() []uint64
func (*CompressedIdxAtt) GetSignature ¶
func (m *CompressedIdxAtt) GetSignature() []byte
func (*CompressedIdxAtt) Marshal ¶
func (m *CompressedIdxAtt) Marshal() (dAtA []byte, err error)
func (*CompressedIdxAtt) MarshalToSizedBuffer ¶
func (m *CompressedIdxAtt) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompressedIdxAtt) ProtoMessage ¶
func (*CompressedIdxAtt) ProtoMessage()
func (*CompressedIdxAtt) Reset ¶
func (m *CompressedIdxAtt) Reset()
func (*CompressedIdxAtt) Size ¶
func (m *CompressedIdxAtt) Size() (n int)
func (*CompressedIdxAtt) String ¶
func (m *CompressedIdxAtt) String() string
func (*CompressedIdxAtt) Unmarshal ¶
func (m *CompressedIdxAtt) Unmarshal(dAtA []byte) error
func (*CompressedIdxAtt) XXX_DiscardUnknown ¶
func (m *CompressedIdxAtt) XXX_DiscardUnknown()
func (*CompressedIdxAtt) XXX_Marshal ¶
func (m *CompressedIdxAtt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompressedIdxAtt) XXX_Merge ¶
func (m *CompressedIdxAtt) XXX_Merge(src proto.Message)
func (*CompressedIdxAtt) XXX_Size ¶
func (m *CompressedIdxAtt) XXX_Size() int
func (*CompressedIdxAtt) XXX_Unmarshal ¶
func (m *CompressedIdxAtt) XXX_Unmarshal(b []byte) error
type CompressedIdxAttList ¶
type CompressedIdxAttList struct { List []*CompressedIdxAtt `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompressedIdxAttList) Descriptor ¶
func (*CompressedIdxAttList) Descriptor() ([]byte, []int)
func (*CompressedIdxAttList) GetList ¶
func (m *CompressedIdxAttList) GetList() []*CompressedIdxAtt
func (*CompressedIdxAttList) Marshal ¶
func (m *CompressedIdxAttList) Marshal() (dAtA []byte, err error)
func (*CompressedIdxAttList) MarshalTo ¶
func (m *CompressedIdxAttList) MarshalTo(dAtA []byte) (int, error)
func (*CompressedIdxAttList) MarshalToSizedBuffer ¶
func (m *CompressedIdxAttList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompressedIdxAttList) ProtoMessage ¶
func (*CompressedIdxAttList) ProtoMessage()
func (*CompressedIdxAttList) Reset ¶
func (m *CompressedIdxAttList) Reset()
func (*CompressedIdxAttList) Size ¶
func (m *CompressedIdxAttList) Size() (n int)
func (*CompressedIdxAttList) String ¶
func (m *CompressedIdxAttList) String() string
func (*CompressedIdxAttList) Unmarshal ¶
func (m *CompressedIdxAttList) Unmarshal(dAtA []byte) error
func (*CompressedIdxAttList) XXX_DiscardUnknown ¶
func (m *CompressedIdxAttList) XXX_DiscardUnknown()
func (*CompressedIdxAttList) XXX_Marshal ¶
func (m *CompressedIdxAttList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompressedIdxAttList) XXX_Merge ¶
func (m *CompressedIdxAttList) XXX_Merge(src proto.Message)
func (*CompressedIdxAttList) XXX_Size ¶
func (m *CompressedIdxAttList) XXX_Size() int
func (*CompressedIdxAttList) XXX_Unmarshal ¶
func (m *CompressedIdxAttList) XXX_Unmarshal(b []byte) error
type EpochSpanMap ¶
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 ¶
func (*EpochSpanMap) Descriptor() ([]byte, []int)
func (*EpochSpanMap) GetEpochSpanMap ¶
func (m *EpochSpanMap) GetEpochSpanMap() map[uint64]*MinMaxEpochSpan
func (*EpochSpanMap) Marshal ¶
func (m *EpochSpanMap) Marshal() (dAtA []byte, err error)
func (*EpochSpanMap) MarshalToSizedBuffer ¶
func (m *EpochSpanMap) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochSpanMap) ProtoMessage ¶
func (*EpochSpanMap) ProtoMessage()
func (*EpochSpanMap) Reset ¶
func (m *EpochSpanMap) Reset()
func (*EpochSpanMap) Size ¶
func (m *EpochSpanMap) Size() (n int)
func (*EpochSpanMap) String ¶
func (m *EpochSpanMap) String() string
func (*EpochSpanMap) Unmarshal ¶
func (m *EpochSpanMap) Unmarshal(dAtA []byte) error
func (*EpochSpanMap) XXX_DiscardUnknown ¶
func (m *EpochSpanMap) XXX_DiscardUnknown()
func (*EpochSpanMap) XXX_Marshal ¶
func (m *EpochSpanMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochSpanMap) XXX_Merge ¶
func (m *EpochSpanMap) XXX_Merge(src proto.Message)
func (*EpochSpanMap) XXX_Size ¶
func (m *EpochSpanMap) XXX_Size() int
func (*EpochSpanMap) XXX_Unmarshal ¶
func (m *EpochSpanMap) XXX_Unmarshal(b []byte) error
type MinMaxEpochSpan ¶
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 ¶
func (*MinMaxEpochSpan) Descriptor() ([]byte, []int)
func (*MinMaxEpochSpan) GetMaxEpochSpan ¶
func (m *MinMaxEpochSpan) GetMaxEpochSpan() uint32
func (*MinMaxEpochSpan) GetMinEpochSpan ¶
func (m *MinMaxEpochSpan) GetMinEpochSpan() uint32
func (*MinMaxEpochSpan) Marshal ¶
func (m *MinMaxEpochSpan) Marshal() (dAtA []byte, err error)
func (*MinMaxEpochSpan) MarshalToSizedBuffer ¶
func (m *MinMaxEpochSpan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MinMaxEpochSpan) ProtoMessage ¶
func (*MinMaxEpochSpan) ProtoMessage()
func (*MinMaxEpochSpan) Reset ¶
func (m *MinMaxEpochSpan) Reset()
func (*MinMaxEpochSpan) Size ¶
func (m *MinMaxEpochSpan) Size() (n int)
func (*MinMaxEpochSpan) String ¶
func (m *MinMaxEpochSpan) String() string
func (*MinMaxEpochSpan) Unmarshal ¶
func (m *MinMaxEpochSpan) Unmarshal(dAtA []byte) error
func (*MinMaxEpochSpan) XXX_DiscardUnknown ¶
func (m *MinMaxEpochSpan) XXX_DiscardUnknown()
func (*MinMaxEpochSpan) XXX_Marshal ¶
func (m *MinMaxEpochSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MinMaxEpochSpan) XXX_Merge ¶
func (m *MinMaxEpochSpan) XXX_Merge(src proto.Message)
func (*MinMaxEpochSpan) XXX_Size ¶
func (m *MinMaxEpochSpan) XXX_Size() int
func (*MinMaxEpochSpan) XXX_Unmarshal ¶
func (m *MinMaxEpochSpan) XXX_Unmarshal(b []byte) error
type ProposalHistory ¶
type ProposalHistory struct { EpochBits github_com_prysmaticlabs_go_bitfield.Bitlist `` /* 142-byte string literal not displayed */ LatestEpochWritten uint64 `protobuf:"varint,2,opt,name=latest_epoch_written,json=latestEpochWritten,proto3" json:"latest_epoch_written,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProposalHistory) Descriptor ¶
func (*ProposalHistory) Descriptor() ([]byte, []int)
func (*ProposalHistory) GetEpochBits ¶
func (m *ProposalHistory) GetEpochBits() github_com_prysmaticlabs_go_bitfield.Bitlist
func (*ProposalHistory) GetLatestEpochWritten ¶
func (m *ProposalHistory) GetLatestEpochWritten() uint64
func (*ProposalHistory) Marshal ¶
func (m *ProposalHistory) Marshal() (dAtA []byte, err error)
func (*ProposalHistory) MarshalToSizedBuffer ¶
func (m *ProposalHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalHistory) ProtoMessage ¶
func (*ProposalHistory) ProtoMessage()
func (*ProposalHistory) Reset ¶
func (m *ProposalHistory) Reset()
func (*ProposalHistory) Size ¶
func (m *ProposalHistory) Size() (n int)
func (*ProposalHistory) String ¶
func (m *ProposalHistory) String() string
func (*ProposalHistory) Unmarshal ¶
func (m *ProposalHistory) Unmarshal(dAtA []byte) error
func (*ProposalHistory) XXX_DiscardUnknown ¶
func (m *ProposalHistory) XXX_DiscardUnknown()
func (*ProposalHistory) XXX_Marshal ¶
func (m *ProposalHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalHistory) XXX_Merge ¶
func (m *ProposalHistory) XXX_Merge(src proto.Message)
func (*ProposalHistory) XXX_Size ¶
func (m *ProposalHistory) XXX_Size() int
func (*ProposalHistory) XXX_Unmarshal ¶
func (m *ProposalHistory) XXX_Unmarshal(b []byte) error
type ProposerSlashingRequest ¶
type ProposerSlashingRequest struct { BlockHeader *v1alpha1.SignedBeaconBlockHeader `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 ¶
func (*ProposerSlashingRequest) Descriptor() ([]byte, []int)
func (*ProposerSlashingRequest) GetBlockHeader ¶
func (m *ProposerSlashingRequest) GetBlockHeader() *v1alpha1.SignedBeaconBlockHeader
func (*ProposerSlashingRequest) GetValidatorIndex ¶
func (m *ProposerSlashingRequest) GetValidatorIndex() uint64
func (*ProposerSlashingRequest) Marshal ¶
func (m *ProposerSlashingRequest) Marshal() (dAtA []byte, err error)
func (*ProposerSlashingRequest) MarshalTo ¶
func (m *ProposerSlashingRequest) MarshalTo(dAtA []byte) (int, error)
func (*ProposerSlashingRequest) MarshalToSizedBuffer ¶
func (m *ProposerSlashingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposerSlashingRequest) ProtoMessage ¶
func (*ProposerSlashingRequest) ProtoMessage()
func (*ProposerSlashingRequest) Reset ¶
func (m *ProposerSlashingRequest) Reset()
func (*ProposerSlashingRequest) Size ¶
func (m *ProposerSlashingRequest) Size() (n int)
func (*ProposerSlashingRequest) String ¶
func (m *ProposerSlashingRequest) String() string
func (*ProposerSlashingRequest) Unmarshal ¶
func (m *ProposerSlashingRequest) Unmarshal(dAtA []byte) error
func (*ProposerSlashingRequest) XXX_DiscardUnknown ¶
func (m *ProposerSlashingRequest) XXX_DiscardUnknown()
func (*ProposerSlashingRequest) XXX_Marshal ¶
func (m *ProposerSlashingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposerSlashingRequest) XXX_Merge ¶
func (m *ProposerSlashingRequest) XXX_Merge(src proto.Message)
func (*ProposerSlashingRequest) XXX_Size ¶
func (m *ProposerSlashingRequest) XXX_Size() int
func (*ProposerSlashingRequest) XXX_Unmarshal ¶
func (m *ProposerSlashingRequest) XXX_Unmarshal(b []byte) error
type ProposerSlashingResponse ¶
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 ¶
func (*ProposerSlashingResponse) Descriptor() ([]byte, []int)
func (*ProposerSlashingResponse) GetProposerSlashing ¶
func (m *ProposerSlashingResponse) GetProposerSlashing() []*v1alpha1.ProposerSlashing
func (*ProposerSlashingResponse) Marshal ¶
func (m *ProposerSlashingResponse) Marshal() (dAtA []byte, err error)
func (*ProposerSlashingResponse) MarshalTo ¶
func (m *ProposerSlashingResponse) MarshalTo(dAtA []byte) (int, error)
func (*ProposerSlashingResponse) MarshalToSizedBuffer ¶
func (m *ProposerSlashingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposerSlashingResponse) ProtoMessage ¶
func (*ProposerSlashingResponse) ProtoMessage()
func (*ProposerSlashingResponse) Reset ¶
func (m *ProposerSlashingResponse) Reset()
func (*ProposerSlashingResponse) Size ¶
func (m *ProposerSlashingResponse) Size() (n int)
func (*ProposerSlashingResponse) String ¶
func (m *ProposerSlashingResponse) String() string
func (*ProposerSlashingResponse) Unmarshal ¶
func (m *ProposerSlashingResponse) Unmarshal(dAtA []byte) error
func (*ProposerSlashingResponse) XXX_DiscardUnknown ¶
func (m *ProposerSlashingResponse) XXX_DiscardUnknown()
func (*ProposerSlashingResponse) XXX_Marshal ¶
func (m *ProposerSlashingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposerSlashingResponse) XXX_Merge ¶
func (m *ProposerSlashingResponse) XXX_Merge(src proto.Message)
func (*ProposerSlashingResponse) XXX_Size ¶
func (m *ProposerSlashingResponse) XXX_Size() int
func (*ProposerSlashingResponse) XXX_Unmarshal ¶
func (m *ProposerSlashingResponse) XXX_Unmarshal(b []byte) error
type SlasherClient ¶
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) ProposerSlashings(ctx context.Context, in *SlashingStatusRequest, opts ...grpc.CallOption) (*ProposerSlashingResponse, error) AttesterSlashings(ctx context.Context, in *SlashingStatusRequest, opts ...grpc.CallOption) (*AttesterSlashingResponse, 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 ¶
func NewSlasherClient(cc *grpc.ClientConn) SlasherClient
type SlasherServer ¶
type SlasherServer interface { IsSlashableAttestation(context.Context, *v1alpha1.IndexedAttestation) (*AttesterSlashingResponse, error) IsSlashableBlock(context.Context, *ProposerSlashingRequest) (*ProposerSlashingResponse, error) ProposerSlashings(context.Context, *SlashingStatusRequest) (*ProposerSlashingResponse, error) AttesterSlashings(context.Context, *SlashingStatusRequest) (*AttesterSlashingResponse, error) }
SlasherServer is the server API for Slasher service.
type SlashingStatusRequest ¶
type SlashingStatusRequest struct { Status SlashingStatusRequest_SlashingStatus `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SlashingStatusRequest) Descriptor ¶
func (*SlashingStatusRequest) Descriptor() ([]byte, []int)
func (*SlashingStatusRequest) GetStatus ¶
func (m *SlashingStatusRequest) GetStatus() SlashingStatusRequest_SlashingStatus
func (*SlashingStatusRequest) Marshal ¶
func (m *SlashingStatusRequest) Marshal() (dAtA []byte, err error)
func (*SlashingStatusRequest) MarshalTo ¶
func (m *SlashingStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*SlashingStatusRequest) MarshalToSizedBuffer ¶
func (m *SlashingStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SlashingStatusRequest) ProtoMessage ¶
func (*SlashingStatusRequest) ProtoMessage()
func (*SlashingStatusRequest) Reset ¶
func (m *SlashingStatusRequest) Reset()
func (*SlashingStatusRequest) Size ¶
func (m *SlashingStatusRequest) Size() (n int)
func (*SlashingStatusRequest) String ¶
func (m *SlashingStatusRequest) String() string
func (*SlashingStatusRequest) Unmarshal ¶
func (m *SlashingStatusRequest) Unmarshal(dAtA []byte) error
func (*SlashingStatusRequest) XXX_DiscardUnknown ¶
func (m *SlashingStatusRequest) XXX_DiscardUnknown()
func (*SlashingStatusRequest) XXX_Marshal ¶
func (m *SlashingStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SlashingStatusRequest) XXX_Merge ¶
func (m *SlashingStatusRequest) XXX_Merge(src proto.Message)
func (*SlashingStatusRequest) XXX_Size ¶
func (m *SlashingStatusRequest) XXX_Size() int
func (*SlashingStatusRequest) XXX_Unmarshal ¶
func (m *SlashingStatusRequest) XXX_Unmarshal(b []byte) error
type SlashingStatusRequest_SlashingStatus ¶
type SlashingStatusRequest_SlashingStatus int32
const ( SlashingStatusRequest_Unknown SlashingStatusRequest_SlashingStatus = 0 SlashingStatusRequest_Active SlashingStatusRequest_SlashingStatus = 1 SlashingStatusRequest_Included SlashingStatusRequest_SlashingStatus = 2 SlashingStatusRequest_Reverted SlashingStatusRequest_SlashingStatus = 3 )
func (SlashingStatusRequest_SlashingStatus) EnumDescriptor ¶
func (SlashingStatusRequest_SlashingStatus) EnumDescriptor() ([]byte, []int)
func (SlashingStatusRequest_SlashingStatus) String ¶
func (x SlashingStatusRequest_SlashingStatus) String() string
type UnimplementedSlasherServer ¶
type UnimplementedSlasherServer struct { }
UnimplementedSlasherServer can be embedded to have forward compatible implementations.
func (*UnimplementedSlasherServer) AttesterSlashings ¶
func (*UnimplementedSlasherServer) AttesterSlashings(ctx context.Context, req *SlashingStatusRequest) (*AttesterSlashingResponse, error)
func (*UnimplementedSlasherServer) IsSlashableAttestation ¶
func (*UnimplementedSlasherServer) IsSlashableAttestation(ctx context.Context, req *v1alpha1.IndexedAttestation) (*AttesterSlashingResponse, error)
func (*UnimplementedSlasherServer) IsSlashableBlock ¶
func (*UnimplementedSlasherServer) IsSlashableBlock(ctx context.Context, req *ProposerSlashingRequest) (*ProposerSlashingResponse, error)
func (*UnimplementedSlasherServer) ProposerSlashings ¶
func (*UnimplementedSlasherServer) ProposerSlashings(ctx context.Context, req *SlashingStatusRequest) (*ProposerSlashingResponse, error)
Click to show internal directories.
Click to hide internal directories.