types

package
v1.36.10-2024031422500... 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) ClearPartSetHeader

func (x *BlockID) ClearPartSetHeader()

func (*BlockID) GetHash

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

func (*BlockID) GetPartSetHeader

func (x *BlockID) GetPartSetHeader() *PartSetHeader

func (*BlockID) HasPartSetHeader

func (x *BlockID) HasPartSetHeader() bool

func (*BlockID) ProtoMessage

func (*BlockID) ProtoMessage()

func (*BlockID) ProtoReflect

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

func (*BlockID) Reset

func (x *BlockID) Reset()

func (*BlockID) SetHash

func (x *BlockID) SetHash(v []byte)

func (*BlockID) SetPartSetHeader

func (x *BlockID) SetPartSetHeader(v *PartSetHeader)

func (*BlockID) String

func (x *BlockID) String() string

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 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) ClearLastBlockId

func (x *Header) ClearLastBlockId()

func (*Header) ClearTime

func (x *Header) ClearTime()

func (*Header) ClearVersion

func (x *Header) ClearVersion()

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) HasLastBlockId

func (x *Header) HasLastBlockId() bool

func (*Header) HasTime

func (x *Header) HasTime() bool

func (*Header) HasVersion

func (x *Header) HasVersion() bool

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) SetAppHash

func (x *Header) SetAppHash(v []byte)

func (*Header) SetChainId

func (x *Header) SetChainId(v string)

func (*Header) SetConsensusHash

func (x *Header) SetConsensusHash(v []byte)

func (*Header) SetDataHash

func (x *Header) SetDataHash(v []byte)

func (*Header) SetEvidenceHash

func (x *Header) SetEvidenceHash(v []byte)

func (*Header) SetHeight

func (x *Header) SetHeight(v int64)

func (*Header) SetLastBlockId

func (x *Header) SetLastBlockId(v *BlockID)

func (*Header) SetLastCommitHash

func (x *Header) SetLastCommitHash(v []byte)

func (*Header) SetLastResultsHash

func (x *Header) SetLastResultsHash(v []byte)

func (*Header) SetNextValidatorsHash

func (x *Header) SetNextValidatorsHash(v []byte)

func (*Header) SetProposerAddress

func (x *Header) SetProposerAddress(v []byte)

func (*Header) SetTime

func (x *Header) SetTime(v *timestamppb.Timestamp)

func (*Header) SetValidatorsHash

func (x *Header) SetValidatorsHash(v []byte)

func (*Header) SetVersion

func (x *Header) SetVersion(v *version.Consensus)

func (*Header) String

func (x *Header) String() string

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

Source Files

  • types.pb.go

Jump to

Keyboard shortcuts

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