Documentation ¶
Index ¶
- type Log
- func (log *Log) AddVote(v *vote.Vote) (bool, error)
- func (log *Log) CPDecidedVoteVoteSet(round int16) *voteset.BinaryVoteSet
- func (log *Log) CPMainVoteVoteSet(round int16) *voteset.BinaryVoteSet
- func (log *Log) CPPreVoteVoteSet(round int16) *voteset.BinaryVoteSet
- func (log *Log) CanVote(addr crypto.Address) bool
- func (log *Log) HasRoundProposal(round int16) bool
- func (log *Log) HasVote(h hash.Hash) bool
- func (log *Log) MoveToNewHeight(validators []*validator.Validator)
- func (log *Log) PrecommitVoteSet(round int16) *voteset.BlockVoteSet
- func (log *Log) PrepareVoteSet(round int16) *voteset.BlockVoteSet
- func (log *Log) RoundMessages(round int16) *Messages
- func (log *Log) RoundProposal(round int16) *proposal.Proposal
- func (log *Log) SetRoundProposal(round int16, prop *proposal.Proposal)
- type Messages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func (*Log) CPDecidedVoteVoteSet ¶ added in v0.15.1
func (log *Log) CPDecidedVoteVoteSet(round int16) *voteset.BinaryVoteSet
func (*Log) CPMainVoteVoteSet ¶ added in v0.15.0
func (log *Log) CPMainVoteVoteSet(round int16) *voteset.BinaryVoteSet
func (*Log) CPPreVoteVoteSet ¶ added in v0.15.0
func (log *Log) CPPreVoteVoteSet(round int16) *voteset.BinaryVoteSet
func (*Log) HasRoundProposal ¶
func (*Log) MoveToNewHeight ¶
func (*Log) PrecommitVoteSet ¶
func (log *Log) PrecommitVoteSet(round int16) *voteset.BlockVoteSet
func (*Log) PrepareVoteSet ¶
func (log *Log) PrepareVoteSet(round int16) *voteset.BlockVoteSet
func (*Log) RoundMessages ¶
Click to show internal directories.
Click to hide internal directories.