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 HighestAttestation
- func (*HighestAttestation) Descriptor() ([]byte, []int)
- func (m *HighestAttestation) GetHighestSourceEpoch() uint64
- func (m *HighestAttestation) GetHighestTargetEpoch() uint64
- func (m *HighestAttestation) GetValidatorId() uint64
- func (m *HighestAttestation) Marshal() (dAtA []byte, err error)
- func (m *HighestAttestation) MarshalTo(dAtA []byte) (int, error)
- func (m *HighestAttestation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HighestAttestation) ProtoMessage()
- func (m *HighestAttestation) Reset()
- func (m *HighestAttestation) Size() (n int)
- func (m *HighestAttestation) String() string
- func (m *HighestAttestation) Unmarshal(dAtA []byte) error
- func (m *HighestAttestation) XXX_DiscardUnknown()
- func (m *HighestAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HighestAttestation) XXX_Merge(src proto.Message)
- func (m *HighestAttestation) XXX_Size() int
- func (m *HighestAttestation) XXX_Unmarshal(b []byte) error
- type HighestAttestationRequest
- func (*HighestAttestationRequest) Descriptor() ([]byte, []int)
- func (m *HighestAttestationRequest) GetValidatorIds() []uint64
- func (m *HighestAttestationRequest) Marshal() (dAtA []byte, err error)
- func (m *HighestAttestationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *HighestAttestationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HighestAttestationRequest) ProtoMessage()
- func (m *HighestAttestationRequest) Reset()
- func (m *HighestAttestationRequest) Size() (n int)
- func (m *HighestAttestationRequest) String() string
- func (m *HighestAttestationRequest) Unmarshal(dAtA []byte) error
- func (m *HighestAttestationRequest) XXX_DiscardUnknown()
- func (m *HighestAttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HighestAttestationRequest) XXX_Merge(src proto.Message)
- func (m *HighestAttestationRequest) XXX_Size() int
- func (m *HighestAttestationRequest) XXX_Unmarshal(b []byte) error
- type HighestAttestationResponse
- func (*HighestAttestationResponse) Descriptor() ([]byte, []int)
- func (m *HighestAttestationResponse) GetAttestations() []*HighestAttestation
- func (m *HighestAttestationResponse) Marshal() (dAtA []byte, err error)
- func (m *HighestAttestationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *HighestAttestationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HighestAttestationResponse) ProtoMessage()
- func (m *HighestAttestationResponse) Reset()
- func (m *HighestAttestationResponse) Size() (n int)
- func (m *HighestAttestationResponse) String() string
- func (m *HighestAttestationResponse) Unmarshal(dAtA []byte) error
- func (m *HighestAttestationResponse) XXX_DiscardUnknown()
- func (m *HighestAttestationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HighestAttestationResponse) XXX_Merge(src proto.Message)
- func (m *HighestAttestationResponse) XXX_Size() int
- func (m *HighestAttestationResponse) 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 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 Slashable
- func (*Slashable) Descriptor() ([]byte, []int)
- func (m *Slashable) GetSlashable() bool
- func (m *Slashable) Marshal() (dAtA []byte, err error)
- func (m *Slashable) MarshalTo(dAtA []byte) (int, error)
- func (m *Slashable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Slashable) ProtoMessage()
- func (m *Slashable) Reset()
- func (m *Slashable) Size() (n int)
- func (m *Slashable) String() string
- func (m *Slashable) Unmarshal(dAtA []byte) error
- func (m *Slashable) XXX_DiscardUnknown()
- func (m *Slashable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Slashable) XXX_Merge(src proto.Message)
- func (m *Slashable) XXX_Size() int
- func (m *Slashable) XXX_Unmarshal(b []byte) error
- type SlasherClient
- type SlasherServer
- type UnimplementedSlasherServer
- func (*UnimplementedSlasherServer) HighestAttestations(ctx context.Context, req *HighestAttestationRequest) (*HighestAttestationResponse, error)
- func (*UnimplementedSlasherServer) IsSlashableAttestation(ctx context.Context, req *v1alpha1.IndexedAttestation) (*AttesterSlashingResponse, error)
- func (*UnimplementedSlasherServer) IsSlashableAttestationNoUpdate(ctx context.Context, req *v1alpha1.IndexedAttestation) (*Slashable, error)
- func (*UnimplementedSlasherServer) IsSlashableBlock(ctx context.Context, req *v1alpha1.SignedBeaconBlockHeader) (*ProposerSlashingResponse, error)
- func (*UnimplementedSlasherServer) IsSlashableBlockNoUpdate(ctx context.Context, req *v1alpha1.BeaconBlockHeader) (*Slashable, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterSlasherServer ¶
func RegisterSlasherServer(s *grpc.Server, srv SlasherServer)
Types ¶
type AttestationHistory ¶ added in v0.3.2
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 ¶ added in v0.3.2
func (*AttestationHistory) Descriptor() ([]byte, []int)
func (*AttestationHistory) GetLatestEpochWritten ¶ added in v0.3.2
func (m *AttestationHistory) GetLatestEpochWritten() uint64
func (*AttestationHistory) GetTargetToSource ¶ added in v0.3.2
func (m *AttestationHistory) GetTargetToSource() map[uint64]uint64
func (*AttestationHistory) Marshal ¶ added in v0.3.2
func (m *AttestationHistory) Marshal() (dAtA []byte, err error)
func (*AttestationHistory) MarshalTo ¶ added in v0.3.2
func (m *AttestationHistory) MarshalTo(dAtA []byte) (int, error)
func (*AttestationHistory) MarshalToSizedBuffer ¶ added in v0.3.2
func (m *AttestationHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AttestationHistory) ProtoMessage ¶ added in v0.3.2
func (*AttestationHistory) ProtoMessage()
func (*AttestationHistory) Reset ¶ added in v0.3.2
func (m *AttestationHistory) Reset()
func (*AttestationHistory) Size ¶ added in v0.3.2
func (m *AttestationHistory) Size() (n int)
func (*AttestationHistory) String ¶ added in v0.3.2
func (m *AttestationHistory) String() string
func (*AttestationHistory) Unmarshal ¶ added in v0.3.2
func (m *AttestationHistory) Unmarshal(dAtA []byte) error
func (*AttestationHistory) XXX_DiscardUnknown ¶ added in v0.3.2
func (m *AttestationHistory) XXX_DiscardUnknown()
func (*AttestationHistory) XXX_Marshal ¶ added in v0.3.2
func (m *AttestationHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttestationHistory) XXX_Merge ¶ added in v0.3.2
func (m *AttestationHistory) XXX_Merge(src proto.Message)
func (*AttestationHistory) XXX_Size ¶ added in v0.3.2
func (m *AttestationHistory) XXX_Size() int
func (*AttestationHistory) XXX_Unmarshal ¶ added in v0.3.2
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 HighestAttestation ¶ added in v1.0.0
type HighestAttestation struct { ValidatorId uint64 `protobuf:"varint,1,opt,name=validator_id,json=validatorId,proto3" json:"validator_id,omitempty"` HighestSourceEpoch uint64 `protobuf:"varint,2,opt,name=highest_source_epoch,json=highestSourceEpoch,proto3" json:"highest_source_epoch,omitempty"` HighestTargetEpoch uint64 `protobuf:"varint,3,opt,name=highest_target_epoch,json=highestTargetEpoch,proto3" json:"highest_target_epoch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HighestAttestation) Descriptor ¶ added in v1.0.0
func (*HighestAttestation) Descriptor() ([]byte, []int)
func (*HighestAttestation) GetHighestSourceEpoch ¶ added in v1.0.0
func (m *HighestAttestation) GetHighestSourceEpoch() uint64
func (*HighestAttestation) GetHighestTargetEpoch ¶ added in v1.0.0
func (m *HighestAttestation) GetHighestTargetEpoch() uint64
func (*HighestAttestation) GetValidatorId ¶ added in v1.0.0
func (m *HighestAttestation) GetValidatorId() uint64
func (*HighestAttestation) Marshal ¶ added in v1.0.0
func (m *HighestAttestation) Marshal() (dAtA []byte, err error)
func (*HighestAttestation) MarshalTo ¶ added in v1.0.0
func (m *HighestAttestation) MarshalTo(dAtA []byte) (int, error)
func (*HighestAttestation) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *HighestAttestation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HighestAttestation) ProtoMessage ¶ added in v1.0.0
func (*HighestAttestation) ProtoMessage()
func (*HighestAttestation) Reset ¶ added in v1.0.0
func (m *HighestAttestation) Reset()
func (*HighestAttestation) Size ¶ added in v1.0.0
func (m *HighestAttestation) Size() (n int)
func (*HighestAttestation) String ¶ added in v1.0.0
func (m *HighestAttestation) String() string
func (*HighestAttestation) Unmarshal ¶ added in v1.0.0
func (m *HighestAttestation) Unmarshal(dAtA []byte) error
func (*HighestAttestation) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *HighestAttestation) XXX_DiscardUnknown()
func (*HighestAttestation) XXX_Marshal ¶ added in v1.0.0
func (m *HighestAttestation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HighestAttestation) XXX_Merge ¶ added in v1.0.0
func (m *HighestAttestation) XXX_Merge(src proto.Message)
func (*HighestAttestation) XXX_Size ¶ added in v1.0.0
func (m *HighestAttestation) XXX_Size() int
func (*HighestAttestation) XXX_Unmarshal ¶ added in v1.0.0
func (m *HighestAttestation) XXX_Unmarshal(b []byte) error
type HighestAttestationRequest ¶ added in v1.0.0
type HighestAttestationRequest struct { ValidatorIds []uint64 `protobuf:"varint,1,rep,packed,name=validator_ids,json=validatorIds,proto3" json:"validator_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HighestAttestationRequest) Descriptor ¶ added in v1.0.0
func (*HighestAttestationRequest) Descriptor() ([]byte, []int)
func (*HighestAttestationRequest) GetValidatorIds ¶ added in v1.0.0
func (m *HighestAttestationRequest) GetValidatorIds() []uint64
func (*HighestAttestationRequest) Marshal ¶ added in v1.0.0
func (m *HighestAttestationRequest) Marshal() (dAtA []byte, err error)
func (*HighestAttestationRequest) MarshalTo ¶ added in v1.0.0
func (m *HighestAttestationRequest) MarshalTo(dAtA []byte) (int, error)
func (*HighestAttestationRequest) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *HighestAttestationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HighestAttestationRequest) ProtoMessage ¶ added in v1.0.0
func (*HighestAttestationRequest) ProtoMessage()
func (*HighestAttestationRequest) Reset ¶ added in v1.0.0
func (m *HighestAttestationRequest) Reset()
func (*HighestAttestationRequest) Size ¶ added in v1.0.0
func (m *HighestAttestationRequest) Size() (n int)
func (*HighestAttestationRequest) String ¶ added in v1.0.0
func (m *HighestAttestationRequest) String() string
func (*HighestAttestationRequest) Unmarshal ¶ added in v1.0.0
func (m *HighestAttestationRequest) Unmarshal(dAtA []byte) error
func (*HighestAttestationRequest) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *HighestAttestationRequest) XXX_DiscardUnknown()
func (*HighestAttestationRequest) XXX_Marshal ¶ added in v1.0.0
func (m *HighestAttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HighestAttestationRequest) XXX_Merge ¶ added in v1.0.0
func (m *HighestAttestationRequest) XXX_Merge(src proto.Message)
func (*HighestAttestationRequest) XXX_Size ¶ added in v1.0.0
func (m *HighestAttestationRequest) XXX_Size() int
func (*HighestAttestationRequest) XXX_Unmarshal ¶ added in v1.0.0
func (m *HighestAttestationRequest) XXX_Unmarshal(b []byte) error
type HighestAttestationResponse ¶ added in v1.0.0
type HighestAttestationResponse struct { Attestations []*HighestAttestation `protobuf:"bytes,1,rep,name=attestations,proto3" json:"attestations,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HighestAttestationResponse) Descriptor ¶ added in v1.0.0
func (*HighestAttestationResponse) Descriptor() ([]byte, []int)
func (*HighestAttestationResponse) GetAttestations ¶ added in v1.0.0
func (m *HighestAttestationResponse) GetAttestations() []*HighestAttestation
func (*HighestAttestationResponse) Marshal ¶ added in v1.0.0
func (m *HighestAttestationResponse) Marshal() (dAtA []byte, err error)
func (*HighestAttestationResponse) MarshalTo ¶ added in v1.0.0
func (m *HighestAttestationResponse) MarshalTo(dAtA []byte) (int, error)
func (*HighestAttestationResponse) MarshalToSizedBuffer ¶ added in v1.0.0
func (m *HighestAttestationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HighestAttestationResponse) ProtoMessage ¶ added in v1.0.0
func (*HighestAttestationResponse) ProtoMessage()
func (*HighestAttestationResponse) Reset ¶ added in v1.0.0
func (m *HighestAttestationResponse) Reset()
func (*HighestAttestationResponse) Size ¶ added in v1.0.0
func (m *HighestAttestationResponse) Size() (n int)
func (*HighestAttestationResponse) String ¶ added in v1.0.0
func (m *HighestAttestationResponse) String() string
func (*HighestAttestationResponse) Unmarshal ¶ added in v1.0.0
func (m *HighestAttestationResponse) Unmarshal(dAtA []byte) error
func (*HighestAttestationResponse) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *HighestAttestationResponse) XXX_DiscardUnknown()
func (*HighestAttestationResponse) XXX_Marshal ¶ added in v1.0.0
func (m *HighestAttestationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HighestAttestationResponse) XXX_Merge ¶ added in v1.0.0
func (m *HighestAttestationResponse) XXX_Merge(src proto.Message)
func (*HighestAttestationResponse) XXX_Size ¶ added in v1.0.0
func (m *HighestAttestationResponse) XXX_Size() int
func (*HighestAttestationResponse) XXX_Unmarshal ¶ added in v1.0.0
func (m *HighestAttestationResponse) 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 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 Slashable ¶ added in v1.0.0
type Slashable struct { Slashable bool `protobuf:"varint,1,opt,name=slashable,proto3" json:"slashable,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Slashable) Descriptor ¶ added in v1.0.0
func (*Slashable) GetSlashable ¶ added in v1.0.0
func (*Slashable) MarshalToSizedBuffer ¶ added in v1.0.0
func (*Slashable) ProtoMessage ¶ added in v1.0.0
func (*Slashable) ProtoMessage()
func (*Slashable) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *Slashable) XXX_DiscardUnknown()
func (*Slashable) XXX_Marshal ¶ added in v1.0.0
func (*Slashable) XXX_Unmarshal ¶ added in v1.0.0
type SlasherClient ¶
type SlasherClient interface { IsSlashableAttestation(ctx context.Context, in *v1alpha1.IndexedAttestation, opts ...grpc.CallOption) (*AttesterSlashingResponse, error) IsSlashableBlock(ctx context.Context, in *v1alpha1.SignedBeaconBlockHeader, opts ...grpc.CallOption) (*ProposerSlashingResponse, error) IsSlashableAttestationNoUpdate(ctx context.Context, in *v1alpha1.IndexedAttestation, opts ...grpc.CallOption) (*Slashable, error) IsSlashableBlockNoUpdate(ctx context.Context, in *v1alpha1.BeaconBlockHeader, opts ...grpc.CallOption) (*Slashable, error) HighestAttestations(ctx context.Context, in *HighestAttestationRequest, opts ...grpc.CallOption) (*HighestAttestationResponse, 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, *v1alpha1.SignedBeaconBlockHeader) (*ProposerSlashingResponse, error) IsSlashableAttestationNoUpdate(context.Context, *v1alpha1.IndexedAttestation) (*Slashable, error) IsSlashableBlockNoUpdate(context.Context, *v1alpha1.BeaconBlockHeader) (*Slashable, error) HighestAttestations(context.Context, *HighestAttestationRequest) (*HighestAttestationResponse, error) }
SlasherServer is the server API for Slasher service.
type UnimplementedSlasherServer ¶
type UnimplementedSlasherServer struct { }
UnimplementedSlasherServer can be embedded to have forward compatible implementations.
func (*UnimplementedSlasherServer) HighestAttestations ¶ added in v1.0.0
func (*UnimplementedSlasherServer) HighestAttestations(ctx context.Context, req *HighestAttestationRequest) (*HighestAttestationResponse, error)
func (*UnimplementedSlasherServer) IsSlashableAttestation ¶
func (*UnimplementedSlasherServer) IsSlashableAttestation(ctx context.Context, req *v1alpha1.IndexedAttestation) (*AttesterSlashingResponse, error)
func (*UnimplementedSlasherServer) IsSlashableAttestationNoUpdate ¶ added in v1.0.0
func (*UnimplementedSlasherServer) IsSlashableAttestationNoUpdate(ctx context.Context, req *v1alpha1.IndexedAttestation) (*Slashable, error)
func (*UnimplementedSlasherServer) IsSlashableBlock ¶
func (*UnimplementedSlasherServer) IsSlashableBlock(ctx context.Context, req *v1alpha1.SignedBeaconBlockHeader) (*ProposerSlashingResponse, error)
func (*UnimplementedSlasherServer) IsSlashableBlockNoUpdate ¶ added in v1.0.0
func (*UnimplementedSlasherServer) IsSlashableBlockNoUpdate(ctx context.Context, req *v1alpha1.BeaconBlockHeader) (*Slashable, error)
Click to show internal directories.
Click to hide internal directories.