tendermint: github.com/tendermint/tendermint/types/proto3 Index | Files

package proto3

import "github.com/tendermint/tendermint/types/proto3"

Index

Package Files

block.pb.go result.go

type BlockID Uses

type BlockID struct {
    Hash                 []byte         `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
    PartsHeader          *PartSetHeader `protobuf:"bytes,2,opt,name=PartsHeader" json:"PartsHeader,omitempty"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `json:"-"`
}

func (*BlockID) Descriptor Uses

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

func (*BlockID) GetHash Uses

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

func (*BlockID) GetPartsHeader Uses

func (m *BlockID) GetPartsHeader() *PartSetHeader

func (*BlockID) ProtoMessage Uses

func (*BlockID) ProtoMessage()

func (*BlockID) Reset Uses

func (m *BlockID) Reset()

func (*BlockID) String Uses

func (m *BlockID) String() string

func (*BlockID) XXX_DiscardUnknown Uses

func (m *BlockID) XXX_DiscardUnknown()

func (*BlockID) XXX_Marshal Uses

func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockID) XXX_Merge Uses

func (dst *BlockID) XXX_Merge(src proto.Message)

func (*BlockID) XXX_Size Uses

func (m *BlockID) XXX_Size() int

func (*BlockID) XXX_Unmarshal Uses

func (m *BlockID) XXX_Unmarshal(b []byte) error
type Header struct {
    // basic block info
    Version  *Version   `protobuf:"bytes,1,opt,name=Version" 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" json:"Time,omitempty"`
    NumTxs   int64      `protobuf:"varint,5,opt,name=NumTxs,proto3" json:"NumTxs,omitempty"`
    TotalTxs int64      `protobuf:"varint,6,opt,name=TotalTxs,proto3" json:"TotalTxs,omitempty"`
    // prev block info
    LastBlockID *BlockID `protobuf:"bytes,7,opt,name=LastBlockID" json:"LastBlockID,omitempty"`
    // hashes of block data
    LastCommitHash []byte `protobuf:"bytes,8,opt,name=LastCommitHash,proto3" json:"LastCommitHash,omitempty"`
    DataHash       []byte `protobuf:"bytes,9,opt,name=DataHash,proto3" json:"DataHash,omitempty"`
    // hashes from the app output from the prev block
    ValidatorsHash     []byte `protobuf:"bytes,10,opt,name=ValidatorsHash,proto3" json:"ValidatorsHash,omitempty"`
    NextValidatorsHash []byte `protobuf:"bytes,11,opt,name=NextValidatorsHash,proto3" json:"NextValidatorsHash,omitempty"`
    ConsensusHash      []byte `protobuf:"bytes,12,opt,name=ConsensusHash,proto3" json:"ConsensusHash,omitempty"`
    AppHash            []byte `protobuf:"bytes,13,opt,name=AppHash,proto3" json:"AppHash,omitempty"`
    LastResultsHash    []byte `protobuf:"bytes,14,opt,name=LastResultsHash,proto3" json:"LastResultsHash,omitempty"`
    // consensus info
    EvidenceHash         []byte   `protobuf:"bytes,15,opt,name=EvidenceHash,proto3" json:"EvidenceHash,omitempty"`
    ProposerAddress      []byte   `protobuf:"bytes,16,opt,name=ProposerAddress,proto3" json:"ProposerAddress,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Header) Descriptor Uses

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

func (*Header) GetAppHash Uses

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

func (*Header) GetChainID Uses

func (m *Header) GetChainID() string

func (*Header) GetConsensusHash Uses

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

func (*Header) GetDataHash Uses

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

func (*Header) GetEvidenceHash Uses

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

func (*Header) GetHeight Uses

func (m *Header) GetHeight() int64

func (*Header) GetLastBlockID Uses

func (m *Header) GetLastBlockID() *BlockID

func (*Header) GetLastCommitHash Uses

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

func (*Header) GetLastResultsHash Uses

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

func (*Header) GetNextValidatorsHash Uses

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

func (*Header) GetNumTxs Uses

func (m *Header) GetNumTxs() int64

func (*Header) GetProposerAddress Uses

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

func (*Header) GetTime Uses

func (m *Header) GetTime() *Timestamp

func (*Header) GetTotalTxs Uses

func (m *Header) GetTotalTxs() int64

func (*Header) GetValidatorsHash Uses

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

func (*Header) GetVersion Uses

func (m *Header) GetVersion() *Version

func (*Header) MarshalJSON Uses

func (r *Header) MarshalJSON() ([]byte, error)

func (*Header) ProtoMessage Uses

func (*Header) ProtoMessage()

func (*Header) Reset Uses

func (m *Header) Reset()

func (*Header) String Uses

func (m *Header) String() string

func (*Header) UnmarshalJSON Uses

func (r *Header) UnmarshalJSON(b []byte) error

func (*Header) XXX_DiscardUnknown Uses

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal Uses

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge Uses

func (dst *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size Uses

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal Uses

func (m *Header) XXX_Unmarshal(b []byte) error

type PartSetHeader Uses

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 Uses

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

func (*PartSetHeader) GetHash Uses

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

func (*PartSetHeader) GetTotal Uses

func (m *PartSetHeader) GetTotal() int32

func (*PartSetHeader) MarshalJSON Uses

func (r *PartSetHeader) MarshalJSON() ([]byte, error)

func (*PartSetHeader) ProtoMessage Uses

func (*PartSetHeader) ProtoMessage()

func (*PartSetHeader) Reset Uses

func (m *PartSetHeader) Reset()

func (*PartSetHeader) String Uses

func (m *PartSetHeader) String() string

func (*PartSetHeader) UnmarshalJSON Uses

func (r *PartSetHeader) UnmarshalJSON(b []byte) error

func (*PartSetHeader) XXX_DiscardUnknown Uses

func (m *PartSetHeader) XXX_DiscardUnknown()

func (*PartSetHeader) XXX_Marshal Uses

func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartSetHeader) XXX_Merge Uses

func (dst *PartSetHeader) XXX_Merge(src proto.Message)

func (*PartSetHeader) XXX_Size Uses

func (m *PartSetHeader) XXX_Size() int

func (*PartSetHeader) XXX_Unmarshal Uses

func (m *PartSetHeader) XXX_Unmarshal(b []byte) error

type Timestamp Uses

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 Uses

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

func (*Timestamp) GetNanos Uses

func (m *Timestamp) GetNanos() int32

func (*Timestamp) GetSeconds Uses

func (m *Timestamp) GetSeconds() int64

func (*Timestamp) MarshalJSON Uses

func (r *Timestamp) MarshalJSON() ([]byte, error)

func (*Timestamp) ProtoMessage Uses

func (*Timestamp) ProtoMessage()

func (*Timestamp) Reset Uses

func (m *Timestamp) Reset()

func (*Timestamp) String Uses

func (m *Timestamp) String() string

func (*Timestamp) UnmarshalJSON Uses

func (r *Timestamp) UnmarshalJSON(b []byte) error

func (*Timestamp) XXX_DiscardUnknown Uses

func (m *Timestamp) XXX_DiscardUnknown()

func (*Timestamp) XXX_Marshal Uses

func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Timestamp) XXX_Merge Uses

func (dst *Timestamp) XXX_Merge(src proto.Message)

func (*Timestamp) XXX_Size Uses

func (m *Timestamp) XXX_Size() int

func (*Timestamp) XXX_Unmarshal Uses

func (m *Timestamp) XXX_Unmarshal(b []byte) error

type Version Uses

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 Uses

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

func (*Version) GetApp Uses

func (m *Version) GetApp() uint64

func (*Version) GetBlock Uses

func (m *Version) GetBlock() uint64

func (*Version) MarshalJSON Uses

func (r *Version) MarshalJSON() ([]byte, error)

func (*Version) ProtoMessage Uses

func (*Version) ProtoMessage()

func (*Version) Reset Uses

func (m *Version) Reset()

func (*Version) String Uses

func (m *Version) String() string

func (*Version) UnmarshalJSON Uses

func (r *Version) UnmarshalJSON(b []byte) error

func (*Version) XXX_DiscardUnknown Uses

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal Uses

func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Version) XXX_Merge Uses

func (dst *Version) XXX_Merge(src proto.Message)

func (*Version) XXX_Size Uses

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal Uses

func (m *Version) XXX_Unmarshal(b []byte) error

Package proto3 imports 6 packages (graph). Updated 2019-09-18. Refresh now. Tools for package owners.