incoming

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunIncomingPeer

func RunIncomingPeer(ctx context.Context, params IncomingPeerParams) error

Types

type DuplicateChecker added in v0.8.1

type DuplicateChecker interface {
	Add([]byte) bool
}

type IncomingPeerParams

type IncomingPeerParams struct {
	WavesNetwork     string
	Conn             net.Conn
	Parent           peer.Parent
	DeclAddr         proto.TCPAddr
	Pool             bytespool.Pool
	Skip             conn.SkipFilter
	NodeName         string
	NodeNonce        uint64
	Version          proto.Version
	DuplicateChecker DuplicateChecker
}

Jump to

Keyboard shortcuts

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