antiflood

package
v1.2.26-indexer1.1.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL