Documentation
¶
Index ¶
- type Block
- type State
- func (s *State) Commit()
- func (s *State) PreCommit()
- func (s *State) Propose()
- func (s *State) ReceiveMsg(chID byte, msgBytes []byte)
- func (s *State) ReceivePreCommit(o *types.PreCommitMessage)
- func (s *State) ReceivePropose(o *types.ProposeMessage)
- func (s *State) ReceiveVote(o *types.VoteMessage)
- func (s *State) Start()
- func (s *State) Stop()
- func (s *State) Vote()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) ReceiveMsg ¶
func (*State) ReceivePreCommit ¶
func (s *State) ReceivePreCommit(o *types.PreCommitMessage)
func (*State) ReceivePropose ¶
func (s *State) ReceivePropose(o *types.ProposeMessage)
func (*State) ReceiveVote ¶
func (s *State) ReceiveVote(o *types.VoteMessage)
Click to show internal directories.
Click to hide internal directories.