Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data AddedToCurrentChain = AddedToCurrentChain !EpochNo !SlotNo !SyncPercentage
- data InitChainSelection
- data NodeState
- data OpeningDbs
- data Replays
- data StartupState
- traceNodeStateChainDB :: SomeConsensusProtocol -> Trace IO NodeState -> TraceEvent blk -> IO ()
- traceNodeStateStartup :: Trace IO NodeState -> StartupTrace blk -> IO ()
- traceNodeStateShutdown :: Trace IO NodeState -> ShutdownTrace -> IO ()
Documentation
data AddedToCurrentChain Source #
AddedToCurrentChain !EpochNo !SlotNo !SyncPercentage |
Instances
FromJSON AddedToCurrentChain Source # | |
Defined in Cardano.Node.Tracing.StateRep | |
ToJSON AddedToCurrentChain Source # | |
Defined in Cardano.Node.Tracing.StateRep toJSON :: AddedToCurrentChain -> Value # toEncoding :: AddedToCurrentChain -> Encoding # toJSONList :: [AddedToCurrentChain] -> Value # toEncodingList :: [AddedToCurrentChain] -> Encoding # omitField :: AddedToCurrentChain -> Bool # | |
Generic AddedToCurrentChain Source # | |
Defined in Cardano.Node.Tracing.StateRep from :: AddedToCurrentChain -> Rep AddedToCurrentChain x Source # to :: Rep AddedToCurrentChain x -> AddedToCurrentChain Source # | |
NFData AddedToCurrentChain Source # | |
Defined in Cardano.Node.Tracing.StateRep rnf :: AddedToCurrentChain -> () Source # | |
type Rep AddedToCurrentChain Source # | |
Defined in Cardano.Node.Tracing.StateRep |
data InitChainSelection Source #
Instances
FromJSON InitChainSelection Source # | |
Defined in Cardano.Node.Tracing.StateRep | |
ToJSON InitChainSelection Source # | |
Defined in Cardano.Node.Tracing.StateRep toJSON :: InitChainSelection -> Value # toEncoding :: InitChainSelection -> Encoding # toJSONList :: [InitChainSelection] -> Value # toEncodingList :: [InitChainSelection] -> Encoding # omitField :: InitChainSelection -> Bool # | |
Generic InitChainSelection Source # | |
Defined in Cardano.Node.Tracing.StateRep from :: InitChainSelection -> Rep InitChainSelection x Source # to :: Rep InitChainSelection x -> InitChainSelection Source # | |
NFData InitChainSelection Source # | |
Defined in Cardano.Node.Tracing.StateRep rnf :: InitChainSelection -> () Source # | |
type Rep InitChainSelection Source # | |
Defined in Cardano.Node.Tracing.StateRep |
The representation of the current state of node. All node states prior to tracing system going online are effectively invisible.
Instances
data OpeningDbs Source #
StartedOpeningImmutableDB | |
OpenedImmutableDB (WithOrigin SlotNo) ChunkNo | |
StartedOpeningVolatileDB | |
OpenedVolatileDB | |
StartedOpeningLgrDB | |
OpenedLgrDB |
Instances
ReplayFromGenesis (WithOrigin SlotNo) | |
ReplayFromSnapshot SlotNo (WithOrigin SlotNo) (WithOrigin SlotNo) | |
ReplayedBlock SlotNo (WithOrigin SlotNo) (WithOrigin SlotNo) |
Instances
data StartupState Source #
Instances
traceNodeStateChainDB :: SomeConsensusProtocol -> Trace IO NodeState -> TraceEvent blk -> IO () Source #
traceNodeStateStartup :: Trace IO NodeState -> StartupTrace blk -> IO () Source #
traceNodeStateShutdown :: Trace IO NodeState -> ShutdownTrace -> IO () Source #