gossip

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: Apache-2.0, BSD-2-Clause Imports: 25 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// CfgGossipPort defines the config flag of the gossip port.
	CfgGossipPort = "gossip.port"
	// CfgGossipAgeThreshold defines the maximum age (time since reception) of a message to be gossiped.
	CfgGossipAgeThreshold = "gossip.ageThreshold"
	// CfgGossipTipsBroadcastInterval the interval in which the oldest known tip is re-broadcast.
	CfgGossipTipsBroadcastInterval = "gossip.tipsBroadcaster.interval"
)
View Source
const PluginName = "Gossip"

PluginName is the name of the gossip plugin.

Variables

View Source
var (
	// ErrMessageNotFound is returned when a message could not be found in the Tangle.
	ErrMessageNotFound = errors.New("message not found")
)

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

This section is empty.

Jump to

Keyboard shortcuts

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