incoming

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunIncomingPeer

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

Types

type DuplicateChecker added in v0.8.1

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

type PeerParams added in v0.10.0

type PeerParams struct {
	WavesNetwork     string
	Conn             net.Conn
	Parent           peer.Parent
	DeclAddr         proto.TCPAddr
	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