Documentation ¶
Index ¶
- Variables
- type Delegatelist
- type UnproductiveDelegate
- func (*UnproductiveDelegate) Descriptor() ([]byte, []int)deprecated
- func (x *UnproductiveDelegate) GetCacheSize() uint64
- func (x *UnproductiveDelegate) GetDelegateList() []*Delegatelist
- func (x *UnproductiveDelegate) GetProbationPeriod() uint64
- func (*UnproductiveDelegate) ProtoMessage()
- func (x *UnproductiveDelegate) ProtoReflect() protoreflect.Message
- func (x *UnproductiveDelegate) Reset()
- func (x *UnproductiveDelegate) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_unproductivedelegate_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Delegatelist ¶
type Delegatelist struct { Delegates []string `protobuf:"bytes,1,rep,name=delegates,proto3" json:"delegates,omitempty"` // contains filtered or unexported fields }
func (*Delegatelist) Descriptor
deprecated
func (*Delegatelist) Descriptor() ([]byte, []int)
Deprecated: Use Delegatelist.ProtoReflect.Descriptor instead.
func (*Delegatelist) GetDelegates ¶
func (x *Delegatelist) GetDelegates() []string
func (*Delegatelist) ProtoMessage ¶
func (*Delegatelist) ProtoMessage()
func (*Delegatelist) ProtoReflect ¶ added in v1.1.2
func (x *Delegatelist) ProtoReflect() protoreflect.Message
func (*Delegatelist) Reset ¶
func (x *Delegatelist) Reset()
func (*Delegatelist) String ¶
func (x *Delegatelist) String() string
type UnproductiveDelegate ¶
type UnproductiveDelegate struct { CacheSize uint64 `protobuf:"varint,1,opt,name=cacheSize,proto3" json:"cacheSize,omitempty"` ProbationPeriod uint64 `protobuf:"varint,2,opt,name=probationPeriod,proto3" json:"probationPeriod,omitempty"` DelegateList []*Delegatelist `protobuf:"bytes,3,rep,name=delegateList,proto3" json:"delegateList,omitempty"` // contains filtered or unexported fields }
func (*UnproductiveDelegate) Descriptor
deprecated
func (*UnproductiveDelegate) Descriptor() ([]byte, []int)
Deprecated: Use UnproductiveDelegate.ProtoReflect.Descriptor instead.
func (*UnproductiveDelegate) GetCacheSize ¶
func (x *UnproductiveDelegate) GetCacheSize() uint64
func (*UnproductiveDelegate) GetDelegateList ¶
func (x *UnproductiveDelegate) GetDelegateList() []*Delegatelist
func (*UnproductiveDelegate) GetProbationPeriod ¶ added in v1.0.0
func (x *UnproductiveDelegate) GetProbationPeriod() uint64
func (*UnproductiveDelegate) ProtoMessage ¶
func (*UnproductiveDelegate) ProtoMessage()
func (*UnproductiveDelegate) ProtoReflect ¶ added in v1.1.2
func (x *UnproductiveDelegate) ProtoReflect() protoreflect.Message
func (*UnproductiveDelegate) Reset ¶
func (x *UnproductiveDelegate) Reset()
func (*UnproductiveDelegate) String ¶
func (x *UnproductiveDelegate) String() string
Click to show internal directories.
Click to hide internal directories.