salud

package
v0.0.0-...-eb12069 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package salud monitors the connected peers, calculates certain thresholds, and marks peers as unhealthy that fall short of the thresholds to maintain network salud (health).

Index

Constants

View Source
const (
	DefaultMinPeersPerBin = 3
)

Variables

This section is empty.

Functions

func New

func New(
	status peerStatus,
	topology topologyDriver,
	reserve reserve,
	logger log.Logger,
	warmup time.Duration,
	mode string,
	minPeersPerbin int,
) *service

Types

This section is empty.

Jump to

Keyboard shortcuts

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