Documentation ¶
Index ¶
- type BlockPart
- func (*BlockPart) Descriptor() ([]byte, []int)
- func (m *BlockPart) GetHeight() int64
- func (m *BlockPart) GetPart() types.Part
- func (m *BlockPart) GetRound() int32
- func (*BlockPart) ProtoMessage()
- func (m *BlockPart) Reset()
- func (m *BlockPart) String() string
- func (m *BlockPart) XXX_DiscardUnknown()
- func (m *BlockPart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockPart) XXX_Merge(src proto.Message)
- func (m *BlockPart) XXX_Size() int
- func (m *BlockPart) XXX_Unmarshal(b []byte) error
- type EndHeight
- func (*EndHeight) Descriptor() ([]byte, []int)
- func (m *EndHeight) GetHeight() int64
- func (*EndHeight) ProtoMessage()
- func (m *EndHeight) Reset()
- func (m *EndHeight) String() string
- func (m *EndHeight) XXX_DiscardUnknown()
- func (m *EndHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EndHeight) XXX_Merge(src proto.Message)
- func (m *EndHeight) XXX_Size() int
- func (m *EndHeight) XXX_Unmarshal(b []byte) error
- type HasVote
- func (*HasVote) Descriptor() ([]byte, []int)
- func (m *HasVote) GetHeight() int64
- func (m *HasVote) GetIndex() uint32
- func (m *HasVote) GetRound() int32
- func (m *HasVote) GetType() types.SignedMsgType
- func (*HasVote) ProtoMessage()
- func (m *HasVote) Reset()
- func (m *HasVote) String() string
- func (m *HasVote) XXX_DiscardUnknown()
- func (m *HasVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HasVote) XXX_Merge(src proto.Message)
- func (m *HasVote) XXX_Size() int
- func (m *HasVote) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetBlockPart() *BlockPart
- func (m *Message) GetHasVote() *HasVote
- func (m *Message) GetNewRoundStep() *NewRoundStep
- func (m *Message) GetNewValidBlock() *NewValidBlock
- func (m *Message) GetProposal() *Proposal
- func (m *Message) GetProposalPol() *ProposalPOL
- func (m *Message) GetSum() isMessage_Sum
- func (m *Message) GetVote() *Vote
- func (m *Message) GetVoteSetBits() *VoteSetBits
- func (m *Message) GetVoteSetMaj23() *VoteSetMaj23
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (*Message) XXX_OneofWrappers() []interface{}
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_BlockPart
- type Message_HasVote
- type Message_NewRoundStep
- type Message_NewValidBlock
- type Message_Proposal
- type Message_ProposalPol
- type Message_Vote
- type Message_VoteSetBits
- type Message_VoteSetMaj23
- type MsgInfo
- func (*MsgInfo) Descriptor() ([]byte, []int)
- func (m *MsgInfo) GetMsg() Message
- func (m *MsgInfo) GetPeerID() string
- func (*MsgInfo) ProtoMessage()
- func (m *MsgInfo) Reset()
- func (m *MsgInfo) String() string
- func (m *MsgInfo) XXX_DiscardUnknown()
- func (m *MsgInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInfo) XXX_Merge(src proto.Message)
- func (m *MsgInfo) XXX_Size() int
- func (m *MsgInfo) XXX_Unmarshal(b []byte) error
- type NewRoundStep
- func (*NewRoundStep) Descriptor() ([]byte, []int)
- func (m *NewRoundStep) GetHeight() int64
- func (m *NewRoundStep) GetLastCommitRound() int32
- func (m *NewRoundStep) GetRound() int32
- func (m *NewRoundStep) GetSecondsSinceStartTime() int64
- func (m *NewRoundStep) GetStep() uint32
- func (*NewRoundStep) ProtoMessage()
- func (m *NewRoundStep) Reset()
- func (m *NewRoundStep) String() string
- func (m *NewRoundStep) XXX_DiscardUnknown()
- func (m *NewRoundStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewRoundStep) XXX_Merge(src proto.Message)
- func (m *NewRoundStep) XXX_Size() int
- func (m *NewRoundStep) XXX_Unmarshal(b []byte) error
- type NewValidBlock
- func (*NewValidBlock) Descriptor() ([]byte, []int)
- func (m *NewValidBlock) GetBlockParts() *bits.BitArray
- func (m *NewValidBlock) GetBlockPartsHeader() types.PartSetHeader
- func (m *NewValidBlock) GetHeight() int64
- func (m *NewValidBlock) GetIsCommit() bool
- func (m *NewValidBlock) GetRound() int32
- func (*NewValidBlock) ProtoMessage()
- func (m *NewValidBlock) Reset()
- func (m *NewValidBlock) String() string
- func (m *NewValidBlock) XXX_DiscardUnknown()
- func (m *NewValidBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewValidBlock) XXX_Merge(src proto.Message)
- func (m *NewValidBlock) XXX_Size() int
- func (m *NewValidBlock) XXX_Unmarshal(b []byte) error
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)
- func (m *Proposal) GetProposal() types.Proposal
- func (*Proposal) ProtoMessage()
- func (m *Proposal) Reset()
- func (m *Proposal) String() string
- func (m *Proposal) XXX_DiscardUnknown()
- func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proposal) XXX_Merge(src proto.Message)
- func (m *Proposal) XXX_Size() int
- func (m *Proposal) XXX_Unmarshal(b []byte) error
- type ProposalPOL
- func (*ProposalPOL) Descriptor() ([]byte, []int)
- func (m *ProposalPOL) GetHeight() int64
- func (m *ProposalPOL) GetProposalPol() bits.BitArray
- func (m *ProposalPOL) GetProposalPolRound() int32
- func (*ProposalPOL) ProtoMessage()
- func (m *ProposalPOL) Reset()
- func (m *ProposalPOL) String() string
- func (m *ProposalPOL) XXX_DiscardUnknown()
- func (m *ProposalPOL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalPOL) XXX_Merge(src proto.Message)
- func (m *ProposalPOL) XXX_Size() int
- func (m *ProposalPOL) XXX_Unmarshal(b []byte) error
- type TimedWALMessage
- func (*TimedWALMessage) Descriptor() ([]byte, []int)
- func (m *TimedWALMessage) GetMsg() *WALMessage
- func (m *TimedWALMessage) GetTime() time.Time
- func (*TimedWALMessage) ProtoMessage()
- func (m *TimedWALMessage) Reset()
- func (m *TimedWALMessage) String() string
- func (m *TimedWALMessage) XXX_DiscardUnknown()
- func (m *TimedWALMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimedWALMessage) XXX_Merge(src proto.Message)
- func (m *TimedWALMessage) XXX_Size() int
- func (m *TimedWALMessage) XXX_Unmarshal(b []byte) error
- type TimeoutInfo
- func (*TimeoutInfo) Descriptor() ([]byte, []int)
- func (m *TimeoutInfo) GetDuration() time.Duration
- func (m *TimeoutInfo) GetHeight() int64
- func (m *TimeoutInfo) GetRound() int32
- func (m *TimeoutInfo) GetStep() uint32
- func (*TimeoutInfo) ProtoMessage()
- func (m *TimeoutInfo) Reset()
- func (m *TimeoutInfo) String() string
- func (m *TimeoutInfo) XXX_DiscardUnknown()
- func (m *TimeoutInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimeoutInfo) XXX_Merge(src proto.Message)
- func (m *TimeoutInfo) XXX_Size() int
- func (m *TimeoutInfo) XXX_Unmarshal(b []byte) error
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetVote() *types.Vote
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) String() string
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vote) XXX_Merge(src proto.Message)
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
- type VoteSetBits
- func (*VoteSetBits) Descriptor() ([]byte, []int)
- func (m *VoteSetBits) GetBlockID() types.BlockID
- func (m *VoteSetBits) GetHeight() int64
- func (m *VoteSetBits) GetRound() int32
- func (m *VoteSetBits) GetType() types.SignedMsgType
- func (m *VoteSetBits) GetVotes() bits.BitArray
- func (*VoteSetBits) ProtoMessage()
- func (m *VoteSetBits) Reset()
- func (m *VoteSetBits) String() string
- func (m *VoteSetBits) XXX_DiscardUnknown()
- func (m *VoteSetBits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteSetBits) XXX_Merge(src proto.Message)
- func (m *VoteSetBits) XXX_Size() int
- func (m *VoteSetBits) XXX_Unmarshal(b []byte) error
- type VoteSetMaj23
- func (*VoteSetMaj23) Descriptor() ([]byte, []int)
- func (m *VoteSetMaj23) GetBlockID() types.BlockID
- func (m *VoteSetMaj23) GetHeight() int64
- func (m *VoteSetMaj23) GetRound() int32
- func (m *VoteSetMaj23) GetType() types.SignedMsgType
- func (*VoteSetMaj23) ProtoMessage()
- func (m *VoteSetMaj23) Reset()
- func (m *VoteSetMaj23) String() string
- func (m *VoteSetMaj23) XXX_DiscardUnknown()
- func (m *VoteSetMaj23) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteSetMaj23) XXX_Merge(src proto.Message)
- func (m *VoteSetMaj23) XXX_Size() int
- func (m *VoteSetMaj23) XXX_Unmarshal(b []byte) error
- type WALMessage
- func (*WALMessage) Descriptor() ([]byte, []int)
- func (m *WALMessage) GetEndHeight() *EndHeight
- func (m *WALMessage) GetEventDataRoundState() *types.EventDataRoundState
- func (m *WALMessage) GetMsgInfo() *MsgInfo
- func (m *WALMessage) GetSum() isWALMessage_Sum
- func (m *WALMessage) GetTimeoutInfo() *TimeoutInfo
- func (*WALMessage) ProtoMessage()
- func (m *WALMessage) Reset()
- func (m *WALMessage) String() string
- func (m *WALMessage) XXX_DiscardUnknown()
- func (m *WALMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WALMessage) XXX_Merge(src proto.Message)
- func (*WALMessage) XXX_OneofWrappers() []interface{}
- func (m *WALMessage) XXX_Size() int
- func (m *WALMessage) XXX_Unmarshal(b []byte) error
- type WALMessage_EndHeight
- type WALMessage_EventDataRoundState
- type WALMessage_MsgInfo
- type WALMessage_TimeoutInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockPart ¶
type BlockPart 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"` Part types.Part `protobuf:"bytes,3,opt,name=part,proto3" json:"part"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BlockPartMessage is sent when gossipping a piece of the proposed block.
func (*BlockPart) Descriptor ¶
func (*BlockPart) ProtoMessage ¶
func (*BlockPart) ProtoMessage()
func (*BlockPart) XXX_DiscardUnknown ¶
func (m *BlockPart) XXX_DiscardUnknown()
func (*BlockPart) XXX_Marshal ¶
func (*BlockPart) XXX_Unmarshal ¶
type EndHeight ¶
type EndHeight struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EndHeightMessage marks the end of the given height inside WAL. @internal used by scripts/wal2json util.
func (*EndHeight) Descriptor ¶
func (*EndHeight) ProtoMessage ¶
func (*EndHeight) ProtoMessage()
func (*EndHeight) XXX_DiscardUnknown ¶
func (m *EndHeight) XXX_DiscardUnknown()
func (*EndHeight) XXX_Marshal ¶
func (*EndHeight) XXX_Unmarshal ¶
type HasVote ¶
type HasVote 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"` Type types.SignedMsgType `protobuf:"varint,3,opt,name=type,proto3,enum=tendermint.proto.types.SignedMsgType" json:"type,omitempty"` Index uint32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HasVoteMessage is sent to indicate that a particular vote has been received.
func (*HasVote) Descriptor ¶
func (*HasVote) GetType ¶
func (m *HasVote) GetType() types.SignedMsgType
func (*HasVote) ProtoMessage ¶
func (*HasVote) ProtoMessage()
func (*HasVote) XXX_DiscardUnknown ¶
func (m *HasVote) XXX_DiscardUnknown()
func (*HasVote) XXX_Marshal ¶
func (*HasVote) XXX_Unmarshal ¶
type Message ¶
type Message struct { // Types that are valid to be assigned to Sum: // *Message_NewRoundStep // *Message_NewValidBlock // *Message_Proposal // *Message_ProposalPol // *Message_BlockPart // *Message_Vote // *Message_HasVote // *Message_VoteSetMaj23 // *Message_VoteSetBits Sum isMessage_Sum `protobuf_oneof:"sum"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetBlockPart ¶
func (*Message) GetHasVote ¶
func (*Message) GetNewRoundStep ¶
func (m *Message) GetNewRoundStep() *NewRoundStep
func (*Message) GetNewValidBlock ¶
func (m *Message) GetNewValidBlock() *NewValidBlock
func (*Message) GetProposal ¶
func (*Message) GetProposalPol ¶
func (m *Message) GetProposalPol() *ProposalPOL
func (*Message) GetVoteSetBits ¶
func (m *Message) GetVoteSetBits() *VoteSetBits
func (*Message) GetVoteSetMaj23 ¶
func (m *Message) GetVoteSetMaj23() *VoteSetMaj23
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_OneofWrappers ¶
func (*Message) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Message) XXX_Unmarshal ¶
type Message_BlockPart ¶
type Message_BlockPart struct {
BlockPart *BlockPart `protobuf:"bytes,5,opt,name=block_part,json=blockPart,proto3,oneof" json:"block_part,omitempty"`
}
type Message_HasVote ¶
type Message_HasVote struct {
HasVote *HasVote `protobuf:"bytes,7,opt,name=has_vote,json=hasVote,proto3,oneof" json:"has_vote,omitempty"`
}
type Message_NewRoundStep ¶
type Message_NewRoundStep struct {
NewRoundStep *NewRoundStep `protobuf:"bytes,1,opt,name=new_round_step,json=newRoundStep,proto3,oneof" json:"new_round_step,omitempty"`
}
type Message_NewValidBlock ¶
type Message_NewValidBlock struct {
NewValidBlock *NewValidBlock `protobuf:"bytes,2,opt,name=new_valid_block,json=newValidBlock,proto3,oneof" json:"new_valid_block,omitempty"`
}
type Message_Proposal ¶
type Message_Proposal struct {
Proposal *Proposal `protobuf:"bytes,3,opt,name=proposal,proto3,oneof" json:"proposal,omitempty"`
}
type Message_ProposalPol ¶
type Message_ProposalPol struct {
ProposalPol *ProposalPOL `protobuf:"bytes,4,opt,name=proposal_pol,json=proposalPol,proto3,oneof" json:"proposal_pol,omitempty"`
}
type Message_Vote ¶
type Message_Vote struct {
Vote *Vote `protobuf:"bytes,6,opt,name=vote,proto3,oneof" json:"vote,omitempty"`
}
type Message_VoteSetBits ¶
type Message_VoteSetBits struct {
VoteSetBits *VoteSetBits `protobuf:"bytes,9,opt,name=vote_set_bits,json=voteSetBits,proto3,oneof" json:"vote_set_bits,omitempty"`
}
type Message_VoteSetMaj23 ¶
type Message_VoteSetMaj23 struct {
VoteSetMaj23 *VoteSetMaj23 `protobuf:"bytes,8,opt,name=vote_set_maj23,json=voteSetMaj23,proto3,oneof" json:"vote_set_maj23,omitempty"`
}
type MsgInfo ¶
type MsgInfo struct { Msg Message `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg"` PeerID string `protobuf:"bytes,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MsgInfo are msgs from the reactor which may update the state
func (*MsgInfo) Descriptor ¶
func (*MsgInfo) ProtoMessage ¶
func (*MsgInfo) ProtoMessage()
func (*MsgInfo) XXX_DiscardUnknown ¶
func (m *MsgInfo) XXX_DiscardUnknown()
func (*MsgInfo) XXX_Marshal ¶
func (*MsgInfo) XXX_Unmarshal ¶
type NewRoundStep ¶
type NewRoundStep 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 uint32 `protobuf:"varint,3,opt,name=step,proto3" json:"step,omitempty"` SecondsSinceStartTime int64 `` /* 129-byte string literal not displayed */ LastCommitRound int32 `protobuf:"varint,5,opt,name=last_commit_round,json=lastCommitRound,proto3" json:"last_commit_round,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NewRoundStepMessage is sent for every step taken in the ConsensusState. For every height/round/step transition
func (*NewRoundStep) Descriptor ¶
func (*NewRoundStep) Descriptor() ([]byte, []int)
func (*NewRoundStep) GetHeight ¶
func (m *NewRoundStep) GetHeight() int64
func (*NewRoundStep) GetLastCommitRound ¶
func (m *NewRoundStep) GetLastCommitRound() int32
func (*NewRoundStep) GetRound ¶
func (m *NewRoundStep) GetRound() int32
func (*NewRoundStep) GetSecondsSinceStartTime ¶
func (m *NewRoundStep) GetSecondsSinceStartTime() int64
func (*NewRoundStep) GetStep ¶
func (m *NewRoundStep) GetStep() uint32
func (*NewRoundStep) ProtoMessage ¶
func (*NewRoundStep) ProtoMessage()
func (*NewRoundStep) Reset ¶
func (m *NewRoundStep) Reset()
func (*NewRoundStep) String ¶
func (m *NewRoundStep) String() string
func (*NewRoundStep) XXX_DiscardUnknown ¶
func (m *NewRoundStep) XXX_DiscardUnknown()
func (*NewRoundStep) XXX_Marshal ¶
func (m *NewRoundStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewRoundStep) XXX_Merge ¶
func (m *NewRoundStep) XXX_Merge(src proto.Message)
func (*NewRoundStep) XXX_Size ¶
func (m *NewRoundStep) XXX_Size() int
func (*NewRoundStep) XXX_Unmarshal ¶
func (m *NewRoundStep) XXX_Unmarshal(b []byte) error
type NewValidBlock ¶
type NewValidBlock 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"` BlockPartsHeader types.PartSetHeader `protobuf:"bytes,3,opt,name=block_parts_header,json=blockPartsHeader,proto3" json:"block_parts_header"` BlockParts *bits.BitArray `protobuf:"bytes,4,opt,name=block_parts,json=blockParts,proto3" json:"block_parts,omitempty"` IsCommit bool `protobuf:"varint,5,opt,name=is_commit,json=isCommit,proto3" json:"is_commit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NewValidBlockMessage is sent when a validator observes a valid block B in some round r, i.e., there is a Proposal for block B and 2/3+ prevotes for the block B in the round r. In case the block is also committed, then IsCommit flag is set to true.
func (*NewValidBlock) Descriptor ¶
func (*NewValidBlock) Descriptor() ([]byte, []int)
func (*NewValidBlock) GetBlockParts ¶
func (m *NewValidBlock) GetBlockParts() *bits.BitArray
func (*NewValidBlock) GetBlockPartsHeader ¶
func (m *NewValidBlock) GetBlockPartsHeader() types.PartSetHeader
func (*NewValidBlock) GetHeight ¶
func (m *NewValidBlock) GetHeight() int64
func (*NewValidBlock) GetIsCommit ¶
func (m *NewValidBlock) GetIsCommit() bool
func (*NewValidBlock) GetRound ¶
func (m *NewValidBlock) GetRound() int32
func (*NewValidBlock) ProtoMessage ¶
func (*NewValidBlock) ProtoMessage()
func (*NewValidBlock) Reset ¶
func (m *NewValidBlock) Reset()
func (*NewValidBlock) String ¶
func (m *NewValidBlock) String() string
func (*NewValidBlock) XXX_DiscardUnknown ¶
func (m *NewValidBlock) XXX_DiscardUnknown()
func (*NewValidBlock) XXX_Marshal ¶
func (m *NewValidBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewValidBlock) XXX_Merge ¶
func (m *NewValidBlock) XXX_Merge(src proto.Message)
func (*NewValidBlock) XXX_Size ¶
func (m *NewValidBlock) XXX_Size() int
func (*NewValidBlock) XXX_Unmarshal ¶
func (m *NewValidBlock) XXX_Unmarshal(b []byte) error
type Proposal ¶
type Proposal struct { Proposal types.Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ProposalMessage is sent when a new block is proposed.
func (*Proposal) Descriptor ¶
func (*Proposal) GetProposal ¶
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) XXX_DiscardUnknown ¶
func (m *Proposal) XXX_DiscardUnknown()
func (*Proposal) XXX_Marshal ¶
func (*Proposal) XXX_Unmarshal ¶
type ProposalPOL ¶
type ProposalPOL struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` ProposalPolRound int32 `protobuf:"varint,2,opt,name=proposal_pol_round,json=proposalPolRound,proto3" json:"proposal_pol_round,omitempty"` ProposalPol bits.BitArray `protobuf:"bytes,3,opt,name=proposal_pol,json=proposalPol,proto3" json:"proposal_pol"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ProposalPOLMessage is sent when a previous proposal is re-proposed.
func (*ProposalPOL) Descriptor ¶
func (*ProposalPOL) Descriptor() ([]byte, []int)
func (*ProposalPOL) GetHeight ¶
func (m *ProposalPOL) GetHeight() int64
func (*ProposalPOL) GetProposalPol ¶
func (m *ProposalPOL) GetProposalPol() bits.BitArray
func (*ProposalPOL) GetProposalPolRound ¶
func (m *ProposalPOL) GetProposalPolRound() int32
func (*ProposalPOL) ProtoMessage ¶
func (*ProposalPOL) ProtoMessage()
func (*ProposalPOL) Reset ¶
func (m *ProposalPOL) Reset()
func (*ProposalPOL) String ¶
func (m *ProposalPOL) String() string
func (*ProposalPOL) XXX_DiscardUnknown ¶
func (m *ProposalPOL) XXX_DiscardUnknown()
func (*ProposalPOL) XXX_Marshal ¶
func (m *ProposalPOL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalPOL) XXX_Merge ¶
func (m *ProposalPOL) XXX_Merge(src proto.Message)
func (*ProposalPOL) XXX_Size ¶
func (m *ProposalPOL) XXX_Size() int
func (*ProposalPOL) XXX_Unmarshal ¶
func (m *ProposalPOL) XXX_Unmarshal(b []byte) error
type TimedWALMessage ¶
type TimedWALMessage struct { Time time.Time `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"` Msg *WALMessage `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TimedWALMessage wraps WALMessage and adds Time for debugging purposes.
func (*TimedWALMessage) Descriptor ¶
func (*TimedWALMessage) Descriptor() ([]byte, []int)
func (*TimedWALMessage) GetMsg ¶
func (m *TimedWALMessage) GetMsg() *WALMessage
func (*TimedWALMessage) GetTime ¶
func (m *TimedWALMessage) GetTime() time.Time
func (*TimedWALMessage) ProtoMessage ¶
func (*TimedWALMessage) ProtoMessage()
func (*TimedWALMessage) Reset ¶
func (m *TimedWALMessage) Reset()
func (*TimedWALMessage) String ¶
func (m *TimedWALMessage) String() string
func (*TimedWALMessage) XXX_DiscardUnknown ¶
func (m *TimedWALMessage) XXX_DiscardUnknown()
func (*TimedWALMessage) XXX_Marshal ¶
func (m *TimedWALMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimedWALMessage) XXX_Merge ¶
func (m *TimedWALMessage) XXX_Merge(src proto.Message)
func (*TimedWALMessage) XXX_Size ¶
func (m *TimedWALMessage) XXX_Size() int
func (*TimedWALMessage) XXX_Unmarshal ¶
func (m *TimedWALMessage) XXX_Unmarshal(b []byte) error
type TimeoutInfo ¶
type TimeoutInfo struct { Duration time.Duration `protobuf:"bytes,1,opt,name=duration,proto3,stdduration" json:"duration"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` Step uint32 `protobuf:"varint,4,opt,name=step,proto3" json:"step,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TimeoutInfo internally generated messages which may update the state
func (*TimeoutInfo) Descriptor ¶
func (*TimeoutInfo) Descriptor() ([]byte, []int)
func (*TimeoutInfo) GetDuration ¶
func (m *TimeoutInfo) GetDuration() time.Duration
func (*TimeoutInfo) GetHeight ¶
func (m *TimeoutInfo) GetHeight() int64
func (*TimeoutInfo) GetRound ¶
func (m *TimeoutInfo) GetRound() int32
func (*TimeoutInfo) GetStep ¶
func (m *TimeoutInfo) GetStep() uint32
func (*TimeoutInfo) ProtoMessage ¶
func (*TimeoutInfo) ProtoMessage()
func (*TimeoutInfo) Reset ¶
func (m *TimeoutInfo) Reset()
func (*TimeoutInfo) String ¶
func (m *TimeoutInfo) String() string
func (*TimeoutInfo) XXX_DiscardUnknown ¶
func (m *TimeoutInfo) XXX_DiscardUnknown()
func (*TimeoutInfo) XXX_Marshal ¶
func (m *TimeoutInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimeoutInfo) XXX_Merge ¶
func (m *TimeoutInfo) XXX_Merge(src proto.Message)
func (*TimeoutInfo) XXX_Size ¶
func (m *TimeoutInfo) XXX_Size() int
func (*TimeoutInfo) XXX_Unmarshal ¶
func (m *TimeoutInfo) XXX_Unmarshal(b []byte) error
type Vote ¶
type Vote struct { Vote *types.Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VoteMessage is sent when voting for a proposal (or lack thereof).
func (*Vote) Descriptor ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
type VoteSetBits ¶
type VoteSetBits 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"` Type types.SignedMsgType `protobuf:"varint,3,opt,name=type,proto3,enum=tendermint.proto.types.SignedMsgType" json:"type,omitempty"` BlockID types.BlockID `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id"` Votes bits.BitArray `protobuf:"bytes,5,opt,name=votes,proto3" json:"votes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VoteSetBitsMessage is sent to communicate the bit-array of votes seen for the BlockID.
func (*VoteSetBits) Descriptor ¶
func (*VoteSetBits) Descriptor() ([]byte, []int)
func (*VoteSetBits) GetBlockID ¶
func (m *VoteSetBits) GetBlockID() types.BlockID
func (*VoteSetBits) GetHeight ¶
func (m *VoteSetBits) GetHeight() int64
func (*VoteSetBits) GetRound ¶
func (m *VoteSetBits) GetRound() int32
func (*VoteSetBits) GetType ¶
func (m *VoteSetBits) GetType() types.SignedMsgType
func (*VoteSetBits) GetVotes ¶
func (m *VoteSetBits) GetVotes() bits.BitArray
func (*VoteSetBits) ProtoMessage ¶
func (*VoteSetBits) ProtoMessage()
func (*VoteSetBits) Reset ¶
func (m *VoteSetBits) Reset()
func (*VoteSetBits) String ¶
func (m *VoteSetBits) String() string
func (*VoteSetBits) XXX_DiscardUnknown ¶
func (m *VoteSetBits) XXX_DiscardUnknown()
func (*VoteSetBits) XXX_Marshal ¶
func (m *VoteSetBits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteSetBits) XXX_Merge ¶
func (m *VoteSetBits) XXX_Merge(src proto.Message)
func (*VoteSetBits) XXX_Size ¶
func (m *VoteSetBits) XXX_Size() int
func (*VoteSetBits) XXX_Unmarshal ¶
func (m *VoteSetBits) XXX_Unmarshal(b []byte) error
type VoteSetMaj23 ¶
type VoteSetMaj23 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"` Type types.SignedMsgType `protobuf:"varint,3,opt,name=type,proto3,enum=tendermint.proto.types.SignedMsgType" json:"type,omitempty"` BlockID types.BlockID `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VoteSetMaj23Message is sent to indicate that a given BlockID has seen +2/3 votes.
func (*VoteSetMaj23) Descriptor ¶
func (*VoteSetMaj23) Descriptor() ([]byte, []int)
func (*VoteSetMaj23) GetBlockID ¶
func (m *VoteSetMaj23) GetBlockID() types.BlockID
func (*VoteSetMaj23) GetHeight ¶
func (m *VoteSetMaj23) GetHeight() int64
func (*VoteSetMaj23) GetRound ¶
func (m *VoteSetMaj23) GetRound() int32
func (*VoteSetMaj23) GetType ¶
func (m *VoteSetMaj23) GetType() types.SignedMsgType
func (*VoteSetMaj23) ProtoMessage ¶
func (*VoteSetMaj23) ProtoMessage()
func (*VoteSetMaj23) Reset ¶
func (m *VoteSetMaj23) Reset()
func (*VoteSetMaj23) String ¶
func (m *VoteSetMaj23) String() string
func (*VoteSetMaj23) XXX_DiscardUnknown ¶
func (m *VoteSetMaj23) XXX_DiscardUnknown()
func (*VoteSetMaj23) XXX_Marshal ¶
func (m *VoteSetMaj23) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteSetMaj23) XXX_Merge ¶
func (m *VoteSetMaj23) XXX_Merge(src proto.Message)
func (*VoteSetMaj23) XXX_Size ¶
func (m *VoteSetMaj23) XXX_Size() int
func (*VoteSetMaj23) XXX_Unmarshal ¶
func (m *VoteSetMaj23) XXX_Unmarshal(b []byte) error
type WALMessage ¶
type WALMessage struct { // Types that are valid to be assigned to Sum: // *WALMessage_EventDataRoundState // *WALMessage_MsgInfo // *WALMessage_TimeoutInfo // *WALMessage_EndHeight Sum isWALMessage_Sum `protobuf_oneof:"sum"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WALMessage) Descriptor ¶
func (*WALMessage) Descriptor() ([]byte, []int)
func (*WALMessage) GetEndHeight ¶
func (m *WALMessage) GetEndHeight() *EndHeight
func (*WALMessage) GetEventDataRoundState ¶
func (m *WALMessage) GetEventDataRoundState() *types.EventDataRoundState
func (*WALMessage) GetMsgInfo ¶
func (m *WALMessage) GetMsgInfo() *MsgInfo
func (*WALMessage) GetSum ¶
func (m *WALMessage) GetSum() isWALMessage_Sum
func (*WALMessage) GetTimeoutInfo ¶
func (m *WALMessage) GetTimeoutInfo() *TimeoutInfo
func (*WALMessage) ProtoMessage ¶
func (*WALMessage) ProtoMessage()
func (*WALMessage) Reset ¶
func (m *WALMessage) Reset()
func (*WALMessage) String ¶
func (m *WALMessage) String() string
func (*WALMessage) XXX_DiscardUnknown ¶
func (m *WALMessage) XXX_DiscardUnknown()
func (*WALMessage) XXX_Marshal ¶
func (m *WALMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WALMessage) XXX_Merge ¶
func (m *WALMessage) XXX_Merge(src proto.Message)
func (*WALMessage) XXX_OneofWrappers ¶
func (*WALMessage) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*WALMessage) XXX_Size ¶
func (m *WALMessage) XXX_Size() int
func (*WALMessage) XXX_Unmarshal ¶
func (m *WALMessage) XXX_Unmarshal(b []byte) error
type WALMessage_EndHeight ¶
type WALMessage_EndHeight struct {
EndHeight *EndHeight `protobuf:"bytes,4,opt,name=end_height,json=endHeight,proto3,oneof" json:"end_height,omitempty"`
}
type WALMessage_EventDataRoundState ¶
type WALMessage_EventDataRoundState struct {
EventDataRoundState *types.EventDataRoundState `` /* 128-byte string literal not displayed */
}
type WALMessage_MsgInfo ¶
type WALMessage_MsgInfo struct {
MsgInfo *MsgInfo `protobuf:"bytes,2,opt,name=msg_info,json=msgInfo,proto3,oneof" json:"msg_info,omitempty"`
}
type WALMessage_TimeoutInfo ¶
type WALMessage_TimeoutInfo struct {
TimeoutInfo *TimeoutInfo `protobuf:"bytes,3,opt,name=timeout_info,json=timeoutInfo,proto3,oneof" json:"timeout_info,omitempty"`
}