Documentation
¶
Index ¶
- Variables
- type BlockID
- func (x *BlockID) ClearPartSetHeader()
- func (x *BlockID) GetHash() []byte
- func (x *BlockID) GetPartSetHeader() *PartSetHeader
- func (x *BlockID) HasPartSetHeader() bool
- func (*BlockID) ProtoMessage()
- func (x *BlockID) ProtoReflect() protoreflect.Message
- func (x *BlockID) Reset()
- func (x *BlockID) SetHash(v []byte)
- func (x *BlockID) SetPartSetHeader(v *PartSetHeader)
- func (x *BlockID) String() string
- type BlockID_builder
- type Header
- func (x *Header) ClearLastBlockId()
- func (x *Header) ClearTime()
- func (x *Header) ClearVersion()
- 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 (x *Header) HasLastBlockId() bool
- func (x *Header) HasTime() bool
- func (x *Header) HasVersion() bool
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) SetAppHash(v []byte)
- func (x *Header) SetChainId(v string)
- func (x *Header) SetConsensusHash(v []byte)
- func (x *Header) SetDataHash(v []byte)
- func (x *Header) SetEvidenceHash(v []byte)
- func (x *Header) SetHeight(v int64)
- func (x *Header) SetLastBlockId(v *BlockID)
- func (x *Header) SetLastCommitHash(v []byte)
- func (x *Header) SetLastResultsHash(v []byte)
- func (x *Header) SetNextValidatorsHash(v []byte)
- func (x *Header) SetProposerAddress(v []byte)
- func (x *Header) SetTime(v *timestamppb.Timestamp)
- func (x *Header) SetValidatorsHash(v []byte)
- func (x *Header) SetVersion(v *version.Consensus)
- func (x *Header) String() string
- type Header_builder
- type PartSetHeader
- 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) SetHash(v []byte)
- func (x *PartSetHeader) SetTotal(v uint32)
- func (x *PartSetHeader) String() string
- type PartSetHeader_builder
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
func (*BlockID) SetPartSetHeader ¶
func (x *BlockID) SetPartSetHeader(v *PartSetHeader)
type BlockID_builder ¶
type BlockID_builder struct {
Hash []byte
PartSetHeader *PartSetHeader
// contains filtered or unexported fields
}
func (BlockID_builder) Build ¶
func (b0 BlockID_builder) Build() *BlockID
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
func (*Header) SetTime ¶
func (x *Header) SetTime(v *timestamppb.Timestamp)
type Header_builder ¶
type Header_builder struct {
// basic block info
Version *version.Consensus
ChainId string
Height int64
Time *timestamppb.Timestamp
// prev block info
LastBlockId *BlockID
// hashes of block data
LastCommitHash []byte
DataHash []byte
// hashes from the app output from the prev block
ValidatorsHash []byte
NextValidatorsHash []byte
ConsensusHash []byte
AppHash []byte
LastResultsHash []byte
// consensus info
EvidenceHash []byte
ProposerAddress []byte
// contains filtered or unexported fields
}
func (Header_builder) Build ¶
func (b0 Header_builder) Build() *Header
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) 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) SetHash ¶
func (x *PartSetHeader) SetHash(v []byte)
func (*PartSetHeader) SetTotal ¶
func (x *PartSetHeader) SetTotal(v uint32)
func (*PartSetHeader) String ¶
func (x *PartSetHeader) String() string
type PartSetHeader_builder ¶
type PartSetHeader_builder struct {
Total uint32
Hash []byte
// contains filtered or unexported fields
}
func (PartSetHeader_builder) Build ¶
func (b0 PartSetHeader_builder) Build() *PartSetHeader
Source Files
¶
- types.pb.go
Click to show internal directories.
Click to hide internal directories.