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

package types

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

Index

Package Files

block.pb.go canonical.pb.go events.pb.go evidence.pb.go params.pb.go types.pb.go validator.pb.go

Variables

var (
    ErrInvalidLengthBlock        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowBlock          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupBlock = fmt.Errorf("proto: unexpected end of group")
)
var (
    ErrInvalidLengthCanonical        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowCanonical          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupCanonical = fmt.Errorf("proto: unexpected end of group")
)
var (
    ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
var (
    ErrInvalidLengthEvidence        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowEvidence          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupEvidence = fmt.Errorf("proto: unexpected end of group")
)
var (
    ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
var (
    ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
var (
    ErrInvalidLengthValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowValidator          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group")
)
var BlockIDFlag_name = map[int32]string{
    0:  "BLOCK_ID_FLAG_UNKNOWN",
    1:  "BLOCK_ID_FLAG_ABSENT",
    2:  "BLOCK_ID_FLAG_COMMIT",
    3:  "BLOCK_ID_FLAG_NIL",
}
var BlockIDFlag_value = map[string]int32{
    "BLOCK_ID_FLAG_UNKNOWN": 0,
    "BLOCK_ID_FLAG_ABSENT":  1,
    "BLOCK_ID_FLAG_COMMIT":  2,
    "BLOCK_ID_FLAG_NIL":     3,
}
var SignedMsgType_name = map[int32]string{
    0:  "SIGNED_MSG_TYPE_UNKNOWN",
    1:  "SIGNED_MSG_TYPE_PREVOTE",
    2:  "SIGNED_MSG_TYPE_PRECOMMIT",
    32: "SIGNED_MSG_TYPE_PROPOSAL",
}
var SignedMsgType_value = map[string]int32{
    "SIGNED_MSG_TYPE_UNKNOWN":   0,
    "SIGNED_MSG_TYPE_PREVOTE":   1,
    "SIGNED_MSG_TYPE_PRECOMMIT": 2,
    "SIGNED_MSG_TYPE_PROPOSAL":  32,
}

type Block Uses

type Block struct {
    Header     Header       `protobuf:"bytes,1,opt,name=header,proto3" json:"header"`
    Data       Data         `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
    Evidence   EvidenceData `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence"`
    LastCommit *Commit      `protobuf:"bytes,4,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"`
}

func (*Block) Descriptor Uses

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

func (*Block) GetData Uses

func (m *Block) GetData() Data

func (*Block) GetEvidence Uses

func (m *Block) GetEvidence() EvidenceData

func (*Block) GetHeader Uses

func (m *Block) GetHeader() Header

func (*Block) GetLastCommit Uses

func (m *Block) GetLastCommit() *Commit

func (*Block) Marshal Uses

func (m *Block) Marshal() (dAtA []byte, err error)

func (*Block) MarshalTo Uses

func (m *Block) MarshalTo(dAtA []byte) (int, error)

func (*Block) MarshalToSizedBuffer Uses

func (m *Block) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Block) ProtoMessage Uses

func (*Block) ProtoMessage()

func (*Block) Reset Uses

func (m *Block) Reset()

func (*Block) Size Uses

func (m *Block) Size() (n int)

func (*Block) String Uses

func (m *Block) String() string

func (*Block) Unmarshal Uses

func (m *Block) Unmarshal(dAtA []byte) error

func (*Block) XXX_DiscardUnknown Uses

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal Uses

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

func (*Block) XXX_Merge Uses

func (m *Block) XXX_Merge(src proto.Message)

func (*Block) XXX_Size Uses

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal Uses

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

type BlockID Uses

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"`
}

BlockID

func (*BlockID) Descriptor Uses

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

func (*BlockID) GetHash Uses

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

func (*BlockID) GetPartSetHeader Uses

func (m *BlockID) GetPartSetHeader() PartSetHeader

func (*BlockID) Marshal Uses

func (m *BlockID) Marshal() (dAtA []byte, err error)

func (*BlockID) MarshalTo Uses

func (m *BlockID) MarshalTo(dAtA []byte) (int, error)

func (*BlockID) MarshalToSizedBuffer Uses

func (m *BlockID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockID) ProtoMessage Uses

func (*BlockID) ProtoMessage()

func (*BlockID) Reset Uses

func (m *BlockID) Reset()

func (*BlockID) Size Uses

func (m *BlockID) Size() (n int)

func (*BlockID) String Uses

func (m *BlockID) String() string

func (*BlockID) Unmarshal Uses

func (m *BlockID) Unmarshal(dAtA []byte) error

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 (m *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 BlockIDFlag Uses

type BlockIDFlag int32

BlockIdFlag indicates which BlcokID the signature is for

const (
    BlockIDFlagUnknown BlockIDFlag = 0
    BlockIDFlagAbsent  BlockIDFlag = 1
    BlockIDFlagCommit  BlockIDFlag = 2
    BlockIDFlagNil     BlockIDFlag = 3
)

func (BlockIDFlag) EnumDescriptor Uses

func (BlockIDFlag) EnumDescriptor() ([]byte, []int)

func (BlockIDFlag) String Uses

func (x BlockIDFlag) String() string

type BlockMeta Uses

type BlockMeta struct {
    BlockID   BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id"`
    BlockSize int64   `protobuf:"varint,2,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
    Header    Header  `protobuf:"bytes,3,opt,name=header,proto3" json:"header"`
    NumTxs    int64   `protobuf:"varint,4,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"`
}

func (*BlockMeta) Descriptor Uses

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

func (*BlockMeta) GetBlockID Uses

func (m *BlockMeta) GetBlockID() BlockID

func (*BlockMeta) GetBlockSize Uses

func (m *BlockMeta) GetBlockSize() int64

func (*BlockMeta) GetHeader Uses

func (m *BlockMeta) GetHeader() Header

func (*BlockMeta) GetNumTxs Uses

func (m *BlockMeta) GetNumTxs() int64

func (*BlockMeta) Marshal Uses

func (m *BlockMeta) Marshal() (dAtA []byte, err error)

func (*BlockMeta) MarshalTo Uses

func (m *BlockMeta) MarshalTo(dAtA []byte) (int, error)

func (*BlockMeta) MarshalToSizedBuffer Uses

func (m *BlockMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockMeta) ProtoMessage Uses

func (*BlockMeta) ProtoMessage()

func (*BlockMeta) Reset Uses

func (m *BlockMeta) Reset()

func (*BlockMeta) Size Uses

func (m *BlockMeta) Size() (n int)

func (*BlockMeta) String Uses

func (m *BlockMeta) String() string

func (*BlockMeta) Unmarshal Uses

func (m *BlockMeta) Unmarshal(dAtA []byte) error

func (*BlockMeta) XXX_DiscardUnknown Uses

func (m *BlockMeta) XXX_DiscardUnknown()

func (*BlockMeta) XXX_Marshal Uses

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

func (*BlockMeta) XXX_Merge Uses

func (m *BlockMeta) XXX_Merge(src proto.Message)

func (*BlockMeta) XXX_Size Uses

func (m *BlockMeta) XXX_Size() int

func (*BlockMeta) XXX_Unmarshal Uses

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

type BlockParams Uses

type BlockParams struct {
    // Max block size, in bytes.
    // Note: must be greater than 0
    MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
    // Max gas per block.
    // Note: must be greater or equal to -1
    MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
    // Minimum time increment between consecutive blocks (in milliseconds) If the
    // block header timestamp is ahead of the system clock, decrease this value.
    //
    // Not exposed to the application.
    TimeIotaMs int64 `protobuf:"varint,3,opt,name=time_iota_ms,json=timeIotaMs,proto3" json:"time_iota_ms,omitempty"`
}

BlockParams contains limits on the block size.

func (*BlockParams) Descriptor Uses

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

func (*BlockParams) Equal Uses

func (this *BlockParams) Equal(that interface{}) bool

func (*BlockParams) GetMaxBytes Uses

func (m *BlockParams) GetMaxBytes() int64

func (*BlockParams) GetMaxGas Uses

func (m *BlockParams) GetMaxGas() int64

func (*BlockParams) GetTimeIotaMs Uses

func (m *BlockParams) GetTimeIotaMs() int64

func (*BlockParams) Marshal Uses

func (m *BlockParams) Marshal() (dAtA []byte, err error)

func (*BlockParams) MarshalTo Uses

func (m *BlockParams) MarshalTo(dAtA []byte) (int, error)

func (*BlockParams) MarshalToSizedBuffer Uses

func (m *BlockParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockParams) ProtoMessage Uses

func (*BlockParams) ProtoMessage()

func (*BlockParams) Reset Uses

func (m *BlockParams) Reset()

func (*BlockParams) Size Uses

func (m *BlockParams) Size() (n int)

func (*BlockParams) String Uses

func (m *BlockParams) String() string

func (*BlockParams) Unmarshal Uses

func (m *BlockParams) Unmarshal(dAtA []byte) error

func (*BlockParams) XXX_DiscardUnknown Uses

func (m *BlockParams) XXX_DiscardUnknown()

func (*BlockParams) XXX_Marshal Uses

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

func (*BlockParams) XXX_Merge Uses

func (m *BlockParams) XXX_Merge(src proto.Message)

func (*BlockParams) XXX_Size Uses

func (m *BlockParams) XXX_Size() int

func (*BlockParams) XXX_Unmarshal Uses

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

type CanonicalBlockID Uses

type CanonicalBlockID struct {
    Hash          []byte                 `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
    PartSetHeader CanonicalPartSetHeader `protobuf:"bytes,2,opt,name=part_set_header,json=partSetHeader,proto3" json:"part_set_header"`
}

func (*CanonicalBlockID) Descriptor Uses

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

func (*CanonicalBlockID) GetHash Uses

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

func (*CanonicalBlockID) GetPartSetHeader Uses

func (m *CanonicalBlockID) GetPartSetHeader() CanonicalPartSetHeader

func (*CanonicalBlockID) Marshal Uses

func (m *CanonicalBlockID) Marshal() (dAtA []byte, err error)

func (*CanonicalBlockID) MarshalTo Uses

func (m *CanonicalBlockID) MarshalTo(dAtA []byte) (int, error)

func (*CanonicalBlockID) MarshalToSizedBuffer Uses

func (m *CanonicalBlockID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CanonicalBlockID) ProtoMessage Uses

func (*CanonicalBlockID) ProtoMessage()

func (*CanonicalBlockID) Reset Uses

func (m *CanonicalBlockID) Reset()

func (*CanonicalBlockID) Size Uses

func (m *CanonicalBlockID) Size() (n int)

func (*CanonicalBlockID) String Uses

func (m *CanonicalBlockID) String() string

func (*CanonicalBlockID) Unmarshal Uses

func (m *CanonicalBlockID) Unmarshal(dAtA []byte) error

func (*CanonicalBlockID) XXX_DiscardUnknown Uses

func (m *CanonicalBlockID) XXX_DiscardUnknown()

func (*CanonicalBlockID) XXX_Marshal Uses

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

func (*CanonicalBlockID) XXX_Merge Uses

func (m *CanonicalBlockID) XXX_Merge(src proto.Message)

func (*CanonicalBlockID) XXX_Size Uses

func (m *CanonicalBlockID) XXX_Size() int

func (*CanonicalBlockID) XXX_Unmarshal Uses

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

type CanonicalPartSetHeader Uses

type CanonicalPartSetHeader 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"`
}

func (*CanonicalPartSetHeader) Descriptor Uses

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

func (*CanonicalPartSetHeader) GetHash Uses

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

func (*CanonicalPartSetHeader) GetTotal Uses

func (m *CanonicalPartSetHeader) GetTotal() uint32

func (*CanonicalPartSetHeader) Marshal Uses

func (m *CanonicalPartSetHeader) Marshal() (dAtA []byte, err error)

func (*CanonicalPartSetHeader) MarshalTo Uses

func (m *CanonicalPartSetHeader) MarshalTo(dAtA []byte) (int, error)

func (*CanonicalPartSetHeader) MarshalToSizedBuffer Uses

func (m *CanonicalPartSetHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CanonicalPartSetHeader) ProtoMessage Uses

func (*CanonicalPartSetHeader) ProtoMessage()

func (*CanonicalPartSetHeader) Reset Uses

func (m *CanonicalPartSetHeader) Reset()

func (*CanonicalPartSetHeader) Size Uses

func (m *CanonicalPartSetHeader) Size() (n int)

func (*CanonicalPartSetHeader) String Uses

func (m *CanonicalPartSetHeader) String() string

func (*CanonicalPartSetHeader) Unmarshal Uses

func (m *CanonicalPartSetHeader) Unmarshal(dAtA []byte) error

func (*CanonicalPartSetHeader) XXX_DiscardUnknown Uses

func (m *CanonicalPartSetHeader) XXX_DiscardUnknown()

func (*CanonicalPartSetHeader) XXX_Marshal Uses

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

func (*CanonicalPartSetHeader) XXX_Merge Uses

func (m *CanonicalPartSetHeader) XXX_Merge(src proto.Message)

func (*CanonicalPartSetHeader) XXX_Size Uses

func (m *CanonicalPartSetHeader) XXX_Size() int

func (*CanonicalPartSetHeader) XXX_Unmarshal Uses

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

type CanonicalProposal Uses

type CanonicalProposal struct {
    Type      SignedMsgType     `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.types.SignedMsgType" json:"type,omitempty"`
    Height    int64             `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"`
    Round     int64             `protobuf:"fixed64,3,opt,name=round,proto3" json:"round,omitempty"`
    POLRound  int64             `protobuf:"varint,4,opt,name=pol_round,json=polRound,proto3" json:"pol_round,omitempty"`
    BlockID   *CanonicalBlockID `protobuf:"bytes,5,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
    Timestamp time.Time         `protobuf:"bytes,6,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
    ChainID   string            `protobuf:"bytes,7,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*CanonicalProposal) Descriptor Uses

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

func (*CanonicalProposal) GetBlockID Uses

func (m *CanonicalProposal) GetBlockID() *CanonicalBlockID

func (*CanonicalProposal) GetChainID Uses

func (m *CanonicalProposal) GetChainID() string

func (*CanonicalProposal) GetHeight Uses

func (m *CanonicalProposal) GetHeight() int64

func (*CanonicalProposal) GetPOLRound Uses

func (m *CanonicalProposal) GetPOLRound() int64

func (*CanonicalProposal) GetRound Uses

func (m *CanonicalProposal) GetRound() int64

func (*CanonicalProposal) GetTimestamp Uses

func (m *CanonicalProposal) GetTimestamp() time.Time

func (*CanonicalProposal) GetType Uses

func (m *CanonicalProposal) GetType() SignedMsgType

func (*CanonicalProposal) Marshal Uses

func (m *CanonicalProposal) Marshal() (dAtA []byte, err error)

func (*CanonicalProposal) MarshalTo Uses

func (m *CanonicalProposal) MarshalTo(dAtA []byte) (int, error)

func (*CanonicalProposal) MarshalToSizedBuffer Uses

func (m *CanonicalProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CanonicalProposal) ProtoMessage Uses

func (*CanonicalProposal) ProtoMessage()

func (*CanonicalProposal) Reset Uses

func (m *CanonicalProposal) Reset()

func (*CanonicalProposal) Size Uses

func (m *CanonicalProposal) Size() (n int)

func (*CanonicalProposal) String Uses

func (m *CanonicalProposal) String() string

func (*CanonicalProposal) Unmarshal Uses

func (m *CanonicalProposal) Unmarshal(dAtA []byte) error

func (*CanonicalProposal) XXX_DiscardUnknown Uses

func (m *CanonicalProposal) XXX_DiscardUnknown()

func (*CanonicalProposal) XXX_Marshal Uses

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

func (*CanonicalProposal) XXX_Merge Uses

func (m *CanonicalProposal) XXX_Merge(src proto.Message)

func (*CanonicalProposal) XXX_Size Uses

func (m *CanonicalProposal) XXX_Size() int

func (*CanonicalProposal) XXX_Unmarshal Uses

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

type CanonicalVote Uses

type CanonicalVote struct {
    Type      SignedMsgType     `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.types.SignedMsgType" json:"type,omitempty"`
    Height    int64             `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"`
    Round     int64             `protobuf:"fixed64,3,opt,name=round,proto3" json:"round,omitempty"`
    BlockID   *CanonicalBlockID `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
    Timestamp time.Time         `protobuf:"bytes,5,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
    ChainID   string            `protobuf:"bytes,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*CanonicalVote) Descriptor Uses

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

func (*CanonicalVote) GetBlockID Uses

func (m *CanonicalVote) GetBlockID() *CanonicalBlockID

func (*CanonicalVote) GetChainID Uses

func (m *CanonicalVote) GetChainID() string

func (*CanonicalVote) GetHeight Uses

func (m *CanonicalVote) GetHeight() int64

func (*CanonicalVote) GetRound Uses

func (m *CanonicalVote) GetRound() int64

func (*CanonicalVote) GetTimestamp Uses

func (m *CanonicalVote) GetTimestamp() time.Time

func (*CanonicalVote) GetType Uses

func (m *CanonicalVote) GetType() SignedMsgType

func (*CanonicalVote) Marshal Uses

func (m *CanonicalVote) Marshal() (dAtA []byte, err error)

func (*CanonicalVote) MarshalTo Uses

func (m *CanonicalVote) MarshalTo(dAtA []byte) (int, error)

func (*CanonicalVote) MarshalToSizedBuffer Uses

func (m *CanonicalVote) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CanonicalVote) ProtoMessage Uses

func (*CanonicalVote) ProtoMessage()

func (*CanonicalVote) Reset Uses

func (m *CanonicalVote) Reset()

func (*CanonicalVote) Size Uses

func (m *CanonicalVote) Size() (n int)

func (*CanonicalVote) String Uses

func (m *CanonicalVote) String() string

func (*CanonicalVote) Unmarshal Uses

func (m *CanonicalVote) Unmarshal(dAtA []byte) error

func (*CanonicalVote) XXX_DiscardUnknown Uses

func (m *CanonicalVote) XXX_DiscardUnknown()

func (*CanonicalVote) XXX_Marshal Uses

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

func (*CanonicalVote) XXX_Merge Uses

func (m *CanonicalVote) XXX_Merge(src proto.Message)

func (*CanonicalVote) XXX_Size Uses

func (m *CanonicalVote) XXX_Size() int

func (*CanonicalVote) XXX_Unmarshal Uses

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

type Commit Uses

type Commit struct {
    Height     int64       `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
    Round      int32       `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
    BlockID    BlockID     `protobuf:"bytes,3,opt,name=block_id,json=blockId,proto3" json:"block_id"`
    Signatures []CommitSig `protobuf:"bytes,4,rep,name=signatures,proto3" json:"signatures"`
}

Commit contains the evidence that a block was committed by a set of validators.

func (*Commit) Descriptor Uses

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

func (*Commit) GetBlockID Uses

func (m *Commit) GetBlockID() BlockID

func (*Commit) GetHeight Uses

func (m *Commit) GetHeight() int64

func (*Commit) GetRound Uses

func (m *Commit) GetRound() int32

func (*Commit) GetSignatures Uses

func (m *Commit) GetSignatures() []CommitSig

func (*Commit) Marshal Uses

func (m *Commit) Marshal() (dAtA []byte, err error)

func (*Commit) MarshalTo Uses

func (m *Commit) MarshalTo(dAtA []byte) (int, error)

func (*Commit) MarshalToSizedBuffer Uses

func (m *Commit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Commit) ProtoMessage Uses

func (*Commit) ProtoMessage()

func (*Commit) Reset Uses

func (m *Commit) Reset()

func (*Commit) Size Uses

func (m *Commit) Size() (n int)

func (*Commit) String Uses

func (m *Commit) String() string

func (*Commit) Unmarshal Uses

func (m *Commit) Unmarshal(dAtA []byte) error

func (*Commit) XXX_DiscardUnknown Uses

func (m *Commit) XXX_DiscardUnknown()

func (*Commit) XXX_Marshal Uses

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

func (*Commit) XXX_Merge Uses

func (m *Commit) XXX_Merge(src proto.Message)

func (*Commit) XXX_Size Uses

func (m *Commit) XXX_Size() int

func (*Commit) XXX_Unmarshal Uses

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

type CommitSig Uses

type CommitSig struct {
    BlockIdFlag      BlockIDFlag `protobuf:"varint,1,opt,name=block_id_flag,json=blockIdFlag,proto3,enum=tendermint.types.BlockIDFlag" json:"block_id_flag,omitempty"`
    ValidatorAddress []byte      `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
    Timestamp        time.Time   `protobuf:"bytes,3,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
    Signature        []byte      `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

CommitSig is a part of the Vote included in a Commit.

func (*CommitSig) Descriptor Uses

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

func (*CommitSig) GetBlockIdFlag Uses

func (m *CommitSig) GetBlockIdFlag() BlockIDFlag

func (*CommitSig) GetSignature Uses

func (m *CommitSig) GetSignature() []byte

func (*CommitSig) GetTimestamp Uses

func (m *CommitSig) GetTimestamp() time.Time

func (*CommitSig) GetValidatorAddress Uses

func (m *CommitSig) GetValidatorAddress() []byte

func (*CommitSig) Marshal Uses

func (m *CommitSig) Marshal() (dAtA []byte, err error)

func (*CommitSig) MarshalTo Uses

func (m *CommitSig) MarshalTo(dAtA []byte) (int, error)

func (*CommitSig) MarshalToSizedBuffer Uses

func (m *CommitSig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommitSig) ProtoMessage Uses

func (*CommitSig) ProtoMessage()

func (*CommitSig) Reset Uses

func (m *CommitSig) Reset()

func (*CommitSig) Size Uses

func (m *CommitSig) Size() (n int)

func (*CommitSig) String Uses

func (m *CommitSig) String() string

func (*CommitSig) Unmarshal Uses

func (m *CommitSig) Unmarshal(dAtA []byte) error

func (*CommitSig) XXX_DiscardUnknown Uses

func (m *CommitSig) XXX_DiscardUnknown()

func (*CommitSig) XXX_Marshal Uses

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

func (*CommitSig) XXX_Merge Uses

func (m *CommitSig) XXX_Merge(src proto.Message)

func (*CommitSig) XXX_Size Uses

func (m *CommitSig) XXX_Size() int

func (*CommitSig) XXX_Unmarshal Uses

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

type ConsensusParams Uses

type ConsensusParams struct {
    Block     BlockParams     `protobuf:"bytes,1,opt,name=block,proto3" json:"block"`
    Evidence  EvidenceParams  `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence"`
    Validator ValidatorParams `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator"`
    Version   VersionParams   `protobuf:"bytes,4,opt,name=version,proto3" json:"version"`
}

ConsensusParams contains consensus critical parameters that determine the validity of blocks.

func (*ConsensusParams) Descriptor Uses

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

func (*ConsensusParams) Equal Uses

func (this *ConsensusParams) Equal(that interface{}) bool

func (*ConsensusParams) GetBlock Uses

func (m *ConsensusParams) GetBlock() BlockParams

func (*ConsensusParams) GetEvidence Uses

func (m *ConsensusParams) GetEvidence() EvidenceParams

func (*ConsensusParams) GetValidator Uses

func (m *ConsensusParams) GetValidator() ValidatorParams

func (*ConsensusParams) GetVersion Uses

func (m *ConsensusParams) GetVersion() VersionParams

func (*ConsensusParams) Marshal Uses

func (m *ConsensusParams) Marshal() (dAtA []byte, err error)

func (*ConsensusParams) MarshalTo Uses

func (m *ConsensusParams) MarshalTo(dAtA []byte) (int, error)

func (*ConsensusParams) MarshalToSizedBuffer Uses

func (m *ConsensusParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsensusParams) ProtoMessage Uses

func (*ConsensusParams) ProtoMessage()

func (*ConsensusParams) Reset Uses

func (m *ConsensusParams) Reset()

func (*ConsensusParams) Size Uses

func (m *ConsensusParams) Size() (n int)

func (*ConsensusParams) String Uses

func (m *ConsensusParams) String() string

func (*ConsensusParams) Unmarshal Uses

func (m *ConsensusParams) Unmarshal(dAtA []byte) error

func (*ConsensusParams) XXX_DiscardUnknown Uses

func (m *ConsensusParams) XXX_DiscardUnknown()

func (*ConsensusParams) XXX_Marshal Uses

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

func (*ConsensusParams) XXX_Merge Uses

func (m *ConsensusParams) XXX_Merge(src proto.Message)

func (*ConsensusParams) XXX_Size Uses

func (m *ConsensusParams) XXX_Size() int

func (*ConsensusParams) XXX_Unmarshal Uses

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

type Data Uses

type Data struct {
    // Txs that will be applied by state @ block.Height+1.
    // NOTE: not all txs here are valid.  We're just agreeing on the order first.
    // This means that block.AppHash does not include these txs.
    Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
}

Data contains the set of transactions included in the block

func (*Data) Descriptor Uses

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

func (*Data) GetTxs Uses

func (m *Data) GetTxs() [][]byte

func (*Data) Marshal Uses

func (m *Data) Marshal() (dAtA []byte, err error)

func (*Data) MarshalTo Uses

func (m *Data) MarshalTo(dAtA []byte) (int, error)

func (*Data) MarshalToSizedBuffer Uses

func (m *Data) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Data) ProtoMessage Uses

func (*Data) ProtoMessage()

func (*Data) Reset Uses

func (m *Data) Reset()

func (*Data) Size Uses

func (m *Data) Size() (n int)

func (*Data) String Uses

func (m *Data) String() string

func (*Data) Unmarshal Uses

func (m *Data) Unmarshal(dAtA []byte) error

func (*Data) XXX_DiscardUnknown Uses

func (m *Data) XXX_DiscardUnknown()

func (*Data) XXX_Marshal Uses

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

func (*Data) XXX_Merge Uses

func (m *Data) XXX_Merge(src proto.Message)

func (*Data) XXX_Size Uses

func (m *Data) XXX_Size() int

func (*Data) XXX_Unmarshal Uses

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

type DuplicateVoteEvidence Uses

type DuplicateVoteEvidence struct {
    VoteA *Vote `protobuf:"bytes,1,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty"`
    VoteB *Vote `protobuf:"bytes,2,opt,name=vote_b,json=voteB,proto3" json:"vote_b,omitempty"`
}

DuplicateVoteEvidence contains evidence a validator signed two conflicting votes.

func (*DuplicateVoteEvidence) Descriptor Uses

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

func (*DuplicateVoteEvidence) GetVoteA Uses

func (m *DuplicateVoteEvidence) GetVoteA() *Vote

func (*DuplicateVoteEvidence) GetVoteB Uses

func (m *DuplicateVoteEvidence) GetVoteB() *Vote

func (*DuplicateVoteEvidence) Marshal Uses

func (m *DuplicateVoteEvidence) Marshal() (dAtA []byte, err error)

func (*DuplicateVoteEvidence) MarshalTo Uses

func (m *DuplicateVoteEvidence) MarshalTo(dAtA []byte) (int, error)

func (*DuplicateVoteEvidence) MarshalToSizedBuffer Uses

func (m *DuplicateVoteEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DuplicateVoteEvidence) ProtoMessage Uses

func (*DuplicateVoteEvidence) ProtoMessage()

func (*DuplicateVoteEvidence) Reset Uses

func (m *DuplicateVoteEvidence) Reset()

func (*DuplicateVoteEvidence) Size Uses

func (m *DuplicateVoteEvidence) Size() (n int)

func (*DuplicateVoteEvidence) String Uses

func (m *DuplicateVoteEvidence) String() string

func (*DuplicateVoteEvidence) Unmarshal Uses

func (m *DuplicateVoteEvidence) Unmarshal(dAtA []byte) error

func (*DuplicateVoteEvidence) XXX_DiscardUnknown Uses

func (m *DuplicateVoteEvidence) XXX_DiscardUnknown()

func (*DuplicateVoteEvidence) XXX_Marshal Uses

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

func (*DuplicateVoteEvidence) XXX_Merge Uses

func (m *DuplicateVoteEvidence) XXX_Merge(src proto.Message)

func (*DuplicateVoteEvidence) XXX_Size Uses

func (m *DuplicateVoteEvidence) XXX_Size() int

func (*DuplicateVoteEvidence) XXX_Unmarshal Uses

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

type EventDataRoundState Uses

type EventDataRoundState struct {
    Height int64  `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
    Round  int32  `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
    Step   string `protobuf:"bytes,3,opt,name=step,proto3" json:"step,omitempty"`
}

func (*EventDataRoundState) Descriptor Uses

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

func (*EventDataRoundState) GetHeight Uses

func (m *EventDataRoundState) GetHeight() int64

func (*EventDataRoundState) GetRound Uses

func (m *EventDataRoundState) GetRound() int32

func (*EventDataRoundState) GetStep Uses

func (m *EventDataRoundState) GetStep() string

func (*EventDataRoundState) Marshal Uses

func (m *EventDataRoundState) Marshal() (dAtA []byte, err error)

func (*EventDataRoundState) MarshalTo Uses

func (m *EventDataRoundState) MarshalTo(dAtA []byte) (int, error)

func (*EventDataRoundState) MarshalToSizedBuffer Uses

func (m *EventDataRoundState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDataRoundState) ProtoMessage Uses

func (*EventDataRoundState) ProtoMessage()

func (*EventDataRoundState) Reset Uses

func (m *EventDataRoundState) Reset()

func (*EventDataRoundState) Size Uses

func (m *EventDataRoundState) Size() (n int)

func (*EventDataRoundState) String Uses

func (m *EventDataRoundState) String() string

func (*EventDataRoundState) Unmarshal Uses

func (m *EventDataRoundState) Unmarshal(dAtA []byte) error

func (*EventDataRoundState) XXX_DiscardUnknown Uses

func (m *EventDataRoundState) XXX_DiscardUnknown()

func (*EventDataRoundState) XXX_Marshal Uses

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

func (*EventDataRoundState) XXX_Merge Uses

func (m *EventDataRoundState) XXX_Merge(src proto.Message)

func (*EventDataRoundState) XXX_Size Uses

func (m *EventDataRoundState) XXX_Size() int

func (*EventDataRoundState) XXX_Unmarshal Uses

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

type Evidence Uses

type Evidence struct {
    // Types that are valid to be assigned to Sum:
    //	*Evidence_DuplicateVoteEvidence
    //	*Evidence_LightClientAttackEvidence
    Sum isEvidence_Sum `protobuf_oneof:"sum"`
}

func (*Evidence) Descriptor Uses

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

func (*Evidence) GetDuplicateVoteEvidence Uses

func (m *Evidence) GetDuplicateVoteEvidence() *DuplicateVoteEvidence

func (*Evidence) GetLightClientAttackEvidence Uses

func (m *Evidence) GetLightClientAttackEvidence() *LightClientAttackEvidence

func (*Evidence) GetSum Uses

func (m *Evidence) GetSum() isEvidence_Sum

func (*Evidence) Marshal Uses

func (m *Evidence) Marshal() (dAtA []byte, err error)

func (*Evidence) MarshalTo Uses

func (m *Evidence) MarshalTo(dAtA []byte) (int, error)

func (*Evidence) MarshalToSizedBuffer Uses

func (m *Evidence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Evidence) ProtoMessage Uses

func (*Evidence) ProtoMessage()

func (*Evidence) Reset Uses

func (m *Evidence) Reset()

func (*Evidence) Size Uses

func (m *Evidence) Size() (n int)

func (*Evidence) String Uses

func (m *Evidence) String() string

func (*Evidence) Unmarshal Uses

func (m *Evidence) Unmarshal(dAtA []byte) error

func (*Evidence) XXX_DiscardUnknown Uses

func (m *Evidence) XXX_DiscardUnknown()

func (*Evidence) XXX_Marshal Uses

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

func (*Evidence) XXX_Merge Uses

func (m *Evidence) XXX_Merge(src proto.Message)

func (*Evidence) XXX_OneofWrappers Uses

func (*Evidence) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Evidence) XXX_Size Uses

func (m *Evidence) XXX_Size() int

func (*Evidence) XXX_Unmarshal Uses

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

type EvidenceData Uses

type EvidenceData struct {
    Evidence []Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence"`
}

EvidenceData contains any evidence of malicious wrong-doing by validators

func (*EvidenceData) Descriptor Uses

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

func (*EvidenceData) GetEvidence Uses

func (m *EvidenceData) GetEvidence() []Evidence

func (*EvidenceData) Marshal Uses

func (m *EvidenceData) Marshal() (dAtA []byte, err error)

func (*EvidenceData) MarshalTo Uses

func (m *EvidenceData) MarshalTo(dAtA []byte) (int, error)

func (*EvidenceData) MarshalToSizedBuffer Uses

func (m *EvidenceData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvidenceData) ProtoMessage Uses

func (*EvidenceData) ProtoMessage()

func (*EvidenceData) Reset Uses

func (m *EvidenceData) Reset()

func (*EvidenceData) Size Uses

func (m *EvidenceData) Size() (n int)

func (*EvidenceData) String Uses

func (m *EvidenceData) String() string

func (*EvidenceData) Unmarshal Uses

func (m *EvidenceData) Unmarshal(dAtA []byte) error

func (*EvidenceData) XXX_DiscardUnknown Uses

func (m *EvidenceData) XXX_DiscardUnknown()

func (*EvidenceData) XXX_Marshal Uses

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

func (*EvidenceData) XXX_Merge Uses

func (m *EvidenceData) XXX_Merge(src proto.Message)

func (*EvidenceData) XXX_Size Uses

func (m *EvidenceData) XXX_Size() int

func (*EvidenceData) XXX_Unmarshal Uses

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

type EvidenceParams Uses

type EvidenceParams struct {
    // Max age of evidence, in blocks.
    //
    // The basic formula for calculating this is: MaxAgeDuration / {average block
    // time}.
    MaxAgeNumBlocks int64 `protobuf:"varint,1,opt,name=max_age_num_blocks,json=maxAgeNumBlocks,proto3" json:"max_age_num_blocks,omitempty"`
    // Max age of evidence, in time.
    //
    // It should correspond with an app's "unbonding period" or other similar
    // mechanism for handling [Nothing-At-Stake
    // attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
    MaxAgeDuration time.Duration `protobuf:"bytes,2,opt,name=max_age_duration,json=maxAgeDuration,proto3,stdduration" json:"max_age_duration"`
    // This sets the maximum size of total evidence in bytes that can be committed in a single block.
    // and should fall comfortably under the max block bytes.
    // Default is 1048576 or 1MB
    MaxBytes int64 `protobuf:"varint,3,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
}

EvidenceParams determine how we handle evidence of malfeasance.

func (*EvidenceParams) Descriptor Uses

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

func (*EvidenceParams) Equal Uses

func (this *EvidenceParams) Equal(that interface{}) bool

func (*EvidenceParams) GetMaxAgeDuration Uses

func (m *EvidenceParams) GetMaxAgeDuration() time.Duration

func (*EvidenceParams) GetMaxAgeNumBlocks Uses

func (m *EvidenceParams) GetMaxAgeNumBlocks() int64

func (*EvidenceParams) GetMaxBytes Uses

func (m *EvidenceParams) GetMaxBytes() int64

func (*EvidenceParams) Marshal Uses

func (m *EvidenceParams) Marshal() (dAtA []byte, err error)

func (*EvidenceParams) MarshalTo Uses

func (m *EvidenceParams) MarshalTo(dAtA []byte) (int, error)

func (*EvidenceParams) MarshalToSizedBuffer Uses

func (m *EvidenceParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvidenceParams) ProtoMessage Uses

func (*EvidenceParams) ProtoMessage()

func (*EvidenceParams) Reset Uses

func (m *EvidenceParams) Reset()

func (*EvidenceParams) Size Uses

func (m *EvidenceParams) Size() (n int)

func (*EvidenceParams) String Uses

func (m *EvidenceParams) String() string

func (*EvidenceParams) Unmarshal Uses

func (m *EvidenceParams) Unmarshal(dAtA []byte) error

func (*EvidenceParams) XXX_DiscardUnknown Uses

func (m *EvidenceParams) XXX_DiscardUnknown()

func (*EvidenceParams) XXX_Marshal Uses

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

func (*EvidenceParams) XXX_Merge Uses

func (m *EvidenceParams) XXX_Merge(src proto.Message)

func (*EvidenceParams) XXX_Size Uses

func (m *EvidenceParams) XXX_Size() int

func (*EvidenceParams) XXX_Unmarshal Uses

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

type Evidence_DuplicateVoteEvidence Uses

type Evidence_DuplicateVoteEvidence struct {
    DuplicateVoteEvidence *DuplicateVoteEvidence `protobuf:"bytes,1,opt,name=duplicate_vote_evidence,json=duplicateVoteEvidence,proto3,oneof" json:"duplicate_vote_evidence,omitempty"`
}

func (*Evidence_DuplicateVoteEvidence) MarshalTo Uses

func (m *Evidence_DuplicateVoteEvidence) MarshalTo(dAtA []byte) (int, error)

func (*Evidence_DuplicateVoteEvidence) MarshalToSizedBuffer Uses

func (m *Evidence_DuplicateVoteEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Evidence_DuplicateVoteEvidence) Size Uses

func (m *Evidence_DuplicateVoteEvidence) Size() (n int)

type Evidence_LightClientAttackEvidence Uses

type Evidence_LightClientAttackEvidence struct {
    LightClientAttackEvidence *LightClientAttackEvidence `protobuf:"bytes,2,opt,name=light_client_attack_evidence,json=lightClientAttackEvidence,proto3,oneof" json:"light_client_attack_evidence,omitempty"`
}

func (*Evidence_LightClientAttackEvidence) MarshalTo Uses

func (m *Evidence_LightClientAttackEvidence) MarshalTo(dAtA []byte) (int, error)

func (*Evidence_LightClientAttackEvidence) MarshalToSizedBuffer Uses

func (m *Evidence_LightClientAttackEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Evidence_LightClientAttackEvidence) Size Uses

func (m *Evidence_LightClientAttackEvidence) Size() (n int)

type HashedParams Uses

type HashedParams struct {
    BlockMaxBytes int64 `protobuf:"varint,1,opt,name=block_max_bytes,json=blockMaxBytes,proto3" json:"block_max_bytes,omitempty"`
    BlockMaxGas   int64 `protobuf:"varint,2,opt,name=block_max_gas,json=blockMaxGas,proto3" json:"block_max_gas,omitempty"`
}

HashedParams is a subset of ConsensusParams.

It is hashed into the Header.ConsensusHash.

func (*HashedParams) Descriptor Uses

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

func (*HashedParams) Equal Uses

func (this *HashedParams) Equal(that interface{}) bool

func (*HashedParams) GetBlockMaxBytes Uses

func (m *HashedParams) GetBlockMaxBytes() int64

func (*HashedParams) GetBlockMaxGas Uses

func (m *HashedParams) GetBlockMaxGas() int64

func (*HashedParams) Marshal Uses

func (m *HashedParams) Marshal() (dAtA []byte, err error)

func (*HashedParams) MarshalTo Uses

func (m *HashedParams) MarshalTo(dAtA []byte) (int, error)

func (*HashedParams) MarshalToSizedBuffer Uses

func (m *HashedParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HashedParams) ProtoMessage Uses

func (*HashedParams) ProtoMessage()

func (*HashedParams) Reset Uses

func (m *HashedParams) Reset()

func (*HashedParams) Size Uses

func (m *HashedParams) Size() (n int)

func (*HashedParams) String Uses

func (m *HashedParams) String() string

func (*HashedParams) Unmarshal Uses

func (m *HashedParams) Unmarshal(dAtA []byte) error

func (*HashedParams) XXX_DiscardUnknown Uses

func (m *HashedParams) XXX_DiscardUnknown()

func (*HashedParams) XXX_Marshal Uses

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

func (*HashedParams) XXX_Merge Uses

func (m *HashedParams) XXX_Merge(src proto.Message)

func (*HashedParams) XXX_Size Uses

func (m *HashedParams) XXX_Size() int

func (*HashedParams) XXX_Unmarshal Uses

func (m *HashedParams) XXX_Unmarshal(b []byte) error
type Header struct {
    // basic block info
    Version version.Consensus `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
    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    time.Time         `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
    // prev block info
    LastBlockId BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id"`
    // 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"`
}

Header defines the structure of a Tendermint block header.

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) GetProposerAddress Uses

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

func (*Header) GetTime Uses

func (m *Header) GetTime() time.Time

func (*Header) GetValidatorsHash Uses

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

func (*Header) GetVersion Uses

func (m *Header) GetVersion() version.Consensus

func (*Header) Marshal Uses

func (m *Header) Marshal() (dAtA []byte, err error)

func (*Header) MarshalTo Uses

func (m *Header) MarshalTo(dAtA []byte) (int, error)

func (*Header) MarshalToSizedBuffer Uses

func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Header) ProtoMessage Uses

func (*Header) ProtoMessage()

func (*Header) Reset Uses

func (m *Header) Reset()

func (*Header) Size Uses

func (m *Header) Size() (n int)

func (*Header) String Uses

func (m *Header) String() string

func (*Header) Unmarshal Uses

func (m *Header) Unmarshal(dAtA []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 (m *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 LightBlock Uses

type LightBlock struct {
    SignedHeader *SignedHeader `protobuf:"bytes,1,opt,name=signed_header,json=signedHeader,proto3" json:"signed_header,omitempty"`
    ValidatorSet *ValidatorSet `protobuf:"bytes,2,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty"`
}

func (*LightBlock) Descriptor Uses

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

func (*LightBlock) GetSignedHeader Uses

func (m *LightBlock) GetSignedHeader() *SignedHeader

func (*LightBlock) GetValidatorSet Uses

func (m *LightBlock) GetValidatorSet() *ValidatorSet

func (*LightBlock) Marshal Uses

func (m *LightBlock) Marshal() (dAtA []byte, err error)

func (*LightBlock) MarshalTo Uses

func (m *LightBlock) MarshalTo(dAtA []byte) (int, error)

func (*LightBlock) MarshalToSizedBuffer Uses

func (m *LightBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LightBlock) ProtoMessage Uses

func (*LightBlock) ProtoMessage()

func (*LightBlock) Reset Uses

func (m *LightBlock) Reset()

func (*LightBlock) Size Uses

func (m *LightBlock) Size() (n int)

func (*LightBlock) String Uses

func (m *LightBlock) String() string

func (*LightBlock) Unmarshal Uses

func (m *LightBlock) Unmarshal(dAtA []byte) error

func (*LightBlock) XXX_DiscardUnknown Uses

func (m *LightBlock) XXX_DiscardUnknown()

func (*LightBlock) XXX_Marshal Uses

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

func (*LightBlock) XXX_Merge Uses

func (m *LightBlock) XXX_Merge(src proto.Message)

func (*LightBlock) XXX_Size Uses

func (m *LightBlock) XXX_Size() int

func (*LightBlock) XXX_Unmarshal Uses

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

type LightClientAttackEvidence Uses

type LightClientAttackEvidence struct {
    ConflictingBlock *LightBlock `protobuf:"bytes,1,opt,name=conflicting_block,json=conflictingBlock,proto3" json:"conflicting_block,omitempty"`
    CommonHeight     int64       `protobuf:"varint,2,opt,name=common_height,json=commonHeight,proto3" json:"common_height,omitempty"`
}

func (*LightClientAttackEvidence) Descriptor Uses

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

func (*LightClientAttackEvidence) GetCommonHeight Uses

func (m *LightClientAttackEvidence) GetCommonHeight() int64

func (*LightClientAttackEvidence) GetConflictingBlock Uses

func (m *LightClientAttackEvidence) GetConflictingBlock() *LightBlock

func (*LightClientAttackEvidence) Marshal Uses

func (m *LightClientAttackEvidence) Marshal() (dAtA []byte, err error)

func (*LightClientAttackEvidence) MarshalTo Uses

func (m *LightClientAttackEvidence) MarshalTo(dAtA []byte) (int, error)

func (*LightClientAttackEvidence) MarshalToSizedBuffer Uses

func (m *LightClientAttackEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LightClientAttackEvidence) ProtoMessage Uses

func (*LightClientAttackEvidence) ProtoMessage()

func (*LightClientAttackEvidence) Reset Uses

func (m *LightClientAttackEvidence) Reset()

func (*LightClientAttackEvidence) Size Uses

func (m *LightClientAttackEvidence) Size() (n int)

func (*LightClientAttackEvidence) String Uses

func (m *LightClientAttackEvidence) String() string

func (*LightClientAttackEvidence) Unmarshal Uses

func (m *LightClientAttackEvidence) Unmarshal(dAtA []byte) error

func (*LightClientAttackEvidence) XXX_DiscardUnknown Uses

func (m *LightClientAttackEvidence) XXX_DiscardUnknown()

func (*LightClientAttackEvidence) XXX_Marshal Uses

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

func (*LightClientAttackEvidence) XXX_Merge Uses

func (m *LightClientAttackEvidence) XXX_Merge(src proto.Message)

func (*LightClientAttackEvidence) XXX_Size Uses

func (m *LightClientAttackEvidence) XXX_Size() int

func (*LightClientAttackEvidence) XXX_Unmarshal Uses

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

type Part Uses

type Part struct {
    Index uint32       `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
    Bytes []byte       `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
    Proof crypto.Proof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof"`
}

func (*Part) Descriptor Uses

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

func (*Part) GetBytes Uses

func (m *Part) GetBytes() []byte

func (*Part) GetIndex Uses

func (m *Part) GetIndex() uint32

func (*Part) GetProof Uses

func (m *Part) GetProof() crypto.Proof

func (*Part) Marshal Uses

func (m *Part) Marshal() (dAtA []byte, err error)

func (*Part) MarshalTo Uses

func (m *Part) MarshalTo(dAtA []byte) (int, error)

func (*Part) MarshalToSizedBuffer Uses

func (m *Part) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Part) ProtoMessage Uses

func (*Part) ProtoMessage()

func (*Part) Reset Uses

func (m *Part) Reset()

func (*Part) Size Uses

func (m *Part) Size() (n int)

func (*Part) String Uses

func (m *Part) String() string

func (*Part) Unmarshal Uses

func (m *Part) Unmarshal(dAtA []byte) error

func (*Part) XXX_DiscardUnknown Uses

func (m *Part) XXX_DiscardUnknown()

func (*Part) XXX_Marshal Uses

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

func (*Part) XXX_Merge Uses

func (m *Part) XXX_Merge(src proto.Message)

func (*Part) XXX_Size Uses

func (m *Part) XXX_Size() int

func (*Part) XXX_Unmarshal Uses

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

type PartSetHeader Uses

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"`
}

PartsetHeader

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() uint32

func (*PartSetHeader) Marshal Uses

func (m *PartSetHeader) Marshal() (dAtA []byte, err error)

func (*PartSetHeader) MarshalTo Uses

func (m *PartSetHeader) MarshalTo(dAtA []byte) (int, error)

func (*PartSetHeader) MarshalToSizedBuffer Uses

func (m *PartSetHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PartSetHeader) ProtoMessage Uses

func (*PartSetHeader) ProtoMessage()

func (*PartSetHeader) Reset Uses

func (m *PartSetHeader) Reset()

func (*PartSetHeader) Size Uses

func (m *PartSetHeader) Size() (n int)

func (*PartSetHeader) String Uses

func (m *PartSetHeader) String() string

func (*PartSetHeader) Unmarshal Uses

func (m *PartSetHeader) Unmarshal(dAtA []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 (m *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 Proposal Uses

type Proposal struct {
    Type      SignedMsgType `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.types.SignedMsgType" json:"type,omitempty"`
    Height    int64         `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
    Round     int32         `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
    PolRound  int32         `protobuf:"varint,4,opt,name=pol_round,json=polRound,proto3" json:"pol_round,omitempty"`
    BlockID   BlockID       `protobuf:"bytes,5,opt,name=block_id,json=blockId,proto3" json:"block_id"`
    Timestamp time.Time     `protobuf:"bytes,6,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
    Signature []byte        `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*Proposal) Descriptor Uses

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

func (*Proposal) GetBlockID Uses

func (m *Proposal) GetBlockID() BlockID

func (*Proposal) GetHeight Uses

func (m *Proposal) GetHeight() int64

func (*Proposal) GetPolRound Uses

func (m *Proposal) GetPolRound() int32

func (*Proposal) GetRound Uses

func (m *Proposal) GetRound() int32

func (*Proposal) GetSignature Uses

func (m *Proposal) GetSignature() []byte

func (*Proposal) GetTimestamp Uses

func (m *Proposal) GetTimestamp() time.Time

func (*Proposal) GetType Uses

func (m *Proposal) GetType() SignedMsgType

func (*Proposal) Marshal Uses

func (m *Proposal) Marshal() (dAtA []byte, err error)

func (*Proposal) MarshalTo Uses

func (m *Proposal) MarshalTo(dAtA []byte) (int, error)

func (*Proposal) MarshalToSizedBuffer Uses

func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Proposal) ProtoMessage Uses

func (*Proposal) ProtoMessage()

func (*Proposal) Reset Uses

func (m *Proposal) Reset()

func (*Proposal) Size Uses

func (m *Proposal) Size() (n int)

func (*Proposal) String Uses

func (m *Proposal) String() string

func (*Proposal) Unmarshal Uses

func (m *Proposal) Unmarshal(dAtA []byte) error

func (*Proposal) XXX_DiscardUnknown Uses

func (m *Proposal) XXX_DiscardUnknown()

func (*Proposal) XXX_Marshal Uses

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

func (*Proposal) XXX_Merge Uses

func (m *Proposal) XXX_Merge(src proto.Message)

func (*Proposal) XXX_Size Uses

func (m *Proposal) XXX_Size() int

func (*Proposal) XXX_Unmarshal Uses

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

type SignedHeader Uses

type SignedHeader struct {
    Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
    Commit *Commit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
}

func (*SignedHeader) Descriptor Uses

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

func (*SignedHeader) GetCommit Uses

func (m *SignedHeader) GetCommit() *Commit

func (*SignedHeader) GetHeader Uses

func (m *SignedHeader) GetHeader() *Header

func (*SignedHeader) Marshal Uses

func (m *SignedHeader) Marshal() (dAtA []byte, err error)

func (*SignedHeader) MarshalTo Uses

func (m *SignedHeader) MarshalTo(dAtA []byte) (int, error)

func (*SignedHeader) MarshalToSizedBuffer Uses

func (m *SignedHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignedHeader) ProtoMessage Uses

func (*SignedHeader) ProtoMessage()

func (*SignedHeader) Reset Uses

func (m *SignedHeader) Reset()

func (*SignedHeader) Size Uses

func (m *SignedHeader) Size() (n int)

func (*SignedHeader) String Uses

func (m *SignedHeader) String() string

func (*SignedHeader) Unmarshal Uses

func (m *SignedHeader) Unmarshal(dAtA []byte) error

func (*SignedHeader) XXX_DiscardUnknown Uses

func (m *SignedHeader) XXX_DiscardUnknown()

func (*SignedHeader) XXX_Marshal Uses

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

func (*SignedHeader) XXX_Merge Uses

func (m *SignedHeader) XXX_Merge(src proto.Message)

func (*SignedHeader) XXX_Size Uses

func (m *SignedHeader) XXX_Size() int

func (*SignedHeader) XXX_Unmarshal Uses

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

type SignedMsgType Uses

type SignedMsgType int32

SignedMsgType is a type of signed message in the consensus.

const (
    UnknownType SignedMsgType = 0
    // Votes
    PrevoteType   SignedMsgType = 1
    PrecommitType SignedMsgType = 2
    // Proposals
    ProposalType SignedMsgType = 32
)

func (SignedMsgType) EnumDescriptor Uses

func (SignedMsgType) EnumDescriptor() ([]byte, []int)

func (SignedMsgType) String Uses

func (x SignedMsgType) String() string

type SimpleValidator Uses

type SimpleValidator struct {
    PubKey      *crypto.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
    VotingPower int64             `protobuf:"varint,2,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"`
}

func (*SimpleValidator) Descriptor Uses

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

func (*SimpleValidator) GetPubKey Uses

func (m *SimpleValidator) GetPubKey() *crypto.PublicKey

func (*SimpleValidator) GetVotingPower Uses

func (m *SimpleValidator) GetVotingPower() int64

func (*SimpleValidator) Marshal Uses

func (m *SimpleValidator) Marshal() (dAtA []byte, err error)

func (*SimpleValidator) MarshalTo Uses

func (m *SimpleValidator) MarshalTo(dAtA []byte) (int, error)

func (*SimpleValidator) MarshalToSizedBuffer Uses

func (m *SimpleValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SimpleValidator) ProtoMessage Uses

func (*SimpleValidator) ProtoMessage()

func (*SimpleValidator) Reset Uses

func (m *SimpleValidator) Reset()

func (*SimpleValidator) Size Uses

func (m *SimpleValidator) Size() (n int)

func (*SimpleValidator) String Uses

func (m *SimpleValidator) String() string

func (*SimpleValidator) Unmarshal Uses

func (m *SimpleValidator) Unmarshal(dAtA []byte) error

func (*SimpleValidator) XXX_DiscardUnknown Uses

func (m *SimpleValidator) XXX_DiscardUnknown()

func (*SimpleValidator) XXX_Marshal Uses

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

func (*SimpleValidator) XXX_Merge Uses

func (m *SimpleValidator) XXX_Merge(src proto.Message)

func (*SimpleValidator) XXX_Size Uses

func (m *SimpleValidator) XXX_Size() int

func (*SimpleValidator) XXX_Unmarshal Uses

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

type TxProof Uses

type TxProof struct {
    RootHash []byte        `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
    Data     []byte        `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
    Proof    *crypto.Proof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
}

TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.

func (*TxProof) Descriptor Uses

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

func (*TxProof) GetData Uses

func (m *TxProof) GetData() []byte

func (*TxProof) GetProof Uses

func (m *TxProof) GetProof() *crypto.Proof

func (*TxProof) GetRootHash Uses

func (m *TxProof) GetRootHash() []byte

func (*TxProof) Marshal Uses

func (m *TxProof) Marshal() (dAtA []byte, err error)

func (*TxProof) MarshalTo Uses

func (m *TxProof) MarshalTo(dAtA []byte) (int, error)

func (*TxProof) MarshalToSizedBuffer Uses

func (m *TxProof) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxProof) ProtoMessage Uses

func (*TxProof) ProtoMessage()

func (*TxProof) Reset Uses

func (m *TxProof) Reset()

func (*TxProof) Size Uses

func (m *TxProof) Size() (n int)

func (*TxProof) String Uses

func (m *TxProof) String() string

func (*TxProof) Unmarshal Uses

func (m *TxProof) Unmarshal(dAtA []byte) error

func (*TxProof) XXX_DiscardUnknown Uses

func (m *TxProof) XXX_DiscardUnknown()

func (*TxProof) XXX_Marshal Uses

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

func (*TxProof) XXX_Merge Uses

func (m *TxProof) XXX_Merge(src proto.Message)

func (*TxProof) XXX_Size Uses

func (m *TxProof) XXX_Size() int

func (*TxProof) XXX_Unmarshal Uses

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

type Validator Uses

type Validator struct {
    Address          []byte           `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
    PubKey           crypto.PublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
    VotingPower      int64            `protobuf:"varint,3,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"`
    ProposerPriority int64            `protobuf:"varint,4,opt,name=proposer_priority,json=proposerPriority,proto3" json:"proposer_priority,omitempty"`
}

func (*Validator) Descriptor Uses

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

func (*Validator) GetAddress Uses

func (m *Validator) GetAddress() []byte

func (*Validator) GetProposerPriority Uses

func (m *Validator) GetProposerPriority() int64

func (*Validator) GetPubKey Uses

func (m *Validator) GetPubKey() crypto.PublicKey

func (*Validator) GetVotingPower Uses

func (m *Validator) GetVotingPower() int64

func (*Validator) Marshal Uses

func (m *Validator) Marshal() (dAtA []byte, err error)

func (*Validator) MarshalTo Uses

func (m *Validator) MarshalTo(dAtA []byte) (int, error)

func (*Validator) MarshalToSizedBuffer Uses

func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Validator) ProtoMessage Uses

func (*Validator) ProtoMessage()

func (*Validator) Reset Uses

func (m *Validator) Reset()

func (*Validator) Size Uses

func (m *Validator) Size() (n int)

func (*Validator) String Uses

func (m *Validator) String() string

func (*Validator) Unmarshal Uses

func (m *Validator) Unmarshal(dAtA []byte) error

func (*Validator) XXX_DiscardUnknown Uses

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal Uses

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

func (*Validator) XXX_Merge Uses

func (m *Validator) XXX_Merge(src proto.Message)

func (*Validator) XXX_Size Uses

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal Uses

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

type ValidatorParams Uses

type ValidatorParams struct {
    PubKeyTypes []string `protobuf:"bytes,1,rep,name=pub_key_types,json=pubKeyTypes,proto3" json:"pub_key_types,omitempty"`
}

ValidatorParams restrict the public key types validators can use. NOTE: uses ABCI pubkey naming, not Amino names.

func NewPopulatedValidatorParams Uses

func NewPopulatedValidatorParams(r randyParams, easy bool) *ValidatorParams

func (*ValidatorParams) Descriptor Uses

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

func (*ValidatorParams) Equal Uses

func (this *ValidatorParams) Equal(that interface{}) bool

func (*ValidatorParams) GetPubKeyTypes Uses

func (m *ValidatorParams) GetPubKeyTypes() []string

func (*ValidatorParams) Marshal Uses

func (m *ValidatorParams) Marshal() (dAtA []byte, err error)

func (*ValidatorParams) MarshalTo Uses

func (m *ValidatorParams) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorParams) MarshalToSizedBuffer Uses

func (m *ValidatorParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorParams) ProtoMessage Uses

func (*ValidatorParams) ProtoMessage()

func (*ValidatorParams) Reset Uses

func (m *ValidatorParams) Reset()

func (*ValidatorParams) Size Uses

func (m *ValidatorParams) Size() (n int)

func (*ValidatorParams) String Uses

func (m *ValidatorParams) String() string

func (*ValidatorParams) Unmarshal Uses

func (m *ValidatorParams) Unmarshal(dAtA []byte) error

func (*ValidatorParams) XXX_DiscardUnknown Uses

func (m *ValidatorParams) XXX_DiscardUnknown()

func (*ValidatorParams) XXX_Marshal Uses

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

func (*ValidatorParams) XXX_Merge Uses

func (m *ValidatorParams) XXX_Merge(src proto.Message)

func (*ValidatorParams) XXX_Size Uses

func (m *ValidatorParams) XXX_Size() int

func (*ValidatorParams) XXX_Unmarshal Uses

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

type ValidatorSet Uses

type ValidatorSet struct {
    Validators       []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
    Proposer         *Validator   `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
    TotalVotingPower int64        `protobuf:"varint,3,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
}

func (*ValidatorSet) Descriptor Uses

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

func (*ValidatorSet) GetProposer Uses

func (m *ValidatorSet) GetProposer() *Validator

func (*ValidatorSet) GetTotalVotingPower Uses

func (m *ValidatorSet) GetTotalVotingPower() int64

func (*ValidatorSet) GetValidators Uses

func (m *ValidatorSet) GetValidators() []*Validator

func (*ValidatorSet) Marshal Uses

func (m *ValidatorSet) Marshal() (dAtA []byte, err error)

func (*ValidatorSet) MarshalTo Uses

func (m *ValidatorSet) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorSet) MarshalToSizedBuffer Uses

func (m *ValidatorSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorSet) ProtoMessage Uses

func (*ValidatorSet) ProtoMessage()

func (*ValidatorSet) Reset Uses

func (m *ValidatorSet) Reset()

func (*ValidatorSet) Size Uses

func (m *ValidatorSet) Size() (n int)

func (*ValidatorSet) String Uses

func (m *ValidatorSet) String() string

func (*ValidatorSet) Unmarshal Uses

func (m *ValidatorSet) Unmarshal(dAtA []byte) error

func (*ValidatorSet) XXX_DiscardUnknown Uses

func (m *ValidatorSet) XXX_DiscardUnknown()

func (*ValidatorSet) XXX_Marshal Uses

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

func (*ValidatorSet) XXX_Merge Uses

func (m *ValidatorSet) XXX_Merge(src proto.Message)

func (*ValidatorSet) XXX_Size Uses

func (m *ValidatorSet) XXX_Size() int

func (*ValidatorSet) XXX_Unmarshal Uses

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

type VersionParams Uses

type VersionParams struct {
    AppVersion uint64 `protobuf:"varint,1,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
}

VersionParams contains the ABCI application version.

func NewPopulatedVersionParams Uses

func NewPopulatedVersionParams(r randyParams, easy bool) *VersionParams

func (*VersionParams) Descriptor Uses

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

func (*VersionParams) Equal Uses

func (this *VersionParams) Equal(that interface{}) bool

func (*VersionParams) GetAppVersion Uses

func (m *VersionParams) GetAppVersion() uint64

func (*VersionParams) Marshal Uses

func (m *VersionParams) Marshal() (dAtA []byte, err error)

func (*VersionParams) MarshalTo Uses

func (m *VersionParams) MarshalTo(dAtA []byte) (int, error)

func (*VersionParams) MarshalToSizedBuffer Uses

func (m *VersionParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionParams) ProtoMessage Uses

func (*VersionParams) ProtoMessage()

func (*VersionParams) Reset Uses

func (m *VersionParams) Reset()

func (*VersionParams) Size Uses

func (m *VersionParams) Size() (n int)

func (*VersionParams) String Uses

func (m *VersionParams) String() string

func (*VersionParams) Unmarshal Uses

func (m *VersionParams) Unmarshal(dAtA []byte) error

func (*VersionParams) XXX_DiscardUnknown Uses

func (m *VersionParams) XXX_DiscardUnknown()

func (*VersionParams) XXX_Marshal Uses

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

func (*VersionParams) XXX_Merge Uses

func (m *VersionParams) XXX_Merge(src proto.Message)

func (*VersionParams) XXX_Size Uses

func (m *VersionParams) XXX_Size() int

func (*VersionParams) XXX_Unmarshal Uses

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

type Vote Uses

type Vote struct {
    Type             SignedMsgType `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.types.SignedMsgType" json:"type,omitempty"`
    Height           int64         `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
    Round            int32         `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
    BlockID          BlockID       `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id"`
    Timestamp        time.Time     `protobuf:"bytes,5,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
    ValidatorAddress []byte        `protobuf:"bytes,6,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
    ValidatorIndex   int32         `protobuf:"varint,7,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"`
    Signature        []byte        `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"`
}

Vote represents a prevote, precommit, or commit vote from validators for consensus.

func (*Vote) Descriptor Uses

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

func (*Vote) GetBlockID Uses

func (m *Vote) GetBlockID() BlockID

func (*Vote) GetHeight Uses

func (m *Vote) GetHeight() int64

func (*Vote) GetRound Uses

func (m *Vote) GetRound() int32

func (*Vote) GetSignature Uses

func (m *Vote) GetSignature() []byte

func (*Vote) GetTimestamp Uses

func (m *Vote) GetTimestamp() time.Time

func (*Vote) GetType Uses

func (m *Vote) GetType() SignedMsgType

func (*Vote) GetValidatorAddress Uses

func (m *Vote) GetValidatorAddress() []byte

func (*Vote) GetValidatorIndex Uses

func (m *Vote) GetValidatorIndex() int32

func (*Vote) Marshal Uses

func (m *Vote) Marshal() (dAtA []byte, err error)

func (*Vote) MarshalTo Uses

func (m *Vote) MarshalTo(dAtA []byte) (int, error)

func (*Vote) MarshalToSizedBuffer Uses

func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Vote) ProtoMessage Uses

func (*Vote) ProtoMessage()

func (*Vote) Reset Uses

func (m *Vote) Reset()

func (*Vote) Size Uses

func (m *Vote) Size() (n int)

func (*Vote) String Uses

func (m *Vote) String() string

func (*Vote) Unmarshal Uses

func (m *Vote) Unmarshal(dAtA []byte) error

func (*Vote) XXX_DiscardUnknown Uses

func (m *Vote) XXX_DiscardUnknown()

func (*Vote) XXX_Marshal Uses

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

func (*Vote) XXX_Merge Uses

func (m *Vote) XXX_Merge(src proto.Message)

func (*Vote) XXX_Size Uses

func (m *Vote) XXX_Size() int

func (*Vote) XXX_Unmarshal Uses

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

Package types imports 12 packages (graph) and is imported by 40 packages. Updated 2020-10-17. Refresh now. Tools for package owners.