Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewP2PAntiflood ¶
func NewP2PAntiflood( blacklistHandler process.PeerBlackListCacher, topicFloodPreventer process.TopicFloodPreventer, floodPreventers ...process.FloodPreventer, ) (*p2pAntiflood, error)
NewP2PAntiflood creates a new p2p anti flood protection mechanism built on top of a flood preventer implementation. It contains only the p2p anti flood logic that should be applied
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.