Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Synchronizer ¶
type Synchronizer struct {
hotstuff.LeaderRotation
// contains filtered or unexported fields
}
func New ¶
func New(leaderRotation hotstuff.LeaderRotation, initialTimeout time.Duration) *Synchronizer
func (*Synchronizer) Init ¶
func (s *Synchronizer) Init(hs hotstuff.Consensus)
func (*Synchronizer) OnFinishQC ¶
func (s *Synchronizer) OnFinishQC()
OnFinishQC should be called when a replica has created a new qc
func (*Synchronizer) OnNewView ¶
func (s *Synchronizer) OnNewView()
OnNewView should be called when a replica receives a valid NewView message
func (*Synchronizer) OnPropose ¶
func (s *Synchronizer) OnPropose()
OnPropose should be called when a replica has received a new valid proposal.
Click to show internal directories.
Click to hide internal directories.