outgoing

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EstablishConnection

func EstablishConnection(ctx context.Context, params EstablishParams, v proto.Version) error

Types

type DuplicateChecker added in v0.8.1

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

type EstablishParams

type EstablishParams struct {
	Address          proto.TCPAddr
	WavesNetwork     string
	Parent           peer.Parent
	DeclAddr         proto.TCPAddr
	Skip             conn.SkipFilter
	NodeName         string
	NodeNonce        uint64
	DuplicateChecker DuplicateChecker
}

Jump to

Keyboard shortcuts

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