cardano-node-1.30.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Tracing.Peer

Synopsis

Documentation

data Peer blk Source #

Constructors

Peer !RemoteConnectionId !(AnchoredFragment (Header blk)) !(PeerFetchStatus (Header blk)) !(PeerFetchInFlight (Header blk)) 

Instances

Instances details
Generic (Peer blk) Source # 
Instance details

Defined in Cardano.Tracing.Peer

Associated Types

type Rep (Peer blk) ∷ TypeType Source #

Methods

fromPeer blk → Rep (Peer blk) x Source #

toRep (Peer blk) x → Peer blk Source #

NFData (Peer blk) Source # 
Instance details

Defined in Cardano.Tracing.Peer

Methods

rnfPeer blk → () Source #

ToObject [Peer blk] Source #

Instances for converting [Peer blk] to Object.

Instance details

Defined in Cardano.Tracing.Peer

Methods

toObjectTracingVerbosity → [Peer blk] → Object #

textTransformer ∷ [Peer blk] → Object → Text #

ToObject (Peer blk) Source # 
Instance details

Defined in Cardano.Tracing.Peer

Methods

toObjectTracingVerbosityPeer blk → Object #

textTransformerPeer blk → Object → Text #

NoThunks (Peer blk) Source # 
Instance details

Defined in Cardano.Tracing.Peer

Methods

noThunks ∷ Context → Peer blk → IO (Maybe ThunkInfo)

wNoThunks ∷ Context → Peer blk → IO (Maybe ThunkInfo)

showTypeOfProxy (Peer blk) → String

type Rep (Peer blk) Source # 
Instance details

Defined in Cardano.Tracing.Peer

type Rep (Peer blk) = D1 ('MetaData "Peer" "Cardano.Tracing.Peer" "cardano-node-1.30.0-inplace" 'False) (C1 ('MetaCons "Peer" 'PrefixI 'False) ((S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RemoteConnectionId) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (AnchoredFragment (Header blk)))) :*: (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PeerFetchStatus (Header blk))) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PeerFetchInFlight (Header blk))))))

ppPeerPeer blk → Text Source #

tracePeersTrace IO Text → [Peer blk] → IO () Source #

Trace peers list, it will be forwarded to an external process (for example, to RTView service).