Versions in this module Expand all Collapse all v0 v0.11.1 Oct 10, 2017 Changes in this version + const RoundStepCommit + const RoundStepNewHeight + const RoundStepNewRound + const RoundStepPrecommit + const RoundStepPrecommitWait + const RoundStepPrevote + const RoundStepPrevoteWait + const RoundStepPropose + type HeightVoteSet struct + func NewHeightVoteSet(chainID string, height int, valSet *types.ValidatorSet) *HeightVoteSet + func (hvs *HeightVoteSet) AddVote(vote *types.Vote, peerKey string) (added bool, err error) + func (hvs *HeightVoteSet) Height() int + func (hvs *HeightVoteSet) POLInfo() (polRound int, polBlockID types.BlockID) + func (hvs *HeightVoteSet) Precommits(round int) *types.VoteSet + func (hvs *HeightVoteSet) Prevotes(round int) *types.VoteSet + func (hvs *HeightVoteSet) Reset(height int, valSet *types.ValidatorSet) + func (hvs *HeightVoteSet) Round() int + func (hvs *HeightVoteSet) SetPeerMaj23(round int, type_ byte, peerID string, blockID types.BlockID) + func (hvs *HeightVoteSet) SetRound(round int) + func (hvs *HeightVoteSet) String() string + func (hvs *HeightVoteSet) StringIndented(indent string) string + type PeerRoundState struct + CatchupCommit *cmn.BitArray + CatchupCommitRound int + Height int + LastCommit *cmn.BitArray + LastCommitRound int + Precommits *cmn.BitArray + Prevotes *cmn.BitArray + Proposal bool + ProposalBlockParts *cmn.BitArray + ProposalBlockPartsHeader types.PartSetHeader + ProposalPOL *cmn.BitArray + ProposalPOLRound int + Round int + StartTime time.Time + Step RoundStepType + func (prs PeerRoundState) String() string + func (prs PeerRoundState) StringIndented(indent string) string + type RoundState struct + CommitRound int + CommitTime time.Time + Height int + LastCommit *types.VoteSet + LastValidators *types.ValidatorSet + LockedBlock *types.Block + LockedBlockParts *types.PartSet + LockedRound int + Proposal *types.Proposal + ProposalBlock *types.Block + ProposalBlockParts *types.PartSet + Round int + StartTime time.Time + Step RoundStepType + Validators *types.ValidatorSet + Votes *HeightVoteSet + func (rs *RoundState) RoundStateEvent() types.EventDataRoundState + func (rs *RoundState) String() string + func (rs *RoundState) StringIndented(indent string) string + func (rs *RoundState) StringShort() string + type RoundStepType uint8 + func (rs RoundStepType) String() string + type RoundVoteSet struct + Precommits *types.VoteSet + Prevotes *types.VoteSet