blackList

package
v1.0.108 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewP2PBlackListProcessor

func NewP2PBlackListProcessor(
	cacher storage.Cacher,
	blacklistHandler process.BlackListHandler,
	thresholdNumReceivedFlood uint32,
	thresholdSizeReceivedFlood uint64,
	numFloodingRounds uint32,
) (*p2pBlackListProcessor, error)

NewP2PBlackListProcessor creates a new instance of p2pQuotaBlacklistProcessor able to determine a flooding peer and mark it accordingly

Types

This section is empty.

Jump to

Keyboard shortcuts

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