gossip

package
v0.0.0-...-dfb9311 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package gossip implements a protocol for synchronizing dags through gossiping.

This protocol should always succeed with adding units received from honest peers, so it needs no fallback.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(conf config.Config, orderer gomel.Orderer, netserv network.Server, log zerolog.Logger) (core.Service, sync.Gossip)

NewServer runs a pool of nOut workers for the outgoing part and nIn for the incoming part of the gossip protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

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