fast sync status

This commit is contained in:
ramil
2017-07-17 09:44:23 +03:00
parent 05c0dfac12
commit 6f8d385dfa
5 changed files with 14 additions and 15 deletions

View File

@ -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,