Versions in this module Expand all Collapse all v1 v1.1.4 May 17, 2019 Changes in this version + var ErrCDCOrSignHelperisNil = errors.New("cdc or signHelper is nil") + var ErrLeaderResultIsNil = errors.New("leader共识结果为nil") + var ErrMsgAccountIsNull = errors.New("不合法的账户:空账户") + var ErrMsgExistInCache = errors.New("缓存中已存在消息") + var ErrNoMsgInCache = errors.New("缓存中没有目标消息") + var ErrPOSResultIsNil = errors.New("POS结果为nil/header为nil") + var ErrParamsIsNil = errors.New("参数为nil") + var ErrSelfReqIsNil = errors.New("缓存中没有self请求") + var ErrValidatorNotFound = errors.New("验证者未找到") + var ErrValidatorsIsNil = errors.New("验证者列表为空") + type ControllerManager struct + func NewControllerManager(matrix Matrix, logInfo string) *ControllerManager + func (cm *ControllerManager) ReceiveMsg(number uint64, msg interface{}) error + func (cm *ControllerManager) ReceiveMsgByCur(msg interface{}) + func (cm *ControllerManager) StartController(number uint64, superBlkSeq uint64, msg *startControllerMsg) + type LeaderIdentity struct + func NewLeaderIdentityService(matrix Matrix, extraInfo string) (*LeaderIdentity, error) + type Matrix interface + BlockChain func() *core.BlockChain + DPOSEngine func() consensus.DPOSEngine + Engine func() consensus.Engine + FetcherNotify func(hash common.Hash, number uint64, addr common.Address) + HD func() *msgsend.HD + SignHelper func() *signhelper.SignHelper + type StateReader interface