cardano-node-1.36.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Tracing.StateRep

Synopsis

Documentation

data InitChainSelection Source #

Instances

Instances details
Generic InitChainSelection Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Associated Types

type Rep InitChainSelectionTypeType Source #

ToJSON InitChainSelection Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

toJSONInitChainSelection → Value #

toEncodingInitChainSelection → Encoding #

toJSONList ∷ [InitChainSelection] → Value #

toEncodingList ∷ [InitChainSelection] → Encoding #

FromJSON InitChainSelection Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

parseJSON ∷ Value → Parser InitChainSelection #

parseJSONList ∷ Value → Parser [InitChainSelection] #

type Rep InitChainSelection Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

type Rep InitChainSelection = D1 ('MetaData "InitChainSelection" "Cardano.Node.Tracing.StateRep" "cardano-node-1.36.0-inplace" 'False) (C1 ('MetaCons "InitChainStartedSelection" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "InitChainSelected" 'PrefixI 'False) (U1TypeType))

data NodeState Source #

The representation of the current state of node. All node states prior to tracing system going online are effectively invisible.

Instances

Instances details
Generic NodeState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Associated Types

type Rep NodeStateTypeType Source #

ToJSON NodeState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

toJSONNodeState → Value #

toEncodingNodeState → Encoding #

toJSONList ∷ [NodeState] → Value #

toEncodingList ∷ [NodeState] → Encoding #

FromJSON NodeState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

parseJSON ∷ Value → Parser NodeState #

parseJSONList ∷ Value → Parser [NodeState] #

LogFormatting NodeState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

forMachine ∷ DetailLevel → NodeState → Object

forHumanNodeStateText

asMetricsNodeState → [Metric]

type Rep NodeState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

data OpeningDbs Source #

Instances

Instances details
Generic OpeningDbs Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Associated Types

type Rep OpeningDbsTypeType Source #

ToJSON OpeningDbs Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

toJSONOpeningDbs → Value #

toEncodingOpeningDbs → Encoding #

toJSONList ∷ [OpeningDbs] → Value #

toEncodingList ∷ [OpeningDbs] → Encoding #

FromJSON OpeningDbs Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

parseJSON ∷ Value → Parser OpeningDbs #

parseJSONList ∷ Value → Parser [OpeningDbs] #

type Rep OpeningDbs Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

type Rep OpeningDbs = D1 ('MetaData "OpeningDbs" "Cardano.Node.Tracing.StateRep" "cardano-node-1.36.0-inplace" 'False) ((C1 ('MetaCons "StartedOpeningImmutableDB" 'PrefixI 'False) (U1TypeType) :+: (C1 ('MetaCons "OpenedImmutableDB" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WithOrigin SlotNo)) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChunkNo)) :+: C1 ('MetaCons "StartedOpeningVolatileDB" 'PrefixI 'False) (U1TypeType))) :+: (C1 ('MetaCons "OpenedVolatileDB" 'PrefixI 'False) (U1TypeType) :+: (C1 ('MetaCons "StartedOpeningLgrDB" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "OpenedLgrDB" 'PrefixI 'False) (U1TypeType))))

data Replays Source #

Constructors

ReplayFromGenesis (WithOrigin SlotNo) 
ReplayFromSnapshot SlotNo (WithOrigin SlotNo) (WithOrigin SlotNo) 
ReplayedBlock SlotNo (WithOrigin SlotNo) (WithOrigin SlotNo) 

Instances

Instances details
Generic Replays Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Associated Types

type Rep ReplaysTypeType Source #

Methods

fromReplaysRep Replays x Source #

toRep Replays x → Replays Source #

ToJSON Replays Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

toJSONReplays → Value #

toEncodingReplays → Encoding #

toJSONList ∷ [Replays] → Value #

toEncodingList ∷ [Replays] → Encoding #

FromJSON Replays Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

parseJSON ∷ Value → Parser Replays #

parseJSONList ∷ Value → Parser [Replays] #

type Rep Replays Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

data StartupState Source #

Instances

Instances details
Generic StartupState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Associated Types

type Rep StartupStateTypeType Source #

ToJSON StartupState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

toJSONStartupState → Value #

toEncodingStartupState → Encoding #

toJSONList ∷ [StartupState] → Value #

toEncodingList ∷ [StartupState] → Encoding #

FromJSON StartupState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

Methods

parseJSON ∷ Value → Parser StartupState #

parseJSONList ∷ Value → Parser [StartupState] #

type Rep StartupState Source # 
Instance details

Defined in Cardano.Node.Tracing.StateRep

type Rep StartupState = D1 ('MetaData "StartupState" "Cardano.Node.Tracing.StateRep" "cardano-node-1.36.0-inplace" 'False) ((C1 ('MetaCons "StartupSocketConfigError" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "StartupDBValidation" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "NetworkConfigUpdate" 'PrefixI 'False) (U1TypeType))) :+: ((C1 ('MetaCons "NetworkConfigUpdateError" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "P2PWarning" 'PrefixI 'False) (U1TypeType)) :+: (C1 ('MetaCons "P2PWarningDevelopementNetworkProtocols" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "WarningDevelopmentNetworkProtocols" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NodeToNodeVersion]) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NodeToClientVersion])))))

traceNodeStateChainDBSomeConsensusProtocol → Trace IO NodeState → TraceEvent blk → IO () Source #

Orphan instances

Generic NodeToClientVersion Source # 
Instance details

Associated Types

type Rep NodeToClientVersionTypeType Source #

Generic NodeToNodeVersion Source # 
Instance details

Associated Types

type Rep NodeToNodeVersion ∷ TypeType Source #

Methods

from ∷ NodeToNodeVersion → Rep NodeToNodeVersion x Source #

toRep NodeToNodeVersion x → NodeToNodeVersion Source #

ToJSON ChunkNo Source # 
Instance details

Methods

toJSON ∷ ChunkNo → Value #

toEncoding ∷ ChunkNo → Encoding #

toJSONList ∷ [ChunkNo] → Value #

toEncodingList ∷ [ChunkNo] → Encoding #

FromJSON NodeToClientVersion Source # 
Instance details

Methods

parseJSON ∷ Value → Parser NodeToClientVersion #

parseJSONList ∷ Value → Parser [NodeToClientVersion] #

FromJSON NodeToNodeVersion Source # 
Instance details

Methods

parseJSON ∷ Value → Parser NodeToNodeVersion #

parseJSONList ∷ Value → Parser [NodeToNodeVersion] #

FromJSON ChunkNo Source # 
Instance details

Methods

parseJSON ∷ Value → Parser ChunkNo #

parseJSONList ∷ Value → Parser [ChunkNo] #

ToJSON (WithOrigin SlotNo) Source # 
Instance details

Methods

toJSON ∷ WithOrigin SlotNo → Value #

toEncoding ∷ WithOrigin SlotNo → Encoding #

toJSONList ∷ [WithOrigin SlotNo] → Value #

toEncodingList ∷ [WithOrigin SlotNo] → Encoding #

FromJSON (WithOrigin SlotNo) Source # 
Instance details

Methods

parseJSON ∷ Value → Parser (WithOrigin SlotNo) #

parseJSONList ∷ Value → Parser [WithOrigin SlotNo] #