ouroboros-network-0.1.0.1: A networking layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Network.PeerSelection.PeerMetric.Type

Synopsis

Documentation

type HeaderMetricsTracer m = Tracer ( STM m) ( SlotNo , Time ) Source #

Report arrival time of a header for a given slot.

type FetchedMetricsTracer m = Tracer ( STM m) ( SizeInBytes , SlotNo , Time ) Source #

Report block arrival of given size for some slot at a given time.

data TraceLabelPeer peerid a Source #

A peer label for use in Tracer s. This annotates tracer output as being associated with a given peer identifier.

Constructors

TraceLabelPeer peerid a