mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
more fixes from review
This commit is contained in:
parent
c90985d309
commit
f30a9752e2
@ -672,7 +672,7 @@ OUTER_LOOP:
|
|||||||
|
|
||||||
func (conR *ConsensusReactor) String() string {
|
func (conR *ConsensusReactor) String() string {
|
||||||
// better not to access shared variables
|
// better not to access shared variables
|
||||||
return Fmt("ConsensusReactor") // conR.StringIndented("")
|
return "ConsensusReactor" // conR.StringIndented("")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (conR *ConsensusReactor) StringIndented(indent string) string {
|
func (conR *ConsensusReactor) StringIndented(indent string) string {
|
||||||
|
@ -189,8 +189,7 @@ func (rs *RoundState) StringShort() string {
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
var (
|
var (
|
||||||
msgQueueSize = 1000
|
msgQueueSize = 1000
|
||||||
tickTockBufferSize = 10
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// msgs from the reactor which may update the state
|
// msgs from the reactor which may update the state
|
||||||
|
@ -6,6 +6,10 @@ import (
|
|||||||
. "github.com/tendermint/go-common"
|
. "github.com/tendermint/go-common"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
tickTockBufferSize = 10
|
||||||
|
)
|
||||||
|
|
||||||
type TimeoutTicker interface {
|
type TimeoutTicker interface {
|
||||||
Start() (bool, error)
|
Start() (bool, error)
|
||||||
Stop() bool
|
Stop() bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user