gossip

package
v0.0.0-...-76c1feb Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package gossip adapts the interface of network.GossipNode to agreement.Network.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTrace

func SetTrace(net agreement.Network, trace messagetracer.MessageTracer)

SetTrace modifies the result of WrapNetwork to add network propagation tracing

func WrapNetwork

func WrapNetwork(net network.GossipNode, log logging.Logger) agreement.Network

WrapNetwork adapts a network.GossipNode into an agreement.Network.

Types

This section is empty.

Jump to

Keyboard shortcuts

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