cardano-node-1.36.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Tracing.Peers

Synopsis

Documentation

newtype NodePeers Source #

This type contains an information about current peers of the node. It will be asked by external applications as a DataPoint.

Constructors

NodePeers [PeerInfoPP] 

Instances

Instances details
Generic NodePeers Source # 
Instance details

Defined in Cardano.Node.Tracing.Peers

Associated Types

type Rep NodePeersTypeType Source #

ToJSON NodePeers Source # 
Instance details

Defined in Cardano.Node.Tracing.Peers

Methods

toJSONNodePeers → Value #

toEncodingNodePeers → Encoding #

toJSONList ∷ [NodePeers] → Value #

toEncodingList ∷ [NodePeers] → Encoding #

FromJSON NodePeers Source # 
Instance details

Defined in Cardano.Node.Tracing.Peers

Methods

parseJSON ∷ Value → Parser NodePeers #

parseJSONList ∷ Value → Parser [NodePeers] #

type Rep NodePeers Source # 
Instance details

Defined in Cardano.Node.Tracing.Peers

traceNodePeers ∷ Trace IO NodePeers → [PeerT blk] → IO () Source #