gossip

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0, BSD-2-Clause Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const PluginName = "Gossip"

PluginName is the name of the gossip plugin.

Variables

View Source
var ErrMessageNotFound = errors.New("message not found")

ErrMessageNotFound is returned when a message could not be found in the Tangle.

View Source
var Parameters = &ParametersDefinition{}

Parameters contains the configuration parameters of the gossip plugin.

Functions

func Manager added in v0.2.0

func Manager() *gossip.Manager

Manager returns the manager instance of the gossip plugin.

func Plugin added in v0.2.0

func Plugin() *node.Plugin

Plugin gets the plugin instance.

Types

type ParametersDefinition added in v0.7.4

type ParametersDefinition struct {
	// NetworkVersion defines the config flag of the network version.
	Port int `default:"14666" usage:"tcp port for gossip connection"`
}

ParametersDefinition contains the definition of configuration parameters used by the gossip plugin.

Jump to

Keyboard shortcuts

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