consensus_proto

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: GPL-3.0 Imports: 5 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use PBPoaInfo.ProtoReflect.Descriptor instead.

func (*PBPoaInfo) GetPublic

func (x *PBPoaInfo) GetPublic() string

func (*PBPoaInfo) GetSign

func (x *PBPoaInfo) GetSign() []byte

func (*PBPoaInfo) GetType

func (x *PBPoaInfo) GetType() int64

func (*PBPoaInfo) ProtoMessage

func (*PBPoaInfo) ProtoMessage()

func (*PBPoaInfo) ProtoReflect

func (x *PBPoaInfo) ProtoReflect() protoreflect.Message

func (*PBPoaInfo) Reset

func (x *PBPoaInfo) Reset()

func (*PBPoaInfo) String

func (x *PBPoaInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PBSigner.ProtoReflect.Descriptor instead.

func (*PBSigner) GetAddress

func (x *PBSigner) GetAddress() *types_pb.H160

func (*PBSigner) GetPublic

func (x *PBSigner) GetPublic() string

func (*PBSigner) GetVersion

func (x *PBSigner) GetVersion() string

func (*PBSigner) ProtoMessage

func (*PBSigner) ProtoMessage()

func (*PBSigner) ProtoReflect

func (x *PBSigner) ProtoReflect() protoreflect.Message

func (*PBSigner) Reset

func (x *PBSigner) Reset()

func (*PBSigner) String

func (x *PBSigner) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PBSigners.ProtoReflect.Descriptor instead.

func (*PBSigners) GetSigner

func (x *PBSigners) GetSigner() []*PBSigner

func (*PBSigners) ProtoMessage

func (*PBSigners) ProtoMessage()

func (*PBSigners) ProtoReflect

func (x *PBSigners) ProtoReflect() protoreflect.Message

func (*PBSigners) Reset

func (x *PBSigners) Reset()

func (*PBSigners) String

func (x *PBSigners) String() string

type PBVote

type PBVote struct {
	// contains filtered or unexported fields
}

func (*PBVote) Descriptor deprecated

func (*PBVote) Descriptor() ([]byte, []int)

Deprecated: Use PBVote.ProtoReflect.Descriptor instead.

func (*PBVote) ProtoMessage

func (*PBVote) ProtoMessage()

func (*PBVote) ProtoReflect

func (x *PBVote) ProtoReflect() protoreflect.Message

func (*PBVote) Reset

func (x *PBVote) Reset()

func (*PBVote) String

func (x *PBVote) String() string

Jump to

Keyboard shortcuts

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