fetch

package
v0.0.0-...-fc88c08 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package fetch implements a mechanism of fetching specific units with known hashes.

This protocol cannot be used for general syncing, because usually we don't know the hashes of units we would like to receive in advance. It is only useful as a fallback mechanism.

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.Fetch)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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