unproductivedelegatepb

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL