mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-05 23:57:04 +00:00
fast sync status
This commit is contained in:
@@ -290,6 +290,11 @@ func (conR *ConsensusReactor) SetEventSwitch(evsw types.EventSwitch) {
|
||||
conR.conS.SetEventSwitch(evsw)
|
||||
}
|
||||
|
||||
// FastSync returns whether the consensus reactor is currently fast syncing
|
||||
func (conR *ConsensusReactor) FastSync() bool {
|
||||
return conR.fastSync
|
||||
}
|
||||
|
||||
//--------------------------------------
|
||||
|
||||
// Listens for new steps and votes,
|
||||
|
||||
Reference in New Issue
Block a user