peering

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0, BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CoreComponent *app.CoreComponent
)
View Source
var ParamsPeering = &ParametersPeering{}

Functions

func DefaultNetworkProvider

func DefaultNetworkProvider() peering_pkg.NetworkProvider

DefaultNetworkProvider returns the default network provider implementation.

func DefaultTrustedNetworkManager

func DefaultTrustedNetworkManager() peering_pkg.TrustedNetworkManager

Types

type ParametersPeering

type ParametersPeering struct {
	NetID string `default:"127.0.0.1:4000" usage:"node host address as it is recognized by other peers"`
	Port  int    `default:"4000" usage:"port for Wasp committee connection/peering"`
}

Jump to

Keyboard shortcuts

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