Documentation ¶
Index ¶
- type BlockID
- func (*BlockID) Descriptor() ([]byte, []int)
- func (m *BlockID) GetHash() []byte
- func (m *BlockID) GetPartsHeader() *PartSetHeader
- func (*BlockID) ProtoMessage()
- func (m *BlockID) Reset()
- func (m *BlockID) String() string
- func (m *BlockID) XXX_DiscardUnknown()
- func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockID) XXX_Merge(src proto.Message)
- func (m *BlockID) XXX_Size() int
- func (m *BlockID) XXX_Unmarshal(b []byte) error
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetAppHash() []byte
- func (m *Header) GetChainID() string
- func (m *Header) GetConsensusHash() []byte
- func (m *Header) GetDataHash() []byte
- func (m *Header) GetEvidenceHash() []byte
- func (m *Header) GetHeight() int64
- func (m *Header) GetLastBlockID() *BlockID
- func (m *Header) GetLastCommitHash() []byte
- func (m *Header) GetLastResultsHash() []byte
- func (m *Header) GetNextValidatorsHash() []byte
- func (m *Header) GetProposerAddress() []byte
- func (m *Header) GetTime() *Timestamp
- func (m *Header) GetValidatorsHash() []byte
- func (m *Header) GetVersion() *Version
- func (r *Header) MarshalJSON() ([]byte, error)
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) String() string
- func (r *Header) UnmarshalJSON(b []byte) error
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type PartSetHeader
- func (*PartSetHeader) Descriptor() ([]byte, []int)
- func (m *PartSetHeader) GetHash() []byte
- func (m *PartSetHeader) GetTotal() int32
- func (r *PartSetHeader) MarshalJSON() ([]byte, error)
- func (*PartSetHeader) ProtoMessage()
- func (m *PartSetHeader) Reset()
- func (m *PartSetHeader) String() string
- func (r *PartSetHeader) UnmarshalJSON(b []byte) error
- func (m *PartSetHeader) XXX_DiscardUnknown()
- func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PartSetHeader) XXX_Merge(src proto.Message)
- func (m *PartSetHeader) XXX_Size() int
- func (m *PartSetHeader) XXX_Unmarshal(b []byte) error
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)
- func (m *Timestamp) GetNanos() int32
- func (m *Timestamp) GetSeconds() int64
- func (r *Timestamp) MarshalJSON() ([]byte, error)
- func (*Timestamp) ProtoMessage()
- func (m *Timestamp) Reset()
- func (m *Timestamp) String() string
- func (r *Timestamp) UnmarshalJSON(b []byte) error
- func (m *Timestamp) XXX_DiscardUnknown()
- func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Timestamp) XXX_Merge(src proto.Message)
- func (m *Timestamp) XXX_Size() int
- func (m *Timestamp) XXX_Unmarshal(b []byte) error
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (m *Version) GetApp() uint64
- func (m *Version) GetBlock() uint64
- func (r *Version) MarshalJSON() ([]byte, error)
- func (*Version) ProtoMessage()
- func (m *Version) Reset()
- func (m *Version) String() string
- func (r *Version) UnmarshalJSON(b []byte) error
- func (m *Version) XXX_DiscardUnknown()
- func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Version) XXX_Merge(src proto.Message)
- func (m *Version) XXX_Size() int
- func (m *Version) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockID ¶
type BlockID struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` PartsHeader *PartSetHeader `protobuf:"bytes,2,opt,name=PartsHeader,proto3" json:"PartsHeader,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockID) Descriptor ¶
func (*BlockID) GetPartsHeader ¶
func (m *BlockID) GetPartsHeader() *PartSetHeader
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) XXX_DiscardUnknown ¶
func (m *BlockID) XXX_DiscardUnknown()
func (*BlockID) XXX_Marshal ¶
func (*BlockID) XXX_Unmarshal ¶
type Header ¶
type Header struct { // basic block info Version *Version `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` ChainID string `protobuf:"bytes,2,opt,name=ChainID,proto3" json:"ChainID,omitempty"` Height int64 `protobuf:"varint,3,opt,name=Height,proto3" json:"Height,omitempty"` Time *Timestamp `protobuf:"bytes,4,opt,name=Time,proto3" json:"Time,omitempty"` // prev block info LastBlockID *BlockID `protobuf:"bytes,5,opt,name=LastBlockID,proto3" json:"LastBlockID,omitempty"` // hashes of block data LastCommitHash []byte `protobuf:"bytes,6,opt,name=LastCommitHash,proto3" json:"LastCommitHash,omitempty"` DataHash []byte `protobuf:"bytes,7,opt,name=DataHash,proto3" json:"DataHash,omitempty"` // hashes from the app output from the prev block ValidatorsHash []byte `protobuf:"bytes,8,opt,name=ValidatorsHash,proto3" json:"ValidatorsHash,omitempty"` NextValidatorsHash []byte `protobuf:"bytes,9,opt,name=NextValidatorsHash,proto3" json:"NextValidatorsHash,omitempty"` ConsensusHash []byte `protobuf:"bytes,10,opt,name=ConsensusHash,proto3" json:"ConsensusHash,omitempty"` AppHash []byte `protobuf:"bytes,11,opt,name=AppHash,proto3" json:"AppHash,omitempty"` LastResultsHash []byte `protobuf:"bytes,12,opt,name=LastResultsHash,proto3" json:"LastResultsHash,omitempty"` // consensus info EvidenceHash []byte `protobuf:"bytes,13,opt,name=EvidenceHash,proto3" json:"EvidenceHash,omitempty"` ProposerAddress []byte `protobuf:"bytes,14,opt,name=ProposerAddress,proto3" json:"ProposerAddress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Header) Descriptor ¶
func (*Header) GetAppHash ¶
func (*Header) GetChainID ¶
func (*Header) GetConsensusHash ¶
func (*Header) GetDataHash ¶
func (*Header) GetEvidenceHash ¶
func (*Header) GetLastBlockID ¶
func (*Header) GetLastCommitHash ¶
func (*Header) GetLastResultsHash ¶
func (*Header) GetNextValidatorsHash ¶
func (*Header) GetProposerAddress ¶
func (*Header) GetValidatorsHash ¶
func (*Header) GetVersion ¶
func (*Header) MarshalJSON ¶ added in v0.32.4
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) UnmarshalJSON ¶ added in v0.32.4
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
type PartSetHeader ¶
type PartSetHeader struct { Total int32 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=Hash,proto3" json:"Hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PartSetHeader) Descriptor ¶
func (*PartSetHeader) Descriptor() ([]byte, []int)
func (*PartSetHeader) GetHash ¶
func (m *PartSetHeader) GetHash() []byte
func (*PartSetHeader) GetTotal ¶
func (m *PartSetHeader) GetTotal() int32
func (*PartSetHeader) MarshalJSON ¶ added in v0.32.4
func (r *PartSetHeader) MarshalJSON() ([]byte, error)
func (*PartSetHeader) ProtoMessage ¶
func (*PartSetHeader) ProtoMessage()
func (*PartSetHeader) Reset ¶
func (m *PartSetHeader) Reset()
func (*PartSetHeader) String ¶
func (m *PartSetHeader) String() string
func (*PartSetHeader) UnmarshalJSON ¶ added in v0.32.4
func (r *PartSetHeader) UnmarshalJSON(b []byte) error
func (*PartSetHeader) XXX_DiscardUnknown ¶
func (m *PartSetHeader) XXX_DiscardUnknown()
func (*PartSetHeader) XXX_Marshal ¶
func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PartSetHeader) XXX_Merge ¶
func (m *PartSetHeader) XXX_Merge(src proto.Message)
func (*PartSetHeader) XXX_Size ¶
func (m *PartSetHeader) XXX_Size() int
func (*PartSetHeader) XXX_Unmarshal ¶
func (m *PartSetHeader) XXX_Unmarshal(b []byte) error
type Timestamp ¶
type Timestamp struct { Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Timestamp wraps how amino encodes time. This is the protobuf well-known type protobuf/timestamp.proto See: https://github.com/google/protobuf/blob/d2980062c859649523d5fd51d6b55ab310e47482/src/google/protobuf/timestamp.proto#L123-L135 NOTE/XXX: nanos do not get skipped if they are zero in amino.
func (*Timestamp) Descriptor ¶
func (*Timestamp) GetSeconds ¶
func (*Timestamp) MarshalJSON ¶ added in v0.32.4
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) UnmarshalJSON ¶ added in v0.32.4
func (*Timestamp) XXX_DiscardUnknown ¶
func (m *Timestamp) XXX_DiscardUnknown()
func (*Timestamp) XXX_Marshal ¶
func (*Timestamp) XXX_Unmarshal ¶
type Version ¶
type Version struct { Block uint64 `protobuf:"varint,1,opt,name=Block,proto3" json:"Block,omitempty"` App uint64 `protobuf:"varint,2,opt,name=App,proto3" json:"App,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Version) Descriptor ¶
func (*Version) MarshalJSON ¶ added in v0.32.4
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) UnmarshalJSON ¶ added in v0.32.4
func (*Version) XXX_DiscardUnknown ¶
func (m *Version) XXX_DiscardUnknown()
func (*Version) XXX_Marshal ¶
func (*Version) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.