This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
comments
pull/579/head
Ethan Buchman
7 years ago
parent
92ada55e5a
commit
b0728260e9
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
consensus/reactor.go
+2
-0
rpc/core/pipe.go
+ 1
- 1
consensus/reactor.go
View File
@ -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
(
)
+ 2
- 0
rpc/core/pipe.go
View File
@ -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
Write
Preview
Loading…
Cancel
Save