types

package
v1.33.0-20240417015050... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_astria_vendored_tendermint_types_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlockID

type BlockID struct {
	Hash          []byte         `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	PartSetHeader *PartSetHeader `protobuf:"bytes,2,opt,name=part_set_header,json=partSetHeader,proto3" json:"part_set_header,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockID) Descriptor deprecated

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

Deprecated: Use BlockID.ProtoReflect.Descriptor instead.

func (*BlockID) GetHash

func (x *BlockID) GetHash() []byte

func (*BlockID) GetPartSetHeader

func (x *BlockID) GetPartSetHeader() *PartSetHeader

func (*BlockID) ProtoMessage

func (*BlockID) ProtoMessage()

func (*BlockID) ProtoReflect

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

func (*BlockID) Reset

func (x *BlockID) Reset()

func (*BlockID) String

func (x *BlockID) String() string
type Header struct {

	// basic block info
	Version *version.Consensus     `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	ChainId string                 `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Height  int64                  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Time    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	// prev block info
	LastBlockId *BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id,omitempty"`
	// hashes of block data
	LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
	DataHash       []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
	// hashes from the app output from the prev block
	ValidatorsHash     []byte `protobuf:"bytes,8,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"`
	NextValidatorsHash []byte `protobuf:"bytes,9,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
	ConsensusHash      []byte `protobuf:"bytes,10,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"`
	AppHash            []byte `protobuf:"bytes,11,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
	LastResultsHash    []byte `protobuf:"bytes,12,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
	// consensus info
	EvidenceHash    []byte `protobuf:"bytes,13,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"`
	ProposerAddress []byte `protobuf:"bytes,14,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetAppHash

func (x *Header) GetAppHash() []byte

func (*Header) GetChainId

func (x *Header) GetChainId() string

func (*Header) GetConsensusHash

func (x *Header) GetConsensusHash() []byte

func (*Header) GetDataHash

func (x *Header) GetDataHash() []byte

func (*Header) GetEvidenceHash

func (x *Header) GetEvidenceHash() []byte

func (*Header) GetHeight

func (x *Header) GetHeight() int64

func (*Header) GetLastBlockId

func (x *Header) GetLastBlockId() *BlockID

func (*Header) GetLastCommitHash

func (x *Header) GetLastCommitHash() []byte

func (*Header) GetLastResultsHash

func (x *Header) GetLastResultsHash() []byte

func (*Header) GetNextValidatorsHash

func (x *Header) GetNextValidatorsHash() []byte

func (*Header) GetProposerAddress

func (x *Header) GetProposerAddress() []byte

func (*Header) GetTime

func (x *Header) GetTime() *timestamppb.Timestamp

func (*Header) GetValidatorsHash

func (x *Header) GetValidatorsHash() []byte

func (*Header) GetVersion

func (x *Header) GetVersion() *version.Consensus

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type PartSetHeader

type PartSetHeader struct {
	Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Hash  []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*PartSetHeader) Descriptor deprecated

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

Deprecated: Use PartSetHeader.ProtoReflect.Descriptor instead.

func (*PartSetHeader) GetHash

func (x *PartSetHeader) GetHash() []byte

func (*PartSetHeader) GetTotal

func (x *PartSetHeader) GetTotal() uint32

func (*PartSetHeader) ProtoMessage

func (*PartSetHeader) ProtoMessage()

func (*PartSetHeader) ProtoReflect

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

func (*PartSetHeader) Reset

func (x *PartSetHeader) Reset()

func (*PartSetHeader) String

func (x *PartSetHeader) String() string

Jump to

Keyboard shortcuts

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