Versions in this module Expand all Collapse all v3 v3.0.1 Dec 27, 2023 v3.0.0 Dec 23, 2022 Changes in this version + const DefaultRoundTimeout + const DefaultRoundTimeoutInterval + var RoundTimeout time.Duration + var RoundTimeoutInterval time.Duration + func GetEventTimeout(evtType TimerEventType, roundIndex int32) time.Duration + type TimerEvent struct + Duration time.Duration + Type maxbftpb.ConsStateType + View uint64 + func (t *TimerEvent) String() string + type TimerEventType int + const PROPOSAL_BLOCK_TIMEOUT + const ROUND_TIMEOUT + const VOTE_BLOCK_TIMEOUT + type TimerService struct + func NewTimerService(log protocol.Logger) *TimerService + func (ts *TimerService) AddEvent(event *TimerEvent) + func (ts *TimerService) GetFiredCh() <-chan *TimerEvent + func (ts *TimerService) GetMonitorEvent() *TimerEvent + func (ts *TimerService) Start() + func (ts *TimerService) Stop() Other modules containing this package chainmaker.org/chainmaker/consensus-utils/v2