mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
comments
This commit is contained in:
parent
92ada55e5a
commit
b0728260e9
@ -296,7 +296,7 @@ func (conR *ConsensusReactor) SetEventSwitch(evsw types.EventSwitch) {
|
||||
conR.conS.SetEventSwitch(evsw)
|
||||
}
|
||||
|
||||
// FastSync returns whether the consensus reactor is currently fast syncing
|
||||
// FastSync returns whether the consensus reactor is in fast-sync mode.
|
||||
func (conR *ConsensusReactor) FastSync() bool {
|
||||
conR.mtx.RLock()
|
||||
defer conR.mtx.RUnlock()
|
||||
|
@ -28,6 +28,8 @@ type P2P interface {
|
||||
}
|
||||
|
||||
//----------------------------------------------
|
||||
// These package level globals come with setters
|
||||
// that are expected to be called only once, on startup
|
||||
|
||||
var (
|
||||
// external, thread safe interfaces
|
||||
|
Loading…
x
Reference in New Issue
Block a user