Documentation ¶
Index ¶
- Variables
- type BlockID
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetAppHash() []byte
- func (x *Header) GetChainId() string
- func (x *Header) GetConsensusHash() []byte
- func (x *Header) GetDataHash() []byte
- func (x *Header) GetEvidenceHash() []byte
- func (x *Header) GetHeight() int64
- func (x *Header) GetLastBlockId() *BlockID
- func (x *Header) GetLastCommitHash() []byte
- func (x *Header) GetLastResultsHash() []byte
- func (x *Header) GetNextValidatorsHash() []byte
- func (x *Header) GetProposerAddress() []byte
- func (x *Header) GetTime() *timestamppb.Timestamp
- func (x *Header) GetValidatorsHash() []byte
- func (x *Header) GetVersion() *version.Consensus
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type PartSetHeader
- func (*PartSetHeader) Descriptor() ([]byte, []int)deprecated
- func (x *PartSetHeader) GetHash() []byte
- func (x *PartSetHeader) GetTotal() uint32
- func (*PartSetHeader) ProtoMessage()
- func (x *PartSetHeader) ProtoReflect() protoreflect.Message
- func (x *PartSetHeader) Reset()
- func (x *PartSetHeader) String() string
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) GetPartSetHeader ¶
func (x *BlockID) GetPartSetHeader() *PartSetHeader
func (*BlockID) ProtoReflect ¶
func (x *BlockID) ProtoReflect() protoreflect.Message
type Header ¶
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) GetTime ¶
func (x *Header) GetTime() *timestamppb.Timestamp
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.