Documentation ¶
Index ¶
- Variables
- type PBPoaInfo
- func (*PBPoaInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PBPoaInfo) GetPublic() string
- func (x *PBPoaInfo) GetSign() []byte
- func (x *PBPoaInfo) GetType() int64
- func (*PBPoaInfo) ProtoMessage()
- func (x *PBPoaInfo) ProtoReflect() protoreflect.Message
- func (x *PBPoaInfo) Reset()
- func (x *PBPoaInfo) String() string
- type PBSigner
- func (*PBSigner) Descriptor() ([]byte, []int)deprecated
- func (x *PBSigner) GetAddress() *types_pb.H160
- func (x *PBSigner) GetPublic() string
- func (x *PBSigner) GetVersion() string
- func (*PBSigner) ProtoMessage()
- func (x *PBSigner) ProtoReflect() protoreflect.Message
- func (x *PBSigner) Reset()
- func (x *PBSigner) String() string
- type PBSigners
- type PBVote
Constants ¶
This section is empty.
Variables ¶
View Source
var File_consensus_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PBPoaInfo ¶
type PBPoaInfo struct { Public string `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"` Sign []byte `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"` Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*PBPoaInfo) Descriptor
deprecated
func (*PBPoaInfo) ProtoMessage ¶
func (*PBPoaInfo) ProtoMessage()
func (*PBPoaInfo) ProtoReflect ¶
func (x *PBPoaInfo) ProtoReflect() protoreflect.Message
type PBSigner ¶
type PBSigner struct { Public string `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"` Address *types_pb.H160 `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*PBSigner) Descriptor
deprecated
func (*PBSigner) GetAddress ¶
func (*PBSigner) GetVersion ¶
func (*PBSigner) ProtoMessage ¶
func (*PBSigner) ProtoMessage()
func (*PBSigner) ProtoReflect ¶
func (x *PBSigner) ProtoReflect() protoreflect.Message
type PBSigners ¶
type PBSigners struct { Signer []*PBSigner `protobuf:"bytes,1,rep,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
func (*PBSigners) Descriptor
deprecated
func (*PBSigners) ProtoMessage ¶
func (*PBSigners) ProtoMessage()
func (*PBSigners) ProtoReflect ¶
func (x *PBSigners) ProtoReflect() protoreflect.Message
type PBVote ¶
type PBVote struct {
// contains filtered or unexported fields
}
func (*PBVote) Descriptor
deprecated
func (*PBVote) ProtoMessage ¶
func (*PBVote) ProtoMessage()
func (*PBVote) ProtoReflect ¶
func (x *PBVote) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.