Documentation ¶
Overview ¶
package manage 实现多种类型p2p兼容管理
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterP2PCreate ¶
RegisterP2PCreate register p2p create func
Types ¶
type Manager ¶
type Manager struct { SysAPI client.QueueProtocolAPI Client queue.Client ChainCfg *types.Chain33Config PubSub *pubsub.PubSub // contains filtered or unexported fields }
Manager p2p manager
func (*Manager) PubBroadCast ¶
PubBroadCast 兼容多种类型p2p广播消息, 避免重复接交易或者区块
func (*Manager) SetQueueClient ¶
SetQueueClient set the queue
Click to show internal directories.
Click to hide internal directories.