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 + type CachedMsgTransmitter struct + func NewMsgCacheHandler(cachedForest forest.Forester, proposalHandler Handler, ...) *CachedMsgTransmitter + func (h *CachedMsgTransmitter) AddEventFn() forest.AddedEventFunc + func (h *CachedMsgTransmitter) FinalEventFn() forest.FinalEventFunc + func (h *CachedMsgTransmitter) FinalView() uint64 + func (h *CachedMsgTransmitter) HandleProposal(proposal *PendingProposal) error + func (h *CachedMsgTransmitter) SetForest(fork forest.Forester) + func (h *CachedMsgTransmitter) Start() + func (h *CachedMsgTransmitter) Stop() error + type ForestNodes struct + func NewForestNodes() *ForestNodes + func (ns *ForestNodes) AddNode(node *forest.CachedForestNode) + func (ns *ForestNodes) AllNodes() map[string]*forest.CachedForestNode + func (ns *ForestNodes) DelNode(key string) + func (ns *ForestNodes) GetNode(key string) *forest.CachedForestNode + func (ns *ForestNodes) GetNodesByParentKey(parentKey string) []*forest.CachedForestNode + func (ns ForestNodes) ExistNode(key string) bool + type Handler interface + HandleProposal func(*PendingProposal) + type MissingProposal struct + BlockHeight uint64 + BlockId string + View uint64 + func NewMissingProposal(height, view uint64, hash string) *MissingProposal + type MsgTransmitter interface + HandleProposal func(proposal *PendingProposal) error + SetForest func(forester forest.Forester) + Start func() + Stop func() error + type PendingProposal struct + FromOtherNodes bool + Proposal *maxbft.ProposalData + Qc *maxbft.QuorumCert + Sender string Other modules containing this package chainmaker.org/chainmaker/consensus-maxbft/v2