p2pQuota

package
v1.0.69 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewP2pQuotaProcessor added in v1.0.66

func NewP2pQuotaProcessor(handler core.AppStatusHandler) (*p2pQuotaProcessor, error)

NewP2pQuotaProcessor creates a new p2pQuotaProcessor instance

Types

type BlacklistHandler

type BlacklistHandler interface {
	Add(key string) error
	IsInterfaceNil() bool
}

BlacklistHandler defines the behavior of a component that is able to add a blacklisted key (peer)

Jump to

Keyboard shortcuts

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