The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/consensus/debug.go

21 lines
430 B

package consensus
// GetConsensusPhase ..
func (c *Consensus) GetConsensusPhase() string {
return c.phase.String()
}
// GetConsensusMode ..
func (c *Consensus) GetConsensusMode() string {
return c.current.mode.String()
}
// GetCurViewID ..
func (c *Consensus) GetCurViewID() uint64 {
return c.current.GetCurViewID()
}
// GetViewID ..
func (c *Consensus) GetViewChangingID() uint64 {
return c.current.GetViewChangingID()
}