blockmetapb

package
v2.0.6-rc0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_blockmeta_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlockMeta

type BlockMeta struct {
	BlockHeight   uint64               `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	BlockProducer string               `protobuf:"bytes,2,opt,name=blockProducer,proto3" json:"blockProducer,omitempty"`
	BlockTime     *timestamp.Timestamp `protobuf:"bytes,3,opt,name=blockTime,proto3" json:"blockTime,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockMeta) Descriptor deprecated

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

Deprecated: Use BlockMeta.ProtoReflect.Descriptor instead.

func (*BlockMeta) GetBlockHeight

func (x *BlockMeta) GetBlockHeight() uint64

func (*BlockMeta) GetBlockProducer

func (x *BlockMeta) GetBlockProducer() string

func (*BlockMeta) GetBlockTime

func (x *BlockMeta) GetBlockTime() *timestamp.Timestamp

func (*BlockMeta) ProtoMessage

func (*BlockMeta) ProtoMessage()

func (*BlockMeta) ProtoReflect

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

func (*BlockMeta) Reset

func (x *BlockMeta) Reset()

func (*BlockMeta) String

func (x *BlockMeta) String() string

Jump to

Keyboard shortcuts

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