endorsementpb

package
v1.8.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_consensus_scheme_rolldpos_endorsementpb_endorsementmanager_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlockEndorsementCollection

type BlockEndorsementCollection struct {
	Blk      *iotextypes.Block                `protobuf:"bytes,1,opt,name=blk,proto3" json:"blk,omitempty"`
	BlockMap []*EndorserEndorsementCollection `protobuf:"bytes,2,rep,name=blockMap,proto3" json:"blockMap,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockEndorsementCollection) Descriptor deprecated

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

Deprecated: Use BlockEndorsementCollection.ProtoReflect.Descriptor instead.

func (*BlockEndorsementCollection) GetBlk

func (*BlockEndorsementCollection) GetBlockMap

func (*BlockEndorsementCollection) ProtoMessage

func (*BlockEndorsementCollection) ProtoMessage()

func (*BlockEndorsementCollection) ProtoReflect added in v1.1.2

func (*BlockEndorsementCollection) Reset

func (x *BlockEndorsementCollection) Reset()

func (*BlockEndorsementCollection) String

func (x *BlockEndorsementCollection) String() string

type EndorsementManager

type EndorsementManager struct {
	BlkHash           []string                      `protobuf:"bytes,1,rep,name=blkHash,proto3" json:"blkHash,omitempty"`
	BlockEndorsements []*BlockEndorsementCollection `protobuf:"bytes,2,rep,name=blockEndorsements,proto3" json:"blockEndorsements,omitempty"`
	CachedMintedBlk   *iotextypes.Block             `protobuf:"bytes,3,opt,name=cachedMintedBlk,proto3" json:"cachedMintedBlk,omitempty"`
	// contains filtered or unexported fields
}

func (*EndorsementManager) Descriptor deprecated

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

Deprecated: Use EndorsementManager.ProtoReflect.Descriptor instead.

func (*EndorsementManager) GetBlkHash

func (x *EndorsementManager) GetBlkHash() []string

func (*EndorsementManager) GetBlockEndorsements

func (x *EndorsementManager) GetBlockEndorsements() []*BlockEndorsementCollection

func (*EndorsementManager) GetCachedMintedBlk added in v1.1.2

func (x *EndorsementManager) GetCachedMintedBlk() *iotextypes.Block

func (*EndorsementManager) ProtoMessage

func (*EndorsementManager) ProtoMessage()

func (*EndorsementManager) ProtoReflect added in v1.1.2

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

func (*EndorsementManager) Reset

func (x *EndorsementManager) Reset()

func (*EndorsementManager) String

func (x *EndorsementManager) String() string

type EndorserEndorsementCollection

type EndorserEndorsementCollection struct {
	Endorser     string                    `protobuf:"bytes,1,opt,name=endorser,proto3" json:"endorser,omitempty"`
	Topics       []uint32                  `protobuf:"varint,2,rep,packed,name=topics,proto3" json:"topics,omitempty"`
	Endorsements []*iotextypes.Endorsement `protobuf:"bytes,3,rep,name=endorsements,proto3" json:"endorsements,omitempty"`
	// contains filtered or unexported fields
}

func (*EndorserEndorsementCollection) Descriptor deprecated

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

Deprecated: Use EndorserEndorsementCollection.ProtoReflect.Descriptor instead.

func (*EndorserEndorsementCollection) GetEndorsements

func (x *EndorserEndorsementCollection) GetEndorsements() []*iotextypes.Endorsement

func (*EndorserEndorsementCollection) GetEndorser

func (x *EndorserEndorsementCollection) GetEndorser() string

func (*EndorserEndorsementCollection) GetTopics

func (x *EndorserEndorsementCollection) GetTopics() []uint32

func (*EndorserEndorsementCollection) ProtoMessage

func (*EndorserEndorsementCollection) ProtoMessage()

func (*EndorserEndorsementCollection) ProtoReflect added in v1.1.2

func (*EndorserEndorsementCollection) Reset

func (x *EndorserEndorsementCollection) Reset()

func (*EndorserEndorsementCollection) String

Jump to

Keyboard shortcuts

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