Versions in this module Expand all Collapse all v1 v1.1.0 Nov 15, 2018 v1.0.0 Nov 15, 2018 Changes in this version + type BlockVerify struct + func NewBlockVerify(matrix Matrix) (*BlockVerify, error) + func (self *BlockVerify) Close() + type Matrix interface + BlockChain func() *core.BlockChain + EventMux func() *event.TypeMux + HD func() *hd.HD + ReElection func() *reelection.ReElection + SignHelper func() *signhelper.SignHelper + TopNode func() *topnode.TopNodeService + TxPool func() *core.TxPool + type Process struct + func (p *Process) AddLocalReq(localReq *mc.LocalBlockVerifyConsensusReq) + func (p *Process) AddReq(reqMsg *mc.HD_BlkConsensusReqMsg) + func (p *Process) Close() + func (p *Process) ProcessDPOSOnce() + func (p *Process) ProcessRecoveryMsg(msg *mc.RecoveryStateMsg) + func (p *Process) ProcessTxsAcquireTimeOut(seq int) + func (p *Process) SetLeaderInfo(info *mc.LeaderChangeNotify) + func (p *Process) StartRunning(role common.RoleType) + func (p *Process) VerifyTxs(result *core.RetChan) + type ProcessManage struct + func NewProcessManage(matrix Matrix) *ProcessManage + func (pm *ProcessManage) AddVoteToPool(signHash common.Hash, sign common.Signature, fromAccount common.Address, ...) error + func (pm *ProcessManage) GetCurrentProcess() *Process + func (pm *ProcessManage) GetProcess(number uint64) (*Process, error) + func (pm *ProcessManage) SetCurNumber(number uint64) + type State uint16 + const StateDPOSVerify + const StateEnd + const StateIdle + const StateReqVerify + const StateStart + const StateTxsVerify + func (s State) String() string