Documentation ¶
Index ¶
- Variables
- type ValidatorStatistics
- func (*ValidatorStatistics) Descriptor() ([]byte, []int)
- func (this *ValidatorStatistics) Equal(that interface{}) bool
- func (m *ValidatorStatistics) GetNumLeaderFailure() uint32
- func (m *ValidatorStatistics) GetNumLeaderSuccess() uint32
- func (m *ValidatorStatistics) GetNumValidatorFailure() uint32
- func (m *ValidatorStatistics) GetNumValidatorIgnoredSignatures() uint32
- func (m *ValidatorStatistics) GetNumValidatorSuccess() uint32
- func (m *ValidatorStatistics) GetRating() float32
- func (m *ValidatorStatistics) GetRatingModifier() float32
- func (m *ValidatorStatistics) GetShardId() uint32
- func (m *ValidatorStatistics) GetTempRating() float32
- func (m *ValidatorStatistics) GetTotalNumLeaderFailure() uint32
- func (m *ValidatorStatistics) GetTotalNumLeaderSuccess() uint32
- func (m *ValidatorStatistics) GetTotalNumValidatorFailure() uint32
- func (m *ValidatorStatistics) GetTotalNumValidatorIgnoredSignatures() uint32
- func (m *ValidatorStatistics) GetTotalNumValidatorSuccess() uint32
- func (m *ValidatorStatistics) GetValidatorStatus() string
- func (this *ValidatorStatistics) GoString() string
- func (m *ValidatorStatistics) Marshal() (dAtA []byte, err error)
- func (m *ValidatorStatistics) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorStatistics) ProtoMessage()
- func (m *ValidatorStatistics) Reset()
- func (m *ValidatorStatistics) Size() (n int)
- func (this *ValidatorStatistics) String() string
- func (m *ValidatorStatistics) Unmarshal(dAtA []byte) error
- func (m *ValidatorStatistics) XXX_DiscardUnknown()
- func (m *ValidatorStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorStatistics) XXX_Merge(src proto.Message)
- func (m *ValidatorStatistics) XXX_Size() int
- func (m *ValidatorStatistics) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ValidatorStatistics ¶
type ValidatorStatistics struct { TempRating float32 `protobuf:"fixed32,1,opt,name=TempRating,proto3" json:"tempRating"` NumLeaderSuccess uint32 `protobuf:"varint,2,opt,name=NumLeaderSuccess,proto3" json:"numLeaderSuccess"` NumLeaderFailure uint32 `protobuf:"varint,3,opt,name=NumLeaderFailure,proto3" json:"numLeaderFailure"` NumValidatorSuccess uint32 `protobuf:"varint,4,opt,name=NumValidatorSuccess,proto3" json:"numValidatorSuccess"` NumValidatorFailure uint32 `protobuf:"varint,5,opt,name=NumValidatorFailure,proto3" json:"numValidatorFailure"` NumValidatorIgnoredSignatures uint32 `protobuf:"varint,6,opt,name=NumValidatorIgnoredSignatures,proto3" json:"numValidatorIgnoredSignatures"` Rating float32 `protobuf:"fixed32,7,opt,name=Rating,proto3" json:"rating"` RatingModifier float32 `protobuf:"fixed32,8,opt,name=RatingModifier,proto3" json:"ratingModifier"` TotalNumLeaderSuccess uint32 `protobuf:"varint,9,opt,name=TotalNumLeaderSuccess,proto3" json:"totalNumLeaderSuccess"` TotalNumLeaderFailure uint32 `protobuf:"varint,10,opt,name=TotalNumLeaderFailure,proto3" json:"totalNumLeaderFailure"` TotalNumValidatorSuccess uint32 `protobuf:"varint,11,opt,name=TotalNumValidatorSuccess,proto3" json:"totalNumValidatorSuccess"` TotalNumValidatorFailure uint32 `protobuf:"varint,12,opt,name=TotalNumValidatorFailure,proto3" json:"totalNumValidatorFailure"` TotalNumValidatorIgnoredSignatures uint32 `protobuf:"varint,13,opt,name=TotalNumValidatorIgnoredSignatures,proto3" json:"totalNumValidatorIgnoredSignatures"` ShardId uint32 `protobuf:"varint,14,opt,name=ShardId,proto3" json:"shardId"` ValidatorStatus string `protobuf:"bytes,15,opt,name=ValidatorStatus,proto3" json:"validatorStatus"` }
ValidatorStatistics holds information about a validator
func (*ValidatorStatistics) Descriptor ¶
func (*ValidatorStatistics) Descriptor() ([]byte, []int)
func (*ValidatorStatistics) Equal ¶
func (this *ValidatorStatistics) Equal(that interface{}) bool
func (*ValidatorStatistics) GetNumLeaderFailure ¶
func (m *ValidatorStatistics) GetNumLeaderFailure() uint32
func (*ValidatorStatistics) GetNumLeaderSuccess ¶
func (m *ValidatorStatistics) GetNumLeaderSuccess() uint32
func (*ValidatorStatistics) GetNumValidatorFailure ¶
func (m *ValidatorStatistics) GetNumValidatorFailure() uint32
func (*ValidatorStatistics) GetNumValidatorIgnoredSignatures ¶
func (m *ValidatorStatistics) GetNumValidatorIgnoredSignatures() uint32
func (*ValidatorStatistics) GetNumValidatorSuccess ¶
func (m *ValidatorStatistics) GetNumValidatorSuccess() uint32
func (*ValidatorStatistics) GetRating ¶
func (m *ValidatorStatistics) GetRating() float32
func (*ValidatorStatistics) GetRatingModifier ¶
func (m *ValidatorStatistics) GetRatingModifier() float32
func (*ValidatorStatistics) GetShardId ¶
func (m *ValidatorStatistics) GetShardId() uint32
func (*ValidatorStatistics) GetTempRating ¶
func (m *ValidatorStatistics) GetTempRating() float32
func (*ValidatorStatistics) GetTotalNumLeaderFailure ¶
func (m *ValidatorStatistics) GetTotalNumLeaderFailure() uint32
func (*ValidatorStatistics) GetTotalNumLeaderSuccess ¶
func (m *ValidatorStatistics) GetTotalNumLeaderSuccess() uint32
func (*ValidatorStatistics) GetTotalNumValidatorFailure ¶
func (m *ValidatorStatistics) GetTotalNumValidatorFailure() uint32
func (*ValidatorStatistics) GetTotalNumValidatorIgnoredSignatures ¶
func (m *ValidatorStatistics) GetTotalNumValidatorIgnoredSignatures() uint32
func (*ValidatorStatistics) GetTotalNumValidatorSuccess ¶
func (m *ValidatorStatistics) GetTotalNumValidatorSuccess() uint32
func (*ValidatorStatistics) GetValidatorStatus ¶
func (m *ValidatorStatistics) GetValidatorStatus() string
func (*ValidatorStatistics) GoString ¶
func (this *ValidatorStatistics) GoString() string
func (*ValidatorStatistics) Marshal ¶
func (m *ValidatorStatistics) Marshal() (dAtA []byte, err error)
func (*ValidatorStatistics) MarshalTo ¶
func (m *ValidatorStatistics) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorStatistics) MarshalToSizedBuffer ¶
func (m *ValidatorStatistics) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorStatistics) ProtoMessage ¶
func (*ValidatorStatistics) ProtoMessage()
func (*ValidatorStatistics) Reset ¶
func (m *ValidatorStatistics) Reset()
func (*ValidatorStatistics) Size ¶
func (m *ValidatorStatistics) Size() (n int)
func (*ValidatorStatistics) String ¶
func (this *ValidatorStatistics) String() string
func (*ValidatorStatistics) Unmarshal ¶
func (m *ValidatorStatistics) Unmarshal(dAtA []byte) error
func (*ValidatorStatistics) XXX_DiscardUnknown ¶
func (m *ValidatorStatistics) XXX_DiscardUnknown()
func (*ValidatorStatistics) XXX_Marshal ¶
func (m *ValidatorStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorStatistics) XXX_Merge ¶
func (m *ValidatorStatistics) XXX_Merge(src proto.Message)
func (*ValidatorStatistics) XXX_Size ¶
func (m *ValidatorStatistics) XXX_Size() int
func (*ValidatorStatistics) XXX_Unmarshal ¶
func (m *ValidatorStatistics) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.