From e399f91a9d178141d963e2ec0d7f571652533e35 Mon Sep 17 00:00:00 2001 From: Yupanqui Date: Wed, 15 Jun 2022 11:22:39 +0200 Subject: [PATCH 1/8] new tracing: restructure the namespace --- .../src/Cardano/Node/Tracing/Documentation.hs | 149 +- .../src/Cardano/Node/Tracing/Tracers.hs | 116 +- .../Tracing/Tracers/BlockReplayProgress.hs | 7 +- .../Cardano/Node/Tracing/Tracers/ChainDB.hs | 40 +- .../Cardano/Node/Tracing/Tracers/Consensus.hs | 198 +- .../Cardano/Node/Tracing/Tracers/Diffusion.hs | 2 +- .../Tracing/Tracers/ForgingThreadStats.hs | 30 +- .../Node/Tracing/Tracers/NodeToClient.hs | 100 +- .../Node/Tracing/Tracers/NodeToNode.hs | 197 +- .../Cardano/Node/Tracing/Tracers/NonP2P.hs | 8 +- .../src/Cardano/Node/Tracing/Tracers/P2P.hs | 183 +- .../src/Cardano/Node/Tracing/Tracers/Peer.hs | 6 +- .../Cardano/Node/Tracing/Tracers/Shutdown.hs | 20 +- .../Cardano/Node/Tracing/Tracers/Startup.hs | 24 +- doc/new-tracing/tracers_doc_generated.md | 5959 ++++++----------- .../bench/trace-dispatcher-bench.hs | 10 +- trace-dispatcher/doc/trace-dispatcher.md | 4 +- .../src/Cardano/Logging/DocuGenerator.hs | 70 +- trace-dispatcher/src/Cardano/Logging/Trace.hs | 11 + .../src/Cardano/Logging/Tracer/Composed.hs | 6 +- .../test/Cardano/Logging/Test/Script.hs | 8 +- .../src/Cardano/Logging/Resources/Types.hs | 34 +- 22 files changed, 2685 insertions(+), 4497 deletions(-) diff --git a/cardano-node/src/Cardano/Node/Tracing/Documentation.hs b/cardano-node/src/Cardano/Node/Tracing/Documentation.hs index 0b01f3e6b39..e470d868e9e 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Documentation.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Documentation.hs @@ -29,6 +29,7 @@ import Cardano.Logging.Resources.Types import Cardano.Prelude hiding (trace) import Cardano.Node.Tracing.Formatting () +import qualified Cardano.Node.Tracing.StateRep as SR import Cardano.Node.Tracing.Tracers.BlockReplayProgress import Cardano.Node.Tracing.Tracers.ChainDB import Cardano.Node.Tracing.Tracers.Consensus @@ -47,6 +48,7 @@ import Cardano.Node.Handlers.Shutdown (ShutdownTrace) import Cardano.Node.Startup import Cardano.Node.TraceConstraints + import Ouroboros.Consensus.Block.Forging import Ouroboros.Consensus.BlockchainTime.WallClock.Types (RelativeTime) import Ouroboros.Consensus.BlockchainTime.WallClock.Util (TraceBlockchainTimeEvent (..)) @@ -69,6 +71,7 @@ import qualified Ouroboros.Consensus.Node.Tracers as Consensus import qualified Ouroboros.Consensus.Protocol.Ledger.HotKey as HotKey import qualified Ouroboros.Consensus.Storage.ChainDB as ChainDB + import Ouroboros.Network.Block (Point (..), SlotNo, Tip) import qualified Ouroboros.Network.BlockFetch.ClientState as BlockFetch import Ouroboros.Network.BlockFetch.Decision @@ -193,10 +196,33 @@ docTracers configFileName outputFileName _ _ _ = do nodeInfoTrDoc <- documentTracer trConfig nodeInfoTr (docNodeInfoTraceEvent :: Documented NodeInfo) + -- State tracer + stateTr <- mkCardanoTracer + trBase trForward mbTrEKG + ["NodeState"] + SR.namesNodeState + SR.severityNodeState + allPublic + configureTracers trConfig SR.docNodeState [stateTr] + stateTrDoc <- documentTracer trConfig stateTr + (SR.docNodeState :: Documented SR.NodeState) + +-- Peers tracer + + peersTr <- mkCardanoTracer + trBase trForward mbTrEKG + ["Net", "Peers", "List"] + namesForPeers + severityPeers + allPublic + configureTracers trConfig docPeers [peersTr] + peersTrDoc <- documentTracer trConfig peersTr + (docPeers :: Documented [PeerT blk]) + -- Resource tracer resourcesTr <- mkCardanoTracer trBase trForward mbTrEKG - "Resources" + ["Resources"] (const []) (const Info) allPublic @@ -207,7 +233,7 @@ docTracers configFileName outputFileName _ _ _ = do -- Startup tracer startupTr <- mkCardanoTracer trBase trForward mbTrEKG - "Startup" + ["Startup"] namesStartupInfo (const Notice) allPublic @@ -217,7 +243,7 @@ docTracers configFileName outputFileName _ _ _ = do shutdownTr <- mkCardanoTracer trBase trForward mbTrEKG - "Shutdown" + ["Shutdown"] namesForShutdown severityShutdown allPublic @@ -225,22 +251,12 @@ docTracers configFileName outputFileName _ _ _ = do shutdownTrDoc <- documentTracer trConfig shutdownTr (docShutdown :: Documented ShutdownTrace) --- Peers tracer - peersTr <- mkCardanoTracer - trBase trForward mbTrEKG - "Peers" - namesForPeers - severityPeers - allPublic - configureTracers trConfig docPeers [peersTr] - peersTrDoc <- documentTracer trConfig peersTr - (docPeers :: Documented [PeerT blk]) chainDBTr <- mkCardanoTracer' trBase trForward mbTrEKG - "ChainDB" + ["ChainDB"] namesForChainDBTraceEvents severityChainDB allPublic @@ -251,7 +267,7 @@ docTracers configFileName outputFileName _ _ _ = do replayBlockTr <- mkCardanoTracer trBase trForward mbTrEKG - "ReplayBlock" + ["ChainDB", "ReplayBlock"] namesForReplayBlockStats severityReplayBlockStats allPublic @@ -263,7 +279,7 @@ docTracers configFileName outputFileName _ _ _ = do chainSyncClientTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncClient" + ["ChainSync", "ClientEvent"] namesForChainSyncClientEvent severityChainSyncClientEvent allPublic @@ -275,7 +291,7 @@ docTracers configFileName outputFileName _ _ _ = do chainSyncServerHeaderTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncServerHeader" + ["ChainSync", "ServerHeader"] namesForChainSyncServerEvent severityChainSyncServerEvent allPublic @@ -285,7 +301,7 @@ docTracers configFileName outputFileName _ _ _ = do chainSyncServerBlockTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncServerBlock" + ["ChainSync", "ServerBlock"] namesForChainSyncServerEvent severityChainSyncServerEvent allPublic @@ -295,7 +311,7 @@ docTracers configFileName outputFileName _ _ _ = do blockFetchDecisionTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetchDecision" + ["BlockFetch", "Decision"] namesForBlockFetchDecision severityBlockFetchDecision allConfidential @@ -307,7 +323,7 @@ docTracers configFileName outputFileName _ _ _ = do blockFetchClientTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetchClient" + ["BlockFetch", "ClientEvent"] namesForBlockFetchClient severityBlockFetchClient allPublic @@ -319,7 +335,7 @@ docTracers configFileName outputFileName _ _ _ = do blockFetchServerTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetchServer" + ["BlockFetch", "ServerBlock"] namesForBlockFetchServer severityBlockFetchServer allPublic @@ -329,7 +345,7 @@ docTracers configFileName outputFileName _ _ _ = do forgeKESInfoTr <- mkCardanoTracer trBase trForward mbTrEKG - "ForgeStateInfo" + ["Forge", "KESInfo"] namesForKESInfo severityKESInfo allPublic @@ -339,7 +355,7 @@ docTracers configFileName outputFileName _ _ _ = do txInboundTr <- mkCardanoTracer trBase trForward mbTrEKG - "TxInbound" + ["TxSubmission", "TxInbound"] namesForTxInbound severityTxInbound allPublic @@ -351,7 +367,7 @@ docTracers configFileName outputFileName _ _ _ = do txOutboundTr <- mkCardanoTracer trBase trForward mbTrEKG - "TxOutbound" + ["TxSubmission", "TxOutbound"] namesForTxOutbound severityTxOutbound allPublic @@ -363,7 +379,7 @@ docTracers configFileName outputFileName _ _ _ = do localTxSubmissionServerTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalTxSubmissionServer" + ["TxSubmission", "LocalServer"] namesForLocalTxSubmissionServer severityLocalTxSubmissionServer allPublic @@ -374,7 +390,7 @@ docTracers configFileName outputFileName _ _ _ = do mempoolTr <- mkCardanoTracer trBase trForward mbTrEKG - "Mempool" + ["Mempool"] namesForMempool severityMempool allPublic @@ -384,7 +400,7 @@ docTracers configFileName outputFileName _ _ _ = do forgeTr <- mkCardanoTracer trBase trForward mbTrEKG - "Forge" + ["Forge", "StateInfo"] namesForForge severityForge allPublic @@ -393,7 +409,7 @@ docTracers configFileName outputFileName _ _ _ = do forgeThreadStatsTr <- mkCardanoTracer' trBase trForward mbTrEKG - "ForgeStats" + ["Forge", "Stats"] namesForForge severityForge allPublic @@ -413,7 +429,7 @@ docTracers configFileName outputFileName _ _ _ = do blockchainTimeTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockchainTime" + ["BlockchainTime"] namesForBlockchainTime severityBlockchainTime allPublic @@ -425,7 +441,7 @@ docTracers configFileName outputFileName _ _ _ = do keepAliveClientTr <- mkCardanoTracer trBase trForward mbTrEKG - "KeepAliveClient" + ["Net", "KeepAliveClient"] namesForKeepAliveClient severityKeepAliveClient allPublic @@ -435,7 +451,7 @@ docTracers configFileName outputFileName _ _ _ = do chainSyncTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSync" + ["ChainSync", "Local"] namesForTChainSync severityTChainSync allPublic @@ -448,7 +464,7 @@ docTracers configFileName outputFileName _ _ _ = do txMonitorTr <- mkCardanoTracer trBase trForward mbTrEKG - "TxMonitorClient" + ["TxSubmission", "MonitorClient"] namesForTTxMonitor severityTTxMonitor allPublic @@ -463,7 +479,7 @@ docTracers configFileName outputFileName _ _ _ = do txSubmissionTr <- mkCardanoTracer trBase trForward mbTrEKG - "TxSubmissionClient" + ["TxSubmission", "Local"] namesForTTxSubmission severityTTxSubmission allPublic @@ -479,7 +495,7 @@ docTracers configFileName outputFileName _ _ _ = do stateQueryTr <- mkCardanoTracer trBase trForward mbTrEKG - "StateQueryClient" + ["StateQueryServer"] namesForTStateQuery severityTStateQuery allPublic @@ -494,7 +510,7 @@ docTracers configFileName outputFileName _ _ _ = do chainSyncNodeTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncNode" + ["ChainSync", "Remote"] namesForTChainSyncNode severityTChainSyncNode allPublic @@ -505,7 +521,7 @@ docTracers configFileName outputFileName _ _ _ = do chainSyncSerialisedTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncSerialised" + ["ChainSync", "Remote", "Serialised"] namesForTChainSyncSerialised severityTChainSyncSerialised allPublic @@ -516,7 +532,7 @@ docTracers configFileName outputFileName _ _ _ = do blockFetchTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetch" + ["BlockFetch", "Remote"] namesForTBlockFetch severityTBlockFetch allPublic @@ -529,7 +545,7 @@ docTracers configFileName outputFileName _ _ _ = do blockFetchSerialisedTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetchSerialised" + ["BlockFetch", "Remote", "Serialised"] namesForTBlockFetchSerialised severityTBlockFetchSerialised allPublic @@ -542,7 +558,7 @@ docTracers configFileName outputFileName _ _ _ = do txSubmission2Tr <- mkCardanoTracer trBase trForward mbTrEKG - "TxSubmission2" + ["TxSubmission", "Remote"] namesForTxSubmission2Node severityTxSubmission2Node allPublic @@ -556,7 +572,7 @@ docTracers configFileName outputFileName _ _ _ = do -- Diffusion dtMuxTr <- mkCardanoTracer trBase trForward mbTrEKG - "Mux" + ["Net", "Mux", "Remote"] namesForMux severityMux allPublic @@ -566,7 +582,7 @@ docTracers configFileName outputFileName _ _ _ = do dtLocalMuxTr <- mkCardanoTracer trBase trForward mbTrEKG - "MuxLocal" + ["Net", "Mux", "Local"] namesForMux severityMux allPublic @@ -576,7 +592,7 @@ docTracers configFileName outputFileName _ _ _ = do dtHandshakeTr <- mkCardanoTracer trBase trForward mbTrEKG - "Handshake" + ["Net", "Handshake", "Remote"] namesForHandshake severityHandshake allPublic @@ -587,7 +603,7 @@ docTracers configFileName outputFileName _ _ _ = do dtLocalHandshakeTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalHandshake" + ["Net", "Handshake", "Local"] namesForLocalHandshake severityLocalHandshake allPublic @@ -598,7 +614,7 @@ docTracers configFileName outputFileName _ _ _ = do dtDiffusionInitializationTr <- mkCardanoTracer trBase trForward mbTrEKG - "DiffusionInit" + ["Startup", "DiffusionInit"] namesForDiffusionInit severityDiffusionInit allPublic @@ -609,7 +625,7 @@ docTracers configFileName outputFileName _ _ _ = do dtLedgerPeersTr <- mkCardanoTracer trBase trForward mbTrEKG - "LedgerPeers" + ["Net", "Peers", "Ledger"] namesForLedgerPeers severityLedgerPeers allPublic @@ -621,7 +637,7 @@ docTracers configFileName outputFileName _ _ _ = do localRootPeersTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalRootPeers" + ["Net", "Peers", "LocalRoot"] namesForLocalRootPeers severityLocalRootPeers allPublic @@ -631,7 +647,7 @@ docTracers configFileName outputFileName _ _ _ = do publicRootPeersTr <- mkCardanoTracer trBase trForward mbTrEKG - "PublicRootPeers" + ["Net", "Peers", "PublicRoot"] namesForPublicRootPeers severityPublicRootPeers allPublic @@ -641,7 +657,7 @@ docTracers configFileName outputFileName _ _ _ = do peerSelectionTr <- mkCardanoTracer trBase trForward mbTrEKG - "PeerSelection" + ["Net", "PeerSelection", "Selection"] namesForPeerSelection severityPeerSelection allPublic @@ -651,7 +667,7 @@ docTracers configFileName outputFileName _ _ _ = do debugPeerSelectionTr <- mkCardanoTracer trBase trForward mbTrEKG - "DebugPeerSelection" + ["Net", "PeerSelection", "Initiator"] namesForDebugPeerSelection severityDebugPeerSelection allPublic @@ -661,7 +677,7 @@ docTracers configFileName outputFileName _ _ _ = do debugPeerSelectionResponderTr <- mkCardanoTracer trBase trForward mbTrEKG - "DebugPeerSelectionResponder" + ["Net", "PeerSelection", "Responder"] namesForDebugPeerSelection severityDebugPeerSelection allPublic @@ -671,7 +687,7 @@ docTracers configFileName outputFileName _ _ _ = do peerSelectionCountersTr <- mkCardanoTracer trBase trForward mbTrEKG - "PeerSelectionCounters" + ["Net", "PeerSelection", "Counters"] namesForPeerSelectionCounters severityPeerSelectionCounters allPublic @@ -681,7 +697,7 @@ docTracers configFileName outputFileName _ _ _ = do peerSelectionActionsTr <- mkCardanoTracer trBase trForward mbTrEKG - "PeerSelectionActions" + ["Net", "PeerSelection", "Actions"] namesForPeerSelectionActions severityPeerSelectionActions allPublic @@ -692,7 +708,7 @@ docTracers configFileName outputFileName _ _ _ = do connectionManagerTr <- mkCardanoTracer trBase trForward mbTrEKG - "ConnectionManager" + ["Net", "ConnectionManager", "Remote"] namesForConnectionManager severityConnectionManager allPublic @@ -705,7 +721,7 @@ docTracers configFileName outputFileName _ _ _ = do connectionManagerTransitionsTr <- mkCardanoTracer trBase trForward mbTrEKG - "ConnectionManagerTransition" + ["Net", "ConnectionManager", "Remote", "Transition"] (namesForConnectionManagerTransition @RemoteAddress) severityConnectionManagerTransition allPublic @@ -717,7 +733,7 @@ docTracers configFileName outputFileName _ _ _ = do serverTr <- mkCardanoTracer trBase trForward mbTrEKG - "Server" + ["Net", "Server", "Remote"] namesForServer severityServer allPublic @@ -727,7 +743,7 @@ docTracers configFileName outputFileName _ _ _ = do inboundGovernorTr <- mkCardanoTracer trBase trForward mbTrEKG - "InboundGovernor" + ["Net", "InboundGovernor", "Remote"] namesForInboundGovernor severityInboundGovernor allPublic @@ -737,7 +753,7 @@ docTracers configFileName outputFileName _ _ _ = do inboundGovernorTransitionsTr <- mkCardanoTracer trBase trForward mbTrEKG - "InboundGovernorTransition" + ["Net", "InboundGovernor", "Remote", "Transition"] namesForInboundGovernorTransition severityInboundGovernorTransition allPublic @@ -749,7 +765,7 @@ docTracers configFileName outputFileName _ _ _ = do localConnectionManagerTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalConnectionManager" + ["Net", "ConnectionManager", "Local"] namesForConnectionManager severityConnectionManager allPublic @@ -764,7 +780,7 @@ docTracers configFileName outputFileName _ _ _ = do localServerTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalServer" + ["Net", "Server", "Local"] namesForServer severityServer allPublic @@ -775,7 +791,7 @@ docTracers configFileName outputFileName _ _ _ = do localInboundGovernorTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalInboundGovernor" + ["Net", "InboundGovernor", "Local"] namesForInboundGovernor severityInboundGovernor allPublic @@ -787,7 +803,7 @@ docTracers configFileName outputFileName _ _ _ = do dtIpSubscriptionTr <- mkCardanoTracer trBase trForward mbTrEKG - "IpSubscription" + ["Net", "Subscription", "IP"] namesForIPSubscription severityIPSubscription allPublic @@ -798,7 +814,7 @@ docTracers configFileName outputFileName _ _ _ = do dtDnsSubscriptionTr <- mkCardanoTracer trBase trForward mbTrEKG - "DNSSubscription" + ["Net", "Subscription", "DNS"] namesForDNSSubscription severityDNSSubscription allPublic @@ -809,7 +825,7 @@ docTracers configFileName outputFileName _ _ _ = do dtDnsResolverTr <- mkCardanoTracer trBase trForward mbTrEKG - "DNSResolver" + ["Net", "DNSResolver"] namesForDNSResolver severityDNSResolver allPublic @@ -819,7 +835,7 @@ docTracers configFileName outputFileName _ _ _ = do dtErrorPolicyTr <- mkCardanoTracer trBase trForward mbTrEKG - "ErrorPolicy" + ["Net", "ErrorPolicy", "Remote"] namesForErrorPolicy severityErrorPolicy allPublic @@ -829,7 +845,7 @@ docTracers configFileName outputFileName _ _ _ = do dtLocalErrorPolicyTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalErrorPolicy" + ["Net", "ErrorPolicy", "Local"] namesForLocalErrorPolicy severityLocalErrorPolicy allPublic @@ -839,7 +855,7 @@ docTracers configFileName outputFileName _ _ _ = do dtAcceptPolicyTr <- mkCardanoTracer trBase trForward mbTrEKG - "AcceptPolicy" + ["Net", "AcceptPolicy"] namesForAcceptPolicy severityAcceptPolicy allPublic @@ -848,6 +864,7 @@ docTracers configFileName outputFileName _ _ _ = do (docAcceptPolicy :: Documented NtN.AcceptConnectionsPolicyTrace) let bl = nodeInfoTrDoc + <> stateTrDoc <> resourcesTrDoc <> startupTrDoc <> shutdownTrDoc diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers.hs index aa0d2df8824..512925001bb 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers.hs @@ -101,7 +101,7 @@ mkDispatchTracers nodeKernel trBase trForward mbTrEKG trDataPoint trConfig enabl -- State tracer stateTr <- mkCardanoTracer trBase trForward mbTrEKG - "State" + ["NodeState"] SR.namesNodeState SR.severityNodeState allPublic @@ -114,7 +114,7 @@ mkDispatchTracers nodeKernel trBase trForward mbTrEKG trDataPoint trConfig enabl -- Peers tracer peersTr <- mkCardanoTracer trBase trForward mbTrEKG - "Peers" + ["Net", "Peers", "List"] namesForPeers severityPeers allPublic @@ -123,7 +123,7 @@ mkDispatchTracers nodeKernel trBase trForward mbTrEKG trDataPoint trConfig enabl -- Resource tracer resourcesTr <- mkCardanoTracer trBase trForward mbTrEKG - "Resources" + ["Resources"] (const []) (const Info) allPublic @@ -132,7 +132,7 @@ mkDispatchTracers nodeKernel trBase trForward mbTrEKG trDataPoint trConfig enabl -- BasicInfo tracer startupTr <- mkCardanoTracer trBase trForward mbTrEKG - "Startup" + ["Startup"] namesStartupInfo (const Notice) allPublic @@ -140,7 +140,7 @@ mkDispatchTracers nodeKernel trBase trForward mbTrEKG trDataPoint trConfig enabl shutdownTr <- mkCardanoTracer trBase trForward mbTrEKG - "Shutdown" + ["Shutdown"] namesForShutdown severityShutdown allPublic @@ -148,7 +148,7 @@ mkDispatchTracers nodeKernel trBase trForward mbTrEKG trDataPoint trConfig enabl chainDBTr <- mkCardanoTracer' trBase trForward mbTrEKG - "ChainDB" + ["ChainDB"] namesForChainDBTraceEvents severityChainDB allPublic @@ -157,7 +157,7 @@ mkDispatchTracers nodeKernel trBase trForward mbTrEKG trDataPoint trConfig enabl replayBlockTr <- mkCardanoTracer trBase trForward mbTrEKG - "ReplayBlock" + ["ChainDB", "ReplayBlock"] namesForReplayBlockStats severityReplayBlockStats allPublic @@ -240,14 +240,14 @@ mkConsensusTracers :: forall blk. mkConsensusTracers trBase trForward mbTrEKG _trDataPoint trConfig nodeKernel = do chainSyncClientTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncClient" + ["ChainSync", "ClientEvent"] namesForChainSyncClientEvent severityChainSyncClientEvent allPublic configureTracers trConfig docChainSyncClientEvent [chainSyncClientTr] chainSyncServerHeaderTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncServerHeader" + ["ChainSync", "ServerHeader"] namesForChainSyncServerEvent severityChainSyncServerEvent allPublic @@ -264,21 +264,21 @@ mkConsensusTracers trBase trForward mbTrEKG _trDataPoint trConfig nodeKernel = d chainSyncServerBlockTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncServerBlock" + ["ChainSync", "ServerBlock"] namesForChainSyncServerEvent severityChainSyncServerEvent allPublic configureTracers trConfig docChainSyncServerEventBlock [chainSyncServerBlockTr] blockFetchDecisionTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetchDecision" + ["BlockFetch", "Decision"] namesForBlockFetchDecision severityBlockFetchDecision allConfidential configureTracers trConfig docBlockFetchDecision [blockFetchDecisionTr] blockFetchClientTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetchClient" + ["BlockFetch", "ClientEvent"] namesForBlockFetchClient severityBlockFetchClient allPublic @@ -296,56 +296,56 @@ mkConsensusTracers trBase trForward mbTrEKG _trDataPoint trConfig nodeKernel = d blockFetchServerTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetchServer" + ["BlockFetch", "ServerBlock"] namesForBlockFetchServer severityBlockFetchServer allPublic configureTracers trConfig docBlockFetchServer [blockFetchServerTr] forgeKESInfoTr <- mkCardanoTracer trBase trForward mbTrEKG - "ForgeStateInfo" + ["Forge", "KESInfo"] namesForKESInfo severityKESInfo allPublic configureTracers trConfig docForgeKESInfo [forgeKESInfoTr] txInboundTr <- mkCardanoTracer trBase trForward mbTrEKG - "TxInbound" + ["TxSubmission", "TxInbound"] namesForTxInbound severityTxInbound allPublic configureTracers trConfig docTxInbound [txInboundTr] txOutboundTr <- mkCardanoTracer trBase trForward mbTrEKG - "TxOutbound" + ["TxSubmission", "TxOutbound"] namesForTxOutbound severityTxOutbound allPublic configureTracers trConfig docTxOutbound [txOutboundTr] localTxSubmissionServerTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalTxSubmissionServer" + ["TxSubmission", "LocalServer"] namesForLocalTxSubmissionServer severityLocalTxSubmissionServer allPublic configureTracers trConfig docLocalTxSubmissionServer [localTxSubmissionServerTr] mempoolTr <- mkCardanoTracer trBase trForward mbTrEKG - "Mempool" + ["Mempool"] namesForMempool severityMempool allPublic configureTracers trConfig docMempool [mempoolTr] forgeTr <- mkCardanoTracer' trBase trForward mbTrEKG - "Forge" + ["Forge", "StateInfo"] namesForForge severityForge allPublic (forgeTracerTransform nodeKernel) forgeThreadStatsTr <- mkCardanoTracer' trBase trForward mbTrEKG - "ForgeStats" + ["Forge", "Stats"] namesForForge severityForge allPublic @@ -353,14 +353,14 @@ mkConsensusTracers trBase trForward mbTrEKG _trDataPoint trConfig nodeKernel = d configureTracers trConfig docForge [forgeTr, forgeThreadStatsTr] blockchainTimeTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockchainTime" + ["BlockchainTime"] namesForBlockchainTime severityBlockchainTime allPublic configureTracers trConfig docBlockchainTime [blockchainTimeTr] keepAliveClientTr <- mkCardanoTracer trBase trForward mbTrEKG - "KeepAliveClient" + ["Net", "KeepAliveClient"] namesForKeepAliveClient severityKeepAliveClient allPublic @@ -412,7 +412,7 @@ mkNodeToClientTracers trBase trForward mbTrEKG _trDataPoint trConfig = do chainSyncTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSync" + ["ChainSync", "Local"] namesForTChainSync severityTChainSync allPublic @@ -420,7 +420,7 @@ mkNodeToClientTracers trBase trForward mbTrEKG _trDataPoint trConfig = do txMonitorTr <- mkCardanoTracer trBase trForward mbTrEKG - "TxMonitorClient" + ["TxSubmission", "MonitorClient"] namesForTTxMonitor severityTTxMonitor allPublic @@ -428,7 +428,7 @@ mkNodeToClientTracers trBase trForward mbTrEKG _trDataPoint trConfig = do txSubmissionTr <- mkCardanoTracer trBase trForward mbTrEKG - "TxSubmissionClient" + ["TxSubmission", "Local"] namesForTTxSubmission severityTTxSubmission allPublic @@ -436,7 +436,7 @@ mkNodeToClientTracers trBase trForward mbTrEKG _trDataPoint trConfig = do stateQueryTr <- mkCardanoTracer trBase trForward mbTrEKG - "StateQueryClient" + ["StateQueryServer"] namesForTStateQuery severityTStateQuery allPublic @@ -464,35 +464,35 @@ mkNodeToNodeTracers :: forall blk. mkNodeToNodeTracers trBase trForward mbTrEKG _trDataPoint trConfig = do chainSyncTracer <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncNode" + ["ChainSync", "Remote"] namesForTChainSyncNode severityTChainSyncNode allPublic configureTracers trConfig docTChainSyncNodeToNode [chainSyncTracer] chainSyncSerialisedTr <- mkCardanoTracer trBase trForward mbTrEKG - "ChainSyncSerialised" + ["ChainSync", "Remote", "Serialised"] namesForTChainSyncSerialised severityTChainSyncSerialised allPublic configureTracers trConfig docTChainSyncNodeToNodeSerisalised [chainSyncSerialisedTr] blockFetchTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetch" + ["BlockFetch", "Remote"] namesForTBlockFetch severityTBlockFetch allPublic configureTracers trConfig docTBlockFetch [blockFetchTr] blockFetchSerialisedTr <- mkCardanoTracer trBase trForward mbTrEKG - "BlockFetchSerialised" + ["BlockFetch", "Remote", "Serialised"] namesForTBlockFetchSerialised severityTBlockFetchSerialised allPublic configureTracers trConfig docTBlockFetch [blockFetchSerialisedTr] txSubmission2Tracer <- mkCardanoTracer trBase trForward mbTrEKG - "TxSubmission2" + ["TxSubmission", "Remote"] namesForTxSubmission2Node severityTxSubmission2Node allPublic @@ -521,42 +521,42 @@ mkDiffusionTracers mkDiffusionTracers trBase trForward mbTrEKG _trDataPoint trConfig = do dtMuxTr <- mkCardanoTracer trBase trForward mbTrEKG - "Mux" + ["Net", "Mux", "Remote"] namesForMux severityMux allPublic configureTracers trConfig docMuxRemote [dtMuxTr] dtLocalMuxTr <- mkCardanoTracer trBase trForward mbTrEKG - "MuxLocal" + ["Net", "Mux", "Local"] namesForMux severityMux allPublic configureTracers trConfig docMuxLocal [dtLocalMuxTr] dtHandshakeTr <- mkCardanoTracer trBase trForward mbTrEKG - "Handshake" + ["Net", "Handshake", "Remote"] namesForHandshake severityHandshake allPublic configureTracers trConfig docHandshake [dtHandshakeTr] dtLocalHandshakeTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalHandshake" + ["Net", "Handshake", "Local"] namesForLocalHandshake severityLocalHandshake allPublic configureTracers trConfig docLocalHandshake [dtLocalHandshakeTr] dtDiffusionInitializationTr <- mkCardanoTracer trBase trForward mbTrEKG - "DiffusionInit" + ["Startup", "DiffusionInit"] namesForDiffusionInit severityDiffusionInit allPublic configureTracers trConfig docDiffusionInit [dtDiffusionInitializationTr] dtLedgerPeersTr <- mkCardanoTracer trBase trForward mbTrEKG - "LedgerPeers" + ["Net", "Peers", "Ledger"] namesForLedgerPeers severityLedgerPeers allPublic @@ -587,105 +587,105 @@ mkDiffusionTracersExtra :: forall p2p. mkDiffusionTracersExtra trBase trForward mbTrEKG _trDataPoint trConfig EnabledP2PMode = do localRootPeersTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalRootPeers" + ["Net", "Peers", "LocalRoot"] namesForLocalRootPeers severityLocalRootPeers allPublic configureTracers trConfig docLocalRootPeers [localRootPeersTr] publicRootPeersTr <- mkCardanoTracer trBase trForward mbTrEKG - "PublicRootPeers" + ["Net", "Peers", "PublicRoot"] namesForPublicRootPeers severityPublicRootPeers allPublic configureTracers trConfig docPublicRootPeers [publicRootPeersTr] peerSelectionTr <- mkCardanoTracer trBase trForward mbTrEKG - "PeerSelection" + ["Net", "PeerSelection", "Selection"] namesForPeerSelection severityPeerSelection allPublic configureTracers trConfig docPeerSelection [peerSelectionTr] debugPeerSelectionTr <- mkCardanoTracer trBase trForward mbTrEKG - "DebugPeerSelection" + ["Net", "PeerSelection", "Initiator"] namesForDebugPeerSelection severityDebugPeerSelection allPublic configureTracers trConfig docDebugPeerSelection [debugPeerSelectionTr] debugPeerSelectionResponderTr <- mkCardanoTracer trBase trForward mbTrEKG - "DebugPeerSelectionResponder" + ["Net", "PeerSelection", "Responder"] namesForDebugPeerSelection severityDebugPeerSelection allPublic configureTracers trConfig docDebugPeerSelection [debugPeerSelectionResponderTr] peerSelectionCountersTr <- mkCardanoTracer trBase trForward mbTrEKG - "PeerSelectionCounters" + ["Net", "PeerSelection", "Counters"] namesForPeerSelectionCounters severityPeerSelectionCounters allPublic configureTracers trConfig docPeerSelectionCounters [peerSelectionCountersTr] peerSelectionActionsTr <- mkCardanoTracer trBase trForward mbTrEKG - "PeerSelectionActions" + ["Net", "PeerSelection", "Actions"] namesForPeerSelectionActions severityPeerSelectionActions allPublic configureTracers trConfig docPeerSelectionActions [peerSelectionActionsTr] connectionManagerTr <- mkCardanoTracer trBase trForward mbTrEKG - "ConnectionManager" + ["Net", "ConnectionManager", "Remote"] namesForConnectionManager severityConnectionManager allPublic configureTracers trConfig docConnectionManager [connectionManagerTr] connectionManagerTransitionsTr <- mkCardanoTracer trBase trForward mbTrEKG - "ConnectionManagerTransition" + ["Net", "ConnectionManager", "Remote", "Transition"] (namesForConnectionManagerTransition @RemoteAddress) severityConnectionManagerTransition allPublic configureTracers trConfig docConnectionManagerTransition [connectionManagerTransitionsTr] serverTr <- mkCardanoTracer trBase trForward mbTrEKG - "Server" + ["Net", "Server", "Remote"] namesForServer severityServer allPublic configureTracers trConfig docServer [serverTr] inboundGovernorTr <- mkCardanoTracer trBase trForward mbTrEKG - "InboundGovernor" + ["Net", "InboundGovernor", "Remote"] namesForInboundGovernor severityInboundGovernor allPublic configureTracers trConfig docInboundGovernorRemote [inboundGovernorTr] inboundGovernorTransitionsTr <- mkCardanoTracer trBase trForward mbTrEKG - "InboundGovernorTransition" + ["Net", "InboundGovernor", "Remote", "Transition"] namesForInboundGovernorTransition severityInboundGovernorTransition allPublic configureTracers trConfig docInboundGovernorTransition [inboundGovernorTransitionsTr] localConnectionManagerTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalConnectionManager" + ["Net", "ConnectionManager", "Local"] namesForConnectionManager severityConnectionManager allPublic configureTracers trConfig docConnectionManager [localConnectionManagerTr] localServerTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalServer" + ["Net", "Server", "Local"] namesForServer severityServer allPublic configureTracers trConfig docServer [localServerTr] localInboundGovernorTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalInboundGovernor" + ["Net", "InboundGovernor", "Local"] namesForInboundGovernor severityInboundGovernor allPublic @@ -726,42 +726,42 @@ mkDiffusionTracersExtra trBase trForward mbTrEKG _trDataPoint trConfig EnabledP2 mkDiffusionTracersExtra trBase trForward mbTrEKG _trDataPoint trConfig DisabledP2PMode = do dtIpSubscriptionTr <- mkCardanoTracer trBase trForward mbTrEKG - "IpSubscription" + ["Net", "Subscription", "IP"] namesForIPSubscription severityIPSubscription allPublic configureTracers trConfig docIPSubscription [dtIpSubscriptionTr] dtDnsSubscriptionTr <- mkCardanoTracer trBase trForward mbTrEKG - "DNSSubscription" + ["Net", "Subscription", "DNS"] namesForDNSSubscription severityDNSSubscription allPublic configureTracers trConfig docDNSSubscription [dtDnsSubscriptionTr] dtDnsResolverTr <- mkCardanoTracer trBase trForward mbTrEKG - "DNSResolver" + ["Net", "DNSResolver"] namesForDNSResolver severityDNSResolver allPublic configureTracers trConfig docDNSResolver [dtDnsResolverTr] dtErrorPolicyTr <- mkCardanoTracer trBase trForward mbTrEKG - "ErrorPolicy" + ["Net", "ErrorPolicy", "Remote"] namesForErrorPolicy severityErrorPolicy allPublic configureTracers trConfig docErrorPolicy [dtErrorPolicyTr] dtLocalErrorPolicyTr <- mkCardanoTracer trBase trForward mbTrEKG - "LocalErrorPolicy" + ["Net", "ErrorPolicy", "Local"] namesForLocalErrorPolicy severityLocalErrorPolicy allPublic configureTracers trConfig docLocalErrorPolicy [dtLocalErrorPolicyTr] dtAcceptPolicyTr <- mkCardanoTracer trBase trForward mbTrEKG - "AcceptPolicy" + ["Net", "AcceptPolicy"] namesForAcceptPolicy severityAcceptPolicy allPublic diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/BlockReplayProgress.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/BlockReplayProgress.hs index be28228374b..7099fe3a747 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/BlockReplayProgress.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/BlockReplayProgress.hs @@ -48,16 +48,15 @@ instance LogFormatting ReplayBlockStats where ] forHuman ReplayBlockStats {..} = "Block replay progress " <> show rpsProgress <> "%" asMetrics ReplayBlockStats {..} = - [DoubleM "Block replay progress (%)" rpsProgress] + [DoubleM "ChainDB.BlockReplayProgress" rpsProgress] docReplayedBlock :: Documented ReplayBlockStats docReplayedBlock = Documented [ DocMsg ["LedgerReplay"] - [("Block replay progress (%)", - "Progress in percent")] + [("ChainDB.BlockReplayProgress", "Progress in percent")] "Counts up the percent of a block replay." - ] + ] withReplayedBlock :: Trace IO ReplayBlockStats -> IO (Trace IO (ChainDB.TraceEvent blk)) diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs index 23e9ab6bcfb..407b37738da 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/ChainDB.hs @@ -399,20 +399,20 @@ instance ( LogFormatting (Header blk) asMetrics (ChainDB.SwitchedToAFork _warnings newTipInfo _oldChain newChain) = let ChainInformation { slots, blocks, density, epoch, slotInEpoch } = chainInformation newTipInfo newChain 0 - in [ DoubleM "cardano.node.density" (fromRational density) - , IntM "cardano.node.slotNum" (fromIntegral slots) - , IntM "cardano.node.blockNum" (fromIntegral blocks) - , IntM "cardano.node.slotInEpoch" (fromIntegral slotInEpoch) - , IntM "cardano.node.epoch" (fromIntegral (unEpochNo epoch)) + in [ DoubleM "ChainDB.Density" (fromRational density) + , IntM "ChainDB.SlotNum" (fromIntegral slots) + , IntM "ChainDB.BlockNum" (fromIntegral blocks) + , IntM "ChainDB.SlotInEpoch" (fromIntegral slotInEpoch) + , IntM "ChainDB.Epoch" (fromIntegral (unEpochNo epoch)) ] asMetrics (ChainDB.AddedToCurrentChain _warnings newTipInfo _oldChain newChain) = let ChainInformation { slots, blocks, density, epoch, slotInEpoch } = chainInformation newTipInfo newChain 0 - in [ DoubleM "cardano.node.density" (fromRational density) - , IntM "cardano.node.slotNum" (fromIntegral slots) - , IntM "cardano.node.blockNum" (fromIntegral blocks) - , IntM "cardano.node.slotInEpoch" (fromIntegral slotInEpoch) - , IntM "cardano.node.epoch" (fromIntegral (unEpochNo epoch)) + in [ DoubleM "ChainDB.Density" (fromRational density) + , IntM "ChainDB.SlotNum" (fromIntegral slots) + , IntM "ChainDB.BlockNum" (fromIntegral blocks) + , IntM "ChainDB.SlotInEpoch" (fromIntegral slotInEpoch) + , IntM "ChainDB.Epoch" (fromIntegral (unEpochNo epoch)) ] asMetrics _ = [] @@ -621,17 +621,17 @@ docChainDBAddBlock = Documented [ \ it is preferable to our chain)." , DocMsg ["AddedToCurrentChain"] - [("cardano.node.density", + [("ChainDB.Density", "The actual number of blocks created over the maximum expected number\ \ of blocks that could be created over the span of the last @k@ blocks.") - , ("cardano.node.slots", + , ("ChainDB.Slots", "Number of slots in this chain fragment.") - , ("cardano.node.blocks", + , ("ChainDB.Blocks", "Number of blocks in this chain fragment.") - , ("cardano.node.slotInEpoch", + , ("ChainDB.SlotInEpoch", "Relative slot number of the tip of the current chain within the\ \epoch..") - , ("cardano.node.epoch", + , ("ChainDB.Epoch", "In which epoch is the tip of the current chain.") ] "The new block fits onto the current chain (first\ @@ -639,17 +639,17 @@ docChainDBAddBlock = Documented [ \ chain (second fragment)." , DocMsg ["SwitchedToAFork"] - [ ("cardano.node.density", + [ ("ChainDB.Density", "The actual number of blocks created over the maximum expected number\ \ of blocks that could be created over the span of the last @k@ blocks.") - , ("cardano.node.slots", + , ("ChainDB.Slots", "Number of slots in this chain fragment.") - , ("cardano.node.blocks", + , ("ChainDB.Blocks", "Number of blocks in this chain fragment.") - , ("cardano.node.slotInEpoch", + , ("ChainDB.SlotInEpoch", "Relative slot number of the tip of the current chain within the\ \epoch..") - , ("cardano.node.epoch", + , ("ChainDB.Epoch", "In which epoch is the tip of the current chain.") ] "The new block fits onto some fork and we have switched to that fork\ diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/Consensus.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/Consensus.hs index 36645c10cc4..d0e98840d1d 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/Consensus.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/Consensus.hs @@ -167,8 +167,7 @@ severityChainSyncClientEvent (BlockFetch.TraceLabelPeer _ e) = namesForChainSyncClientEvent :: BlockFetch.TraceLabelPeer peer (TraceChainSyncClientEvent blk) -> [Text] -namesForChainSyncClientEvent (BlockFetch.TraceLabelPeer _ e) = - "ChainSyncClientEvent" : namesForChainSyncClientEvent' e +namesForChainSyncClientEvent (BlockFetch.TraceLabelPeer _ e) = namesForChainSyncClientEvent' e severityChainSyncClientEvent' :: TraceChainSyncClientEvent blk -> SeverityS severityChainSyncClientEvent' TraceDownloadedHeader {} = Info @@ -222,16 +221,10 @@ instance (ConvertRawHash blk, LedgerSupportsProtocol blk) mconcat [ "kind" .= String "Termination" , "reason" .= String (Text.pack $ show reason) ] -docChainSyncClientEvent :: - Documented (BlockFetch.TraceLabelPeer peer (TraceChainSyncClientEvent blk)) -docChainSyncClientEvent = - addDocumentedNamespace - ["ChainSyncClientEvent"] - docChainSyncClientEvent' -docChainSyncClientEvent' :: +docChainSyncClientEvent :: Documented (BlockFetch.TraceLabelPeer peer (TraceChainSyncClientEvent blk)) -docChainSyncClientEvent' = Documented [ +docChainSyncClientEvent = Documented [ DocMsg ["DownloadedHeader"] [] @@ -267,11 +260,7 @@ severityChainSyncServerEvent (TraceChainSyncServerUpdate _tip _upd _blocking enc FallingEdge -> Debug namesForChainSyncServerEvent :: TraceChainSyncServerEvent blk -> [Text] -namesForChainSyncServerEvent ev = - "ChainSyncServerEvent" : namesForChainSyncServerEvent' ev - -namesForChainSyncServerEvent' :: TraceChainSyncServerEvent blk -> [Text] -namesForChainSyncServerEvent' (TraceChainSyncServerUpdate _tip _update _blocking _enclosing) = +namesForChainSyncServerEvent (TraceChainSyncServerUpdate _tip _update _blocking _enclosing) = ["Update"] instance ConvertRawHash blk @@ -292,25 +281,20 @@ instance ConvertRawHash blk asMetrics _ = [] -docChainSyncServerEventHeader :: Documented (TraceChainSyncServerEvent blk) -docChainSyncServerEventHeader = - addDocumentedNamespace - ["ChainSyncServerEvent", "Update"] - docChainSyncServerEventHeader' -- | Metrics documented here, but implemented specially -docChainSyncServerEventHeader' :: Documented (TraceChainSyncServerEvent blk) -docChainSyncServerEventHeader' = Documented [ +docChainSyncServerEventHeader :: Documented (TraceChainSyncServerEvent blk) +docChainSyncServerEventHeader = Documented [ DocMsg ["Update"] - [("cardano.node.metrics.served.header", "A counter triggered only on header event")] + [("ChainSync.HeadersServed", "A counter triggered only on header event")] "A server read has occurred, either for an add block or a rollback" ] docChainSyncServerEventBlock :: Documented (TraceChainSyncServerEvent blk) docChainSyncServerEventBlock = addDocumentedNamespace - ["ChainSyncServerEvent", "Update"] + [] docChainSyncServerEventBlock' docChainSyncServerEventBlock' :: Documented (TraceChainSyncServerEvent blk) @@ -363,7 +347,7 @@ instance (LogFormatting peer, Show peer) => , "peers" .= toJSON (foldl' (\acc x -> forMachine DDetailed x : acc) [] xs) ] - asMetrics peers = [IntM "cardano.node.connectedPeers" (fromIntegral (length peers))] + asMetrics peers = [IntM "BlockFetch.ConnectedPeers" (fromIntegral (length peers))] instance (LogFormatting peer, Show peer, LogFormatting a) => LogFormatting (TraceLabelPeer peer a) where @@ -388,7 +372,7 @@ docBlockFetchDecision :: docBlockFetchDecision = Documented [ DocMsg [] - [("cardano.node.connectedPeers", "Number of connected peers")] + [("BlockFetch.ConnectedPeers", "Number of connected peers")] "Throughout the decision making process we accumulate reasons to decline\ \ to fetch any blocks. This message carries the intermediate and final\ \ results." @@ -689,7 +673,7 @@ instance ConvertRawHash blk => LogFormatting (TraceBlockFetchServerEvent blk) wh $ pointHash blk)] -- TODO JNF asMetrics (TraceBlockFetchServerSendBlock _p) = - [CounterM "cardano.node.served.block" Nothing] + [CounterM "BlockFetch.BlocksServed" Nothing] docBlockFetchServer :: @@ -702,7 +686,7 @@ docBlockFetchServer' :: docBlockFetchServer' = Documented [ DocMsg ["SendBlock"] - [("cardano.node.served.block", "")] + [("BlockFetch.BlocksServed", "")] "The server sent a block to the peer." ] @@ -734,15 +718,15 @@ namesForTxInbound' :: TraceTxSubmissionInbound (GenTxId blk) (GenTx blk) -> [Text] namesForTxInbound' (TraceTxSubmissionCollected _) = - ["TxSubmissionCollected"] + ["Collected"] namesForTxInbound' (TraceTxSubmissionProcessed _) = - ["TxSubmissionProcessed"] + ["Processed"] namesForTxInbound' TraceTxInboundTerminated = - ["TxInboundTerminated"] + ["Terminated"] namesForTxInbound' TraceTxInboundCanRequestMoreTxs {} = - ["TxInboundCanRequestMoreTxs"] + ["CanRequestMoreTxs"] namesForTxInbound' TraceTxInboundCannotRequestMoreTxs {} = - ["TxInboundCannotRequestMoreTxs"] + ["CannotRequestMoreTxs"] instance LogFormatting (TraceTxSubmissionInbound txid tx) where forMachine _dtal (TraceTxSubmissionCollected count) = @@ -772,11 +756,11 @@ instance LogFormatting (TraceTxSubmissionInbound txid tx) where ] asMetrics (TraceTxSubmissionCollected count)= - [CounterM "cardano.node.submissions.submitted" (Just count)] + [CounterM "TxSubmission.Submitted" (Just count)] asMetrics (TraceTxSubmissionProcessed processed) = - [ CounterM "cardano.node.submissions.accepted" + [ CounterM "TxSubmission.Accepted" (Just (ptxcAccepted processed)) - , CounterM "cardano.node.submissions.rejected" + , CounterM "TxSubmission.Rejected" (Just (ptxcRejected processed)) ] asMetrics _ = [] @@ -791,30 +775,30 @@ docTxInbound' :: (TraceTxSubmissionInbound txid tx)) docTxInbound' = Documented [ DocMsg - ["TxSubmissionCollected"] - [ ("cardano.node.submissions.submitted", "")] + ["Collected"] + [ ("TxSubmission.Submitted", "")] "Number of transactions just about to be inserted." , DocMsg - ["TxSubmissionProcessed"] - [ ("cardano.node.submissions.accepted", "") - , ("cardano.node.submissions.rejected", "") + ["Processed"] + [ ("TxSubmission.Accepted", "") + , ("TxSubmission.Rejected", "") ] "Just processed transaction pass/fail breakdown." , DocMsg - ["TxInboundTerminated"] + ["Terminated"] [] "Server received 'MsgDone'." , DocMsg - ["TxInboundCanRequestMoreTxs"] + ["CanRequestMoreTxs"] [] "There are no replies in flight, but we do know some more txs we\ \ can ask for, so lets ask for them and more txids." , DocMsg - ["TxInboundCannotRequestMoreTxs"] + ["CannotRequestMoreTxs"] [] "There's no replies in flight, and we have no more txs we can\ \ ask for so the only remaining thing to do is to ask for more\ @@ -977,25 +961,25 @@ instance ] asMetrics (TraceMempoolAddedTx _tx _mpSzBefore mpSz) = - [ IntM "cardano.node.txsInMempool" (fromIntegral $ msNumTxs mpSz) - , IntM "cardano.node.mempoolBytes" (fromIntegral $ msNumBytes mpSz) + [ IntM "Mempool.TxsInMempool" (fromIntegral $ msNumTxs mpSz) + , IntM "Mempool.MempoolBytes" (fromIntegral $ msNumBytes mpSz) ] asMetrics (TraceMempoolRejectedTx _tx _txApplyErr mpSz) = - [ IntM "cardano.node.txsInMempool" (fromIntegral $ msNumTxs mpSz) - , IntM "cardano.node.mempoolBytes" (fromIntegral $ msNumBytes mpSz) + [ IntM "Mempool.TxsInMempool" (fromIntegral $ msNumTxs mpSz) + , IntM "Mempool.MempoolBytes" (fromIntegral $ msNumBytes mpSz) ] asMetrics (TraceMempoolRemoveTxs _txs mpSz) = - [ IntM "cardano.node.txsInMempool" (fromIntegral $ msNumTxs mpSz) - , IntM "cardano.node.mempoolBytes" (fromIntegral $ msNumBytes mpSz) + [ IntM "Mempool.TxsInMempool" (fromIntegral $ msNumTxs mpSz) + , IntM "Mempool.MempoolBytes" (fromIntegral $ msNumBytes mpSz) ] asMetrics (TraceMempoolManuallyRemovedTxs [] _txs1 mpSz) = - [ IntM "cardano.node.txsInMempool" (fromIntegral $ msNumTxs mpSz) - , IntM "cardano.node.mempoolBytes" (fromIntegral $ msNumBytes mpSz) + [ IntM "Mempool.TxsInMempool" (fromIntegral $ msNumTxs mpSz) + , IntM "Mempool.MempoolBytes" (fromIntegral $ msNumBytes mpSz) ] asMetrics (TraceMempoolManuallyRemovedTxs txs _txs1 mpSz) = - [ IntM "cardano.node.txsInMempool" (fromIntegral $ msNumTxs mpSz) - , IntM "cardano.node.mempoolBytes" (fromIntegral $ msNumBytes mpSz) - , CounterM "cardano.node.txsProcessedNum" (Just (fromIntegral $ length txs)) + [ IntM "Mempool.TxsInMempool" (fromIntegral $ msNumTxs mpSz) + , IntM "Mempool.MempoolBytes" (fromIntegral $ msNumBytes mpSz) + , CounterM "Mempool.TxsProcessedNum" (Just (fromIntegral $ length txs)) ] instance LogFormatting MempoolSize where @@ -1012,30 +996,30 @@ docMempool' :: forall blk. Documented (TraceEventMempool blk) docMempool' = Documented [ DocMsg ["AddedTx"] - [ ("cardano.node.txsInMempool","Transactions in mempool") - , ("cardano.node.mempoolBytes", "Byte size of the mempool") + [ ("Mempool.TxsInMempool","Transactions in mempool") + , ("Mempool.MempoolBytes", "Byte size of the mempool") ] "New, valid transaction that was added to the Mempool." , DocMsg ["RejectedTx"] - [ ("cardano.node.txsInMempool","Transactions in mempool") - , ("cardano.node.mempoolBytes", "Byte size of the mempool") + [ ("Mempool.TxsInMempool","Transactions in mempool") + , ("Mempool.MempoolBytes", "Byte size of the mempool") ] "New, invalid transaction thas was rejected and thus not added to\ \ the Mempool." , DocMsg ["RemoveTxs"] - [ ("cardano.node.txsInMempool","Transactions in mempool") - , ("cardano.node.mempoolBytes", "Byte size of the mempool") + [ ("Mempool.TxsInMempool","Transactions in mempool") + , ("Mempool.MempoolBytes", "Byte size of the mempool") ] "Previously valid transactions that are no longer valid because of\ \ changes in the ledger state. These transactions have been removed\ \ from the Mempool." , DocMsg ["ManuallyRemovedTxs"] - [ ("cardano.node.txsInMempool","Transactions in mempool") - , ("cardano.node.mempoolBytes", "Byte size of the mempool") - , ("cardano.node.txsProcessedNum", "") + [ ("Mempool.TxsInMempool","Transactions in mempool") + , ("Mempool.MempoolBytes", "Byte size of the mempool") + , ("Mempool.TxsProcessedNum", "") ] "Transactions that have been manually removed from the Mempool." ] @@ -1319,52 +1303,52 @@ instance ( tx ~ GenTx blk Nothing -> [] Just kesInfo -> [ IntM - "cardano.node.operationalCertificateStartKESPeriod" + "Forge.OperationalCertificateStartKESPeriod" (fromIntegral . unKESPeriod . HotKey.kesStartPeriod $ kesInfo) , IntM - "cardano.node.operationalCertificateExpiryKESPeriod" + "Forge.OperationalCertificateExpiryKESPeriod" (fromIntegral . unKESPeriod . HotKey.kesEndPeriod $ kesInfo) , IntM - "cardano.node.currentKESPeriod" + "Forge.CurrentKESPeriod" 0 , IntM - "cardano.node.remainingKESPeriods" + "Forge.RemainingKESPeriods" 0 ]) asMetrics (TraceStartLeadershipCheck slot) = - [IntM "cardano.node.aboutToLeadSlotLast" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.AboutToLeadSlotLast" (fromIntegral $ unSlotNo slot)] asMetrics (TraceSlotIsImmutable slot _tipPoint _tipBlkNo) = - [IntM "cardano.node.slotIsImmutable" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.SlotIsImmutable" (fromIntegral $ unSlotNo slot)] asMetrics (TraceBlockFromFuture slot _slotNo) = - [IntM "cardano.node.blockFromFuture" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.BlockFromFuture" (fromIntegral $ unSlotNo slot)] asMetrics (TraceBlockContext slot _tipBlkNo _tipPoint) = - [IntM "cardano.node.blockContext" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.BlockContext" (fromIntegral $ unSlotNo slot)] asMetrics (TraceNoLedgerState slot _) = - [IntM "cardano.node.couldNotForgeSlotLast" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.CouldNotForgeSlotLast" (fromIntegral $ unSlotNo slot)] asMetrics (TraceLedgerState slot _) = - [IntM "cardano.node.ledgerState" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.LedgerState" (fromIntegral $ unSlotNo slot)] asMetrics (TraceNoLedgerView slot _) = - [IntM "cardano.node.couldNotForgeSlotLast" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.CouldNotForgeSlotLast" (fromIntegral $ unSlotNo slot)] asMetrics (TraceLedgerView slot) = - [IntM "cardano.node.ledgerView" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.LedgerView" (fromIntegral $ unSlotNo slot)] -- see above asMetrics (TraceNodeCannotForge slot _reason) = - [IntM "cardano.node.nodeCannotForge" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.NodeCannotForge" (fromIntegral $ unSlotNo slot)] asMetrics (TraceNodeNotLeader slot) = - [IntM "cardano.node.nodeNotLeader" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.NodeNotLeader" (fromIntegral $ unSlotNo slot)] asMetrics (TraceNodeIsLeader slot) = - [IntM "cardano.node.nodeIsLeader" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.NodeIsLeader" (fromIntegral $ unSlotNo slot)] asMetrics TraceForgeTickedLedgerState {} = [] asMetrics TraceForgingMempoolSnapshot {} = [] asMetrics (TraceForgedBlock slot _ _ _) = - [IntM "cardano.node.forgedSlotLast" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.ForgedSlotLast" (fromIntegral $ unSlotNo slot)] asMetrics (TraceDidntAdoptBlock slot _) = - [IntM "cardano.node.notAdoptedSlotLast" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.NotAdoptedSlotLast" (fromIntegral $ unSlotNo slot)] asMetrics (TraceForgedInvalidBlock slot _ _) = - [IntM "cardano.node.forgedInvalidSlotLast" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.ForgedInvalidSlotLast" (fromIntegral $ unSlotNo slot)] asMetrics (TraceAdoptedBlock slot _ _) = - [IntM "cardano.node.adoptedSlotLast" (fromIntegral $ unSlotNo slot)] + [IntM "Forge.AdoptedOwnBlockSlotLast" (fromIntegral $ unSlotNo slot)] instance LogFormatting TraceStartLeadershipCheckPlus where forMachine _dtal TraceStartLeadershipCheckPlus {..} = @@ -1380,8 +1364,8 @@ instance LogFormatting TraceStartLeadershipCheckPlus where <> " delegMapSize " <> showT tsDelegMapSize <> " chainDensity " <> showT tsChainDensity asMetrics TraceStartLeadershipCheckPlus {..} = - [IntM "cardano.node.utxoSize" (fromIntegral tsUtxoSize), - IntM "cardano.node.delegMapSize" (fromIntegral tsDelegMapSize)] + [IntM "Forge.UtxoSize" (fromIntegral tsUtxoSize), + IntM "Forge.DelegMapSize" (fromIntegral tsDelegMapSize)] docForge :: Documented (Either (TraceForgeEvent blk) TraceStartLeadershipCheckPlus) @@ -1392,11 +1376,11 @@ docForge' :: Documented (Either (TraceForgeEvent blk) docForge' = Documented [ DocMsg ["StartLeadershipCheck"] - [("cardano.node.aboutToLeadSlotLast", "")] + [("Forge.AboutToLeadSlotLast", "")] "Start of the leadership check." , DocMsg ["SlotIsImmutable"] - [("cardano.node.slotIsImmutable", "")] + [("Forge.SlotIsImmutable", "")] "Leadership check failed: the tip of the ImmutableDB inhabits the\ \ current slot\ \ \ @@ -1416,7 +1400,7 @@ docForge' = Documented [ \ See also " , DocMsg ["BlockFromFuture"] - [("cardano.node.blockFromFuture", "")] + [("Forge.BlockFromFuture", "")] "Leadership check failed: the current chain contains a block from a slot\ \ /after/ the current slot\ \ \ @@ -1428,7 +1412,7 @@ docForge' = Documented [ \ See also " , DocMsg ["BlockContext"] - [("cardano.node.blockContext", "")] + [("Forge.BlockContext", "")] "We found out to which block we are going to connect the block we are about\ \ to forge.\ \ \ @@ -1439,7 +1423,7 @@ docForge' = Documented [ \ the recorded block number." , DocMsg ["NoLedgerState"] - [("cardano.node.couldNotForgeSlotLast", "")] + [("Forge.CouldNotForgeSlotLast", "")] "Leadership check failed: we were unable to get the ledger state for the\ \ point of the block we want to connect to\ \ \ @@ -1453,7 +1437,7 @@ docForge' = Documented [ \ state for)." , DocMsg ["LedgerState"] - [("cardano.node.ledgerState", "")] + [("Forge.LedgerState", "")] "We obtained a ledger state for the point of the block we want to\ \ connect to\ \ \ @@ -1462,7 +1446,7 @@ docForge' = Documented [ \ state for)." , DocMsg ["NoLedgerView"] - [("cardano.node.couldNotForgeSlotLast", "")] + [("Forge.CouldNotForgeSlotLast", "")] "Leadership check failed: we were unable to get the ledger view for the\ \ current slot number\ \ \ @@ -1472,16 +1456,16 @@ docForge' = Documented [ \ We record also the failure returned by 'forecastFor'." , DocMsg ["LedgerView"] - [("cardano.node.ledgerView", "")] + [("Forge.LedgerView", "")] "We obtained a ledger view for the current slot number\ \ \ \ We record the current slot number." , DocMsg ["ForgeStateUpdateError"] - [ ("cardano.node.operationalCertificateStartKESPeriod", "") - , ("cardano.node.operationalCertificateExpiryKESPeriod", "") - , ("cardano.node.currentKESPeriod", "") - , ("cardano.node.remainingKESPeriods", "") + [ ("Forge.OperationalCertificateStartKESPeriod", "") + , ("Forge.OperationalCertificateExpiryKESPeriod", "") + , ("Forge.CurrentKESPeriod", "") + , ("Forge.RemainingKESPeriods", "") ] "Updating the forge state failed.\ \ \ @@ -1490,7 +1474,7 @@ docForge' = Documented [ \ We record the error returned by 'updateForgeState'." , DocMsg ["NodeCannotForge"] - [("cardano.node.nodeCannotForge", "")] + [("Forge.NodeCannotForge", "")] "We did the leadership check and concluded that we should lead and forge\ \ a block, but cannot.\ \ \ @@ -1499,20 +1483,20 @@ docForge' = Documented [ \ Records why we cannot forge a block." , DocMsg ["NodeNotLeader"] - [("cardano.node.nodeNotLeader", "")] + [("Forge.NodeNotLeader", "")] "We did the leadership check and concluded we are not the leader\ \ \ \ We record the current slot number" , DocMsg ["NodeIsLeader"] - [("cardano.node.nodeIsLeader", "")] + [("Forge.NodeIsLeader", "")] "We did the leadership check and concluded we /are/ the leader\ \\n\ \ The node will soon forge; it is about to read its transactions from the\ \ Mempool. This will be followed by ForgedBlock." , DocMsg ["ForgedBlock"] - [("cardano.node.forgedSlotLast", "")] + [("Forge.ForgedSlotLast", "")] "We forged a block.\ \\n\ \ We record the current slot number, the point of the predecessor, the block\ @@ -1529,27 +1513,27 @@ docForge' = Documented [ \ * ForgedInvalidBlock (hopefully never -- this would indicate a bug)" , DocMsg ["DidntAdoptBlock"] - [("cardano.node.notAdoptedSlotLast", "")] + [("Forge.NotAdoptedSlotLast", "")] "We did not adopt the block we produced, but the block was valid. We\ \ must have adopted a block that another leader of the same slot produced\ \ before we got the chance of adopting our own block. This is very rare,\ \ this warrants a warning." , DocMsg ["ForgedInvalidBlock"] - [("cardano.node.forgedInvalidSlotLast", "")] + [("Forge.ForgedInvalidSlotLast", "")] "We forged a block that is invalid according to the ledger in the\ \ ChainDB. This means there is an inconsistency between the mempool\ \ validation and the ledger validation. This is a serious error!" , DocMsg ["AdoptedBlock"] - [("cardano.node.adoptedSlotLast", "")] + [("Forge.AdoptedOwnBlockSlotLast", "")] "We adopted the block we produced, we also trace the transactions\ \ that were adopted." , DocMsg ["StartLeadershipCheckPlus"] - [ ("cardano.node.aboutToLeadSlotLast", "") - , ("cardano.node.utxoSize", "") - , ("cardano.node.delegMapSize", "") + [ ("Forge.AboutToLeadSlotLast", "") + , ("Forge.UtxoSize", "") + , ("Forge.DelegMapSize", "") ] "We adopted the block we produced, we also trace the transactions\ \ that were adopted." diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/Diffusion.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/Diffusion.hs index cf9f7994e0a..ce2c5c48cce 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/Diffusion.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/Diffusion.hs @@ -287,7 +287,7 @@ namesForHandshake' :: TraceSendRecv (HS.Handshake nt CBOR.Term) -> [Text] namesForHandshake' (TraceSendMsg m) = "Send" : namesForHandshake'' m -namesForHandshake' (TraceRecvMsg m) = "Recieve" : namesForHandshake'' m +namesForHandshake' (TraceRecvMsg m) = "Receive" : namesForHandshake'' m namesForHandshake'' :: AnyMessageAndAgency (HS.Handshake nt CBOR.Term) -> [Text] namesForHandshake'' (AnyMessageAndAgency _agency msg) = namesForHandshake''' msg diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/ForgingThreadStats.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/ForgingThreadStats.hs index 0b0d57e291c..7e8158ac3d9 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/ForgingThreadStats.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/ForgingThreadStats.hs @@ -58,11 +58,11 @@ instance LogFormatting ForgeThreadStats where , "lastSlot" .= String (show ftsLastSlot) ] asMetrics ForgeThreadStats {..} = - [ IntM "nodeCannotForgeNum" (fromIntegral ftsNodeCannotForgeNum) - , IntM "nodeIsLeaderNum" (fromIntegral ftsNodeIsLeaderNum) - , IntM "blocksForgedNum" (fromIntegral ftsBlocksForgedNum) - , IntM "slotsMissed" (fromIntegral ftsSlotsMissedNum) - , IntM "lastSlot" (fromIntegral ftsLastSlot) + [ IntM "Forge.NodeCannotForgeNum" (fromIntegral ftsNodeCannotForgeNum) + , IntM "Forge.NodeIsLeaderNum" (fromIntegral ftsNodeIsLeaderNum) + , IntM "Forge.BlocksForgedNum" (fromIntegral ftsBlocksForgedNum) + , IntM "Forge.SlotsMissed" (fromIntegral ftsSlotsMissedNum) + , IntM "Forge.LastSlot" (fromIntegral ftsLastSlot) ] @@ -76,14 +76,16 @@ docForgeStats :: Documented docForgeStats = Documented [ DocMsg [] - [("nodeCannotForgeNum", + [("Forge.NodeCannotForgeNum", "How many times this node could not forge?") - ,("nodeIsLeaderNum", + ,("Forge.NodeIsLeaderNum", "How many times this node was leader?") - ,("blocksForgedNum", + ,("Forge.BlocksForgedNum", "How many blocks did forge in this node?") - ,("slotsMissed", + ,("Forge.SlotsMissed", "How many slots were missed in this node?") + ,("Forge.LastSlot", + "") ] "nodeCannotForgeNum shows how many times this node could not forge.\ \\nnodeIsLeaderNum shows how many times this node was leader.\ @@ -120,11 +122,11 @@ instance LogFormatting ForgingStats where , "slotsMissed" .= String (show fsSlotsMissedNum) ] asMetrics ForgingStats {..} = - [ IntM "nodeCannotForgeNum" (fromIntegral fsNodeCannotForgeNum) - , IntM "nodeIsLeaderNum" (fromIntegral fsNodeIsLeaderNum) - , IntM "blocksForgedNum" (fromIntegral fsBlocksForgedNum) - , IntM "slotsMissed" (fromIntegral fsSlotsMissedNum) - ] + [ IntM "Forge.NodeCannotForgeNum" (fromIntegral fsNodeCannotForgeNum) + , IntM "Forge.NodeIsLeaderNum" (fromIntegral fsNodeIsLeaderNum) + , IntM "Forge.BlocksForgedNum" (fromIntegral fsBlocksForgedNum) + , IntM "Forge.SlotsMissed" (fromIntegral fsSlotsMissedNum) + ] emptyForgingStats :: ForgingStats emptyForgingStats = ForgingStats mempty 0 0 0 0 diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/NodeToClient.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/NodeToClient.hs index 5e4e380be29..9934ed526ca 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/NodeToClient.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/NodeToClient.hs @@ -91,7 +91,7 @@ severityTChainSync (BlockFetch.TraceLabelPeer _ v) = severityTChainSync' v namesForTChainSync :: BlockFetch.TraceLabelPeer peer (TraceSendRecv (ChainSync (Serialised blk) (Point blk) (Tip blk))) -> [Text] -namesForTChainSync (BlockFetch.TraceLabelPeer _ v) = "NodeToClient" : namesTChainSync v +namesForTChainSync (BlockFetch.TraceLabelPeer _ v) = namesTChainSync v where namesTChainSync (TraceSendMsg msg) = "Send" : namesTChainSync' msg @@ -148,21 +148,21 @@ instance LogFormatting (AnyMessageAndAgency (ChainSync blk pt tip)) where docTChainSyncNodeToClient :: Documented (BlockFetch.TraceLabelPeer peer (TraceSendRecv (ChainSync x (Point blk) (Tip blk)))) docTChainSyncNodeToClient = - addDocumentedNamespace ["NodeToClient", "Send"] docTChainSync - `addDocs` addDocumentedNamespace ["NodeToClient", "Recieve"] docTChainSync + addDocumentedNamespace ["Send"] docTChainSync + `addDocs` addDocumentedNamespace ["Receive"] docTChainSync docTChainSyncNodeToNode :: Documented (BlockFetch.TraceLabelPeer peer (TraceSendRecv (ChainSync x (Point blk) (Tip blk)))) docTChainSyncNodeToNode = - addDocumentedNamespace ["NodeToNode", "Send"] docTChainSync - `addDocs` addDocumentedNamespace ["NodeToNode", "Recieve"] docTChainSync + addDocumentedNamespace ["Send"] docTChainSync + `addDocs` addDocumentedNamespace ["Receive"] docTChainSync docTChainSyncNodeToNodeSerisalised :: Documented (BlockFetch.TraceLabelPeer peer (TraceSendRecv (ChainSync x (Point blk) (Tip blk)))) docTChainSyncNodeToNodeSerisalised = - addDocumentedNamespace ["NodeToNode", "Send"] docTChainSync - `addDocs` addDocumentedNamespace ["NodeToNode", "Recieve"] docTChainSync + addDocumentedNamespace ["Send"] docTChainSync + `addDocs` addDocumentedNamespace ["Receive"] docTChainSync docTChainSync :: Documented (BlockFetch.TraceLabelPeer peer (TraceSendRecv @@ -171,54 +171,54 @@ docTChainSync = Documented [ DocMsg ["RequestNext"] [] - "Request the next update from the producer. The response can be a roll\ + "Request the next update from the producer. The response can be a roll \ \forward, a roll back or wait." , DocMsg ["AwaitReply"] [] - "Acknowledge the request but require the consumer to wait for the next\ - \update. This means that the consumer is synced with the producer, and\ + "Acknowledge the request but require the consumer to wait for the next \ + \update. This means that the consumer is synced with the producer, and \ \the producer is waiting for its own chain state to change." , DocMsg ["RollForward"] [] - "Tell the consumer to extend their chain with the given header.\ - \\n\ + "Tell the consumer to extend their chain with the given header. \ + \\n \ \The message also tells the consumer about the head point of the producer." , DocMsg ["RollBackward"] [] - "Tell the consumer to roll back to a given point on their chain.\ - \\n\ + "Tell the consumer to roll back to a given point on their chain. \ + \\n \ \The message also tells the consumer about the head point of the producer." , DocMsg ["FindIntersect"] [] - "Ask the producer to try to find an improved intersection point between\ - \the consumer and producer's chains. The consumer sends a sequence of\ - \points and it is up to the producer to find the first intersection point\ + "Ask the producer to try to find an improved intersection point between \ + \the consumer and producer's chains. The consumer sends a sequence of \ + \points and it is up to the producer to find the first intersection point \ \on its chain and send it back to the consumer." , DocMsg ["IntersectFound"] [] - "The reply to the consumer about an intersection found.\ - \The consumer can decide weather to send more points.\ - \\n\ + "The reply to the consumer about an intersection found. \ + \The consumer can decide weather to send more points. \ + \\n \ \The message also tells the consumer about the head point of the producer." , DocMsg ["IntersectNotFound"] [] - "The reply to the consumer that no intersection was found: none of the\ - \points the consumer supplied are on the producer chain.\ - \\n\ + "The reply to the consumer that no intersection was found: none of the \ + \points the consumer supplied are on the producer chain. \ + \\n \ \The message also tells the consumer about the head point of the producer." , DocMsg ["Done"] [] - "We have to explain to the framework what our states mean, in terms of\ - \which party has agency in each state.\ - \\n\ - \Idle states are where it is for the client to send a message,\ + "We have to explain to the framework what our states mean, in terms of \ + \which party has agency in each state. \ + \\n \ + \Idle states are where it is for the client to send a message, \ \busy states are where the server is expected to send a reply." ] @@ -312,7 +312,7 @@ docTTxMonitor :: Documented (GenTxId blk) (GenTx blk) SlotNo))) docTTxMonitor = addDocumentedNamespace ["Send"] docTState - `addDocs` addDocumentedNamespace ["Recieve"] docTState + `addDocs` addDocumentedNamespace ["Receive"] docTState -------------------------------------------------------------------------------- @@ -383,7 +383,7 @@ docTTxSubmission :: Documented (GenTx blk) (ApplyTxErr blk)))) docTTxSubmission = addDocumentedNamespace ["Send"] docTTxSubmission' - `addDocs` addDocumentedNamespace ["Recieve"] docTTxSubmission' + `addDocs` addDocumentedNamespace ["Receive"] docTTxSubmission' docTTxSubmission' :: Documented (BlockFetch.TraceLabelPeer @@ -399,12 +399,12 @@ docTTxSubmission' = Documented [ , DocMsg ["AcceptTx"] [] - "The server can reply to inform the client that it has accepted the\ + "The server can reply to inform the client that it has accepted the \ \transaction." , DocMsg ["RejectTx"] [] - "The server can reply to inform the client that it has rejected the\ + "The server can reply to inform the client that it has rejected the \ \transaction. A reason for the rejection is included." , DocMsg ["Done"] @@ -502,7 +502,7 @@ docTStateQuery :: Documented (LSQ.LocalStateQuery blk pt (Query blk)))) docTStateQuery = addDocumentedNamespace ["Send"] docTState - `addDocs` addDocumentedNamespace ["Recieve"] docTState + `addDocs` addDocumentedNamespace ["Receive"] docTState docTState :: Documented (BlockFetch.TraceLabelPeer peer @@ -512,12 +512,12 @@ docTState = Documented [ DocMsg ["Acquire"] [] - "The client requests that the state as of a particular recent point on\ - \the server's chain (within K of the tip) be made available to query,\ - \and waits for confirmation or failure.\ - \\n\ - \From 'NodeToClient_V8' onwards if the point is not specified, current tip\ - \will be acquired. For previous versions of the protocol 'point' must be\ + "The client requests that the state as of a particular recent point on \ + \the server's chain (within K of the tip) be made available to query, \ + \and waits for confirmation or failure. \ + \\n \ + \From 'NodeToClient_V8' onwards if the point is not specified, current tip \ + \will be acquired. For previous versions of the protocol 'point' must be \ \given." , DocMsg ["Acquired"] @@ -526,7 +526,7 @@ docTState = Documented [ , DocMsg ["Failure"] [] - "The server can report that it cannot obtain the state for the\ + "The server can report that it cannot obtain the state for the \ \requested point." , DocMsg ["Query"] @@ -539,21 +539,21 @@ docTState = Documented [ , DocMsg ["Release"] [] - "The client can instruct the server to release the state. This lets\ + "The client can instruct the server to release the state. This lets \ \the server free resources." , DocMsg ["ReAcquire"] [] - "This is like 'MsgAcquire' but for when the client already has a\ - \state. By moveing to another state directly without a 'MsgRelease' it\ - \enables optimisations on the server side (e.g. moving to the state for\ - \the immediate next block).\ - \\n\ - \Note that failure to re-acquire is equivalent to 'MsgRelease',\ - \rather than keeping the exiting acquired state.\ - \\n\ - \From 'NodeToClient_V8' onwards if the point is not specified, current tip\ - \will be acquired. For previous versions of the protocol 'point' must be\ + "This is like 'MsgAcquire' but for when the client already has a \ + \state. By moveing to another state directly without a 'MsgRelease' it \ + \enables optimisations on the server side (e.g. moving to the state for \ + \the immediate next block). \ + \\n \ + \Note that failure to re-acquire is equivalent to 'MsgRelease', \ + \rather than keeping the exiting acquired state. \ + \\n \ + \From 'NodeToClient_V8' onwards if the point is not specified, current tip \ + \will be acquired. For previous versions of the protocol 'point' must be \ \given." , DocMsg ["Done"] diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/NodeToNode.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/NodeToNode.hs index c006d6170ea..fe642a390ec 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/NodeToNode.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/NodeToNode.hs @@ -84,7 +84,7 @@ severityTChainSyncNode (BlockFetch.TraceLabelPeer _ v) = severityTChainSync' v namesForTChainSyncNode :: BlockFetch.TraceLabelPeer peer (TraceSendRecv (ChainSync (Header blk) (Point blk) (Tip blk))) -> [Text] -namesForTChainSyncNode (BlockFetch.TraceLabelPeer _ v) = "NodeToNode" : namesTChainSync v +namesForTChainSyncNode (BlockFetch.TraceLabelPeer _ v) = namesTChainSync v where namesTChainSync (TraceSendMsg msg) = "Send" : namesTChainSync' msg @@ -130,8 +130,7 @@ severityTChainSyncSerialised (BlockFetch.TraceLabelPeer _ v) = severityTChainSyn namesForTChainSyncSerialised :: BlockFetch.TraceLabelPeer peer (TraceSendRecv (ChainSync (SerialisedHeader blk) (Point blk) (Tip blk))) -> [Text] -namesForTChainSyncSerialised (BlockFetch.TraceLabelPeer _ v) = - "NodeToNode" : namesTChainSync v +namesForTChainSyncSerialised (BlockFetch.TraceLabelPeer _ v) = namesTChainSync v where namesTChainSync (TraceSendMsg msg) = "Send" : namesTChainSync' msg namesTChainSync (TraceRecvMsg msg) = "Receive" : namesTChainSync' msg @@ -173,8 +172,7 @@ severityTBlockFetch (BlockFetch.TraceLabelPeer _ v) = severityTBlockFetch' v namesForTBlockFetch :: BlockFetch.TraceLabelPeer peer (TraceSendRecv (BlockFetch blk (Point blk))) -> [Text] -namesForTBlockFetch (BlockFetch.TraceLabelPeer _ v) = - "NodeToNode" : namesTBlockFetch v +namesForTBlockFetch (BlockFetch.TraceLabelPeer _ v) = namesTBlockFetch v where namesTBlockFetch (TraceSendMsg msg) = "Send" : namesTBlockFetch' msg namesTBlockFetch (TraceRecvMsg msg) = "Receive" : namesTBlockFetch' msg @@ -244,8 +242,8 @@ docTBlockFetch :: Documented (TraceSendRecv (BlockFetch x (Point blk)))) docTBlockFetch = - addDocumentedNamespace ["NodeToNode", "Send"] docTBlockFetch' - `addDocs` addDocumentedNamespace ["NodeToNode", "Recieve"] docTBlockFetch' + addDocumentedNamespace ["Send"] docTBlockFetch' + `addDocs` addDocumentedNamespace ["Receive"] docTBlockFetch' docTBlockFetch' :: Documented (BlockFetch.TraceLabelPeer peer @@ -302,8 +300,7 @@ severityTBlockFetchSerialised (BlockFetch.TraceLabelPeer _ v) = severityTBlockFe namesForTBlockFetchSerialised :: BlockFetch.TraceLabelPeer peer (TraceSendRecv (BlockFetch (Serialised blk) (Point blk))) -> [Text] -namesForTBlockFetchSerialised (BlockFetch.TraceLabelPeer _ v) = - "NodeToNode" : namesTBlockFetch v +namesForTBlockFetchSerialised (BlockFetch.TraceLabelPeer _ v) = namesTBlockFetch v where namesTBlockFetch (TraceSendMsg msg) = "Send" : namesTBlockFetch' msg namesTBlockFetch (TraceRecvMsg msg) = "Receive" : namesTBlockFetch' msg @@ -400,7 +397,7 @@ severityTxSubmissionNode (BlockFetch.TraceLabelPeer _ v) = severityTxSubNode v namesForTxSubmissionNode :: BlockFetch.TraceLabelPeer peer (TraceSendRecv (TXS.TxSubmission2 (GenTxId blk) (GenTx blk))) -> [Text] namesForTxSubmissionNode (BlockFetch.TraceLabelPeer _ v) = - "NodeToNode" : namesTxSubNode v + namesTxSubNode v where namesTxSubNode (TraceSendMsg msg) = "Send" : namesTxSubNode' msg namesTxSubNode (TraceRecvMsg msg) = "Receive" : namesTxSubNode' msg @@ -461,8 +458,8 @@ docTTxSubmissionNode :: Documented (TraceSendRecv (TXS.TxSubmission2 (GenTxId blk) (GenTx blk)))) docTTxSubmissionNode = - addDocumentedNamespace ["NodeToNode", "Send"] docTTxSubmissionNode' - `addDocs` addDocumentedNamespace ["NodeToNode", "Recieve"] docTTxSubmissionNode' + addDocumentedNamespace ["Send"] docTTxSubmissionNode' + `addDocs` addDocumentedNamespace ["Receive"] docTTxSubmissionNode' docTTxSubmissionNode' :: Documented (BlockFetch.TraceLabelPeer peer @@ -472,66 +469,66 @@ docTTxSubmissionNode' = Documented [ DocMsg ["RequestTxIds"] [] - "Request a non-empty list of transaction identifiers from the client,\ - \and confirm a number of outstanding transaction identifiers.\ - \\n\ - \With 'TokBlocking' this is a a blocking operation: the response will\ - \always have at least one transaction identifier, and it does not expect\ - \a prompt response: there is no timeout. This covers the case when there\ - \is nothing else to do but wait. For example this covers leaf nodes that\ - \rarely, if ever, create and submit a transaction.\ - \\n\ - \With 'TokNonBlocking' this is a non-blocking operation: the response\ - \may be an empty list and this does expect a prompt response. This\ - \covers high throughput use cases where we wish to pipeline, by\ - \interleaving requests for additional transaction identifiers with\ - \requests for transactions, which requires these requests not block.\ - \\n\ - \The request gives the maximum number of transaction identifiers that\ - \can be accepted in the response. This must be greater than zero in the\ - \'TokBlocking' case. In the 'TokNonBlocking' case either the numbers\ - \acknowledged or the number requested must be non-zero. In either case,\ - \the number requested must not put the total outstanding over the fixed\ - \protocol limit.\ - \\n\ - \The request also gives the number of outstanding transaction\ - \identifiers that can now be acknowledged. The actual transactions\ - \to acknowledge are known to the peer based on the FIFO order in which\ - \they were provided.\ - \\n\ - \There is no choice about when to use the blocking case versus the\ - \non-blocking case, it depends on whether there are any remaining\ - \unacknowledged transactions (after taking into account the ones\ - \acknowledged in this message):\ - \\n\ - \* The blocking case must be used when there are zero remaining\ - \ unacknowledged transactions.\ + "Request a non-empty list of transaction identifiers from the client, \ + \and confirm a number of outstanding transaction identifiers. \ + \\n \ + \With 'TokBlocking' this is a a blocking operation: the response will \ + \always have at least one transaction identifier, and it does not expect \ + \a prompt response: there is no timeout. This covers the case when there \ + \is nothing else to do but wait. For example this covers leaf nodes that \ + \rarely, if ever, create and submit a transaction. \ + \\n \ + \With 'TokNonBlocking' this is a non-blocking operation: the response \ + \may be an empty list and this does expect a prompt response. This \ + \covers high throughput use cases where we wish to pipeline, by \ + \interleaving requests for additional transaction identifiers with \ + \requests for transactions, which requires these requests not block. \ + \\n \ + \The request gives the maximum number of transaction identifiers that \ + \can be accepted in the response. This must be greater than zero in the \ + \'TokBlocking' case. In the 'TokNonBlocking' case either the numbers \ + \acknowledged or the number requested must be non-zero. In either case, \ + \the number requested must not put the total outstanding over the fixed \ + \protocol limit. \ \\n\ - \* The non-blocking case must be used when there are non-zero remaining\ + \The request also gives the number of outstanding transaction \ + \identifiers that can now be acknowledged. The actual transactions \ + \to acknowledge are known to the peer based on the FIFO order in which \ + \they were provided. \ + \\n \ + \There is no choice about when to use the blocking case versus the \ + \non-blocking case, it depends on whether there are any remaining \ + \unacknowledged transactions (after taking into account the ones \ + \acknowledged in this message): \ + \\n \ + \* The blocking case must be used when there are zero remaining \ + \ unacknowledged transactions. \ + \\n \ + \* The non-blocking case must be used when there are non-zero remaining \ \ unacknowledged transactions." , DocMsg ["ReplyTxIds"] [] - "Reply with a list of transaction identifiers for available\ - \transactions, along with the size of each transaction.\ - \\n\ - \The list must not be longer than the maximum number requested.\ - \\n\ - \In the 'StTxIds' 'StBlocking' state the list must be non-empty while\ - \in the 'StTxIds' 'StNonBlocking' state the list may be empty.\ - \\n\ - \These transactions are added to the notional FIFO of outstanding\ - \transaction identifiers for the protocol.\ - \\n\ - \The order in which these transaction identifiers are returned must be\ - \the order in which they are submitted to the mempool, to preserve\ + "Reply with a list of transaction identifiers for available \ + \transactions, along with the size of each transaction. \ + \\n \ + \The list must not be longer than the maximum number requested. \ + \\n \ + \In the 'StTxIds' 'StBlocking' state the list must be non-empty while \ + \in the 'StTxIds' 'StNonBlocking' state the list may be empty. \ + \\n \ + \These transactions are added to the notional FIFO of outstanding \ + \transaction identifiers for the protocol. \ + \\n \ + \The order in which these transaction identifiers are returned must be \ + \the order in which they are submitted to the mempool, to preserve \ \dependent transactions." , DocMsg ["RequestTxs"] [] - "Request one or more transactions corresponding to the given \ - \transaction identifiers. \ - \\n\ + "Request one or more transactions corresponding to the given \ + \transaction identifiers. \ + \\n \ \While it is the responsibility of the replying peer to keep within \ \pipelining in-flight limits, the sender must also cooperate by keeping \ \the total requested across all in-flight requests within the limits. \ @@ -591,7 +588,7 @@ severityTxSubmission2Node (BlockFetch.TraceLabelPeer _ v) = severityTxSubNode v namesForTxSubmission2Node :: forall blk peer. BlockFetch.TraceLabelPeer peer (TraceSendRecv (TXS.TxSubmission2 (GenTxId blk) (GenTx blk))) -> [Text] namesForTxSubmission2Node (BlockFetch.TraceLabelPeer _ v) = - "NodeToNode" : namesTxSubNode v + namesTxSubNode v where namesTxSubNode (TraceSendMsg msg) = "Send" : namesTxSubNode' msg namesTxSubNode (TraceRecvMsg msg) = "Receive" : namesTxSubNode' msg @@ -617,8 +614,8 @@ docTTxSubmission2Node :: Documented (TraceSendRecv (TXS.TxSubmission2 (GenTxId blk) (GenTx blk)))) docTTxSubmission2Node = - addDocumentedNamespace ["NodeToNode", "Send"] docTTxSubmission2Node' - `addDocs` addDocumentedNamespace ["NodeToNode", "Recieve"] docTTxSubmission2Node' + addDocumentedNamespace ["Send"] docTTxSubmission2Node' + `addDocs` addDocumentedNamespace ["Receive"] docTTxSubmission2Node' docTTxSubmission2Node' :: Documented (BlockFetch.TraceLabelPeer peer @@ -672,52 +669,52 @@ docTTxSubmission2Node' = Documented [ , DocMsg ["ReplyTxIds"] [] - "Reply with a list of transaction identifiers for available\ - \transactions, along with the size of each transaction.\ - \\n\ - \The list must not be longer than the maximum number requested.\ - \\n\ - \In the 'StTxIds' 'StBlocking' state the list must be non-empty while\ - \in the 'StTxIds' 'StNonBlocking' state the list may be empty.\ - \\n\ - \These transactions are added to the notional FIFO of outstanding\ - \transaction identifiers for the protocol.\ - \\n\ - \The order in which these transaction identifiers are returned must be\ - \the order in which they are submitted to the mempool, to preserve\ + "Reply with a list of transaction identifiers for available \ + \transactions, along with the size of each transaction. \ + \\n \ + \The list must not be longer than the maximum number requested. \ + \\n \ + \In the 'StTxIds' 'StBlocking' state the list must be non-empty while \ + \in the 'StTxIds' 'StNonBlocking' state the list may be empty. \ + \\n \ + \These transactions are added to the notional FIFO of outstanding \ + \transaction identifiers for the protocol. \ + \\n \ + \The order in which these transaction identifiers are returned must be \ + \the order in which they are submitted to the mempool, to preserve \ \dependent transactions." , DocMsg ["RequestTxs"] [] - "Request one or more transactions corresponding to the given \ - \transaction identifiers. \ - \\n\ - \While it is the responsibility of the replying peer to keep within\ - \pipelining in-flight limits, the sender must also cooperate by keeping\ - \the total requested across all in-flight requests within the limits.\ - \\n\ - \It is an error to ask for transaction identifiers that were not\ - \previously announced (via 'MsgReplyTxIds').\ - \\n\ - \It is an error to ask for transaction identifiers that are not\ + "Request one or more transactions corresponding to the given \ + \transaction identifiers. \ + \\n \ + \While it is the responsibility of the replying peer to keep within \ + \pipelining in-flight limits, the sender must also cooperate by keeping \ + \the total requested across all in-flight requests within the limits. \ + \\n \ + \It is an error to ask for transaction identifiers that were not \ + \previously announced (via 'MsgReplyTxIds'). \ + \\n \ + \It is an error to ask for transaction identifiers that are not \ \outstanding or that were already asked for." , DocMsg ["ReplyTxs"] [] - "Reply with the requested transactions, or implicitly discard.\ - \\n\ - \Transactions can become invalid between the time the transaction\ - \identifier was sent and the transaction being requested. Invalid\ - \(including committed) transactions do not need to be sent.\ - \\n\ - \Any transaction identifiers requested but not provided in this reply\ - \should be considered as if this peer had never announced them. (Note\ - \that this is no guarantee that the transaction is invalid, it may still\ + "Reply with the requested transactions, or implicitly discard. \ + \\n \ + \Transactions can become invalid between the time the transaction \ + \identifier was sent and the transaction being requested. Invalid \ + \(including committed) transactions do not need to be sent. \ + \\n \ + \Any transaction identifiers requested but not provided in this reply \ + \should be considered as if this peer had never announced them. (Note \ + \that this is no guarantee that the transaction is invalid, it may still \ \be valid and available from another peer)." , DocMsg ["Done"] [] - "Termination message, initiated by the client when the server is\ + "Termination message, initiated by the client when the server is \ \making a blocking call for more transaction identifiers." --TODO: Can't use 'MsgKThxBye' because NodeToNodeV_2 is not introduced yet. ] diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/NonP2P.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/NonP2P.hs index e6150145a88..101d5e242a2 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/NonP2P.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/NonP2P.hs @@ -145,7 +145,7 @@ namesForSubscription SubscriptionTraceCloseSocket {} = ["CloseSocket"] namesForIPSubscription :: WithIPList (SubscriptionTrace Socket.SockAddr) -> [Text] -namesForIPSubscription(WithIPList _ _ e) = "IP" : namesForSubscription e +namesForIPSubscription(WithIPList _ _ e) = namesForSubscription e instance LogFormatting (WithIPList (SubscriptionTrace Socket.SockAddr)) where forMachine _dtal (WithIPList localAddresses dests ev) = @@ -166,7 +166,7 @@ docIPSubscription = Documented $ map withIPList (undoc docSubscription) where withIPList (DocMsg v nl comment) = DocMsg - ("IP" : v) + v nl ("IP Subscription: " <> comment) @@ -177,7 +177,7 @@ docIPSubscription = Documented $ map withIPList (undoc docSubscription) namesForDNSSubscription :: NtN.WithDomainName (SubscriptionTrace Socket.SockAddr) -> [Text] -namesForDNSSubscription(NtN.WithDomainName _ e) = "DNS" : namesForSubscription e +namesForDNSSubscription(NtN.WithDomainName _ e) = namesForSubscription e severityDNSSubscription :: NtN.WithDomainName (SubscriptionTrace Socket.SockAddr) @@ -225,7 +225,7 @@ docDNSSubscription = Documented $ map withDomainName (undoc docSubscription) where withDomainName (DocMsg v nl comment) = DocMsg - ("DNS" : v) + v nl ("DNS Subscription: " <> comment) diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/P2P.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/P2P.hs index 6c329644cd2..4e04ff11237 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/P2P.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/P2P.hs @@ -207,11 +207,9 @@ instance LogFormatting TracePublicRootPeers where ] forHuman = pack . show -docPublicRootPeers :: Documented TracePublicRootPeers -docPublicRootPeers = addDocumentedNamespace ["PublicRootPeers"] docPublicRootPeers' -docPublicRootPeers' :: Documented TracePublicRootPeers -docPublicRootPeers' = Documented [ +docPublicRootPeers :: Documented TracePublicRootPeers +docPublicRootPeers = Documented [ DocMsg ["PublicRootRelayAccessPoint"] [] @@ -623,7 +621,7 @@ instance Show peerConn => LogFormatting (DebugPeerSelection SockAddr peerConn) w docDebugPeerSelection :: Documented (DebugPeerSelection SockAddr peerConn) docDebugPeerSelection = Documented [ DocMsg - ["DebugPeerSelection", "GovernorState"] + ["GovernorState"] [] "" ] @@ -644,23 +642,23 @@ instance LogFormatting PeerSelectionCounters where forHuman = pack . show asMetrics PeerSelectionCounters {..} = [ IntM - "cardano.node.peerSelection.cold" + "Net.PeerSelection.Cold" (fromIntegral coldPeers) , IntM - "cardano.node.peerSelection.warm" + "Net.PeerSelection.Warm" (fromIntegral warmPeers) , IntM - "cardano.node.peerSelection.hot" + "Net.PeerSelection.Hot" (fromIntegral hotPeers) ] docPeerSelectionCounters :: Documented PeerSelectionCounters docPeerSelectionCounters = Documented [ DocMsg - ["PeerSelectionCounters"] - [ ("cardano.node.peerSelection.cold", "Number of cold peers") - , ("cardano.node.peerSelection.warm", "Number of warm peers") - , ("cardano.node.peerSelection.hot", "Number of hot peers") ] + [] + [ ("Net.PeerSelection.Cold", "Number of cold peers") + , ("Net.PeerSelection.Warm", "Number of warm peers") + , ("Net.PeerSelection.Hot", "Number of hot peers") ] "Counters for cold, warm and hot peers" ] @@ -928,19 +926,19 @@ instance (Show addr, Show versionNumber, Show agreedOptions, LogFormatting addr, forHuman = pack . show asMetrics (TrConnectionManagerCounters ConnectionManagerCounters {..}) = [ IntM - "cardano.node.connectionManager.fullDuplexConns" + "Net.ConnectionManager.FullDuplexConns" (fromIntegral fullDuplexConns) , IntM - "cardano.node.connectionManager.duplexConns" + "Net.ConnectionManager.DuplexConns" (fromIntegral duplexConns) , IntM - "cardano.node.connectionManager.unidirectionalConns" + "Net.ConnectionManager.UnidirectionalConns" (fromIntegral unidirectionalConns) , IntM - "cardano.node.connectionManager.inboundConns" + "Net.ConnectionManager.InboundConns" (fromIntegral inboundConns) , IntM - "cardano.node.connectionManager.outboundConns" + "Net.ConnectionManager.OutboundConns" (fromIntegral outboundConns) ] asMetrics _ = [] @@ -1060,11 +1058,11 @@ docConnectionManager' = Documented "" , DocMsg ["ConnectionManagerCounters"] - [("cardano.node.connectionManager.fullDuplexConns","") - ,("cardano.node.connectionManager.duplexConns","") - ,("cardano.node.connectionManager.unidirectionalConns","") - ,("cardano.node.connectionManager.inboundConns","") - ,("cardano.node.connectionManager.outboundConns","") + [("Net.ConnectionManager.FullDuplexConns","") + ,("Net.ConnectionManager.DuplexConns","") + ,("Net.ConnectionManager.UnidirectionalConns","") + ,("Net.ConnectionManager.InboundConns","") + ,("Net.ConnectionManager.OutboundConns","") ] "" , DocMsg @@ -1075,10 +1073,6 @@ docConnectionManager' = Documented ["UnexpectedlyFalseAssertion"] [] "" - , DocMsg - ["UnknownConnection"] - [] - "" ] -------------------------------------------------------------------------------- @@ -1238,8 +1232,7 @@ severityInboundGovernor TrRemoteState {} = Debug severityInboundGovernor InboundGovernor.TrUnexpectedlyFalseAssertion {} = Error severityInboundGovernor InboundGovernor.TrInboundGovernorError {} = Error -instance (ToJSON addr, Show addr) - => LogFormatting (InboundGovernorTrace addr) where +instance LogFormatting (InboundGovernorTrace LocalAddress) where forMachine _dtal (TrNewConnection p connId) = mconcat [ "kind" .= String "NewConnection" , "provenance" .= show p @@ -1326,33 +1319,133 @@ instance (ToJSON addr, Show addr) forHuman = pack . show asMetrics (TrInboundGovernorCounters InboundGovernorCounters {..}) = [ IntM - "cardano.node.inbound-governor.idle" + "Net.LocalInboundGovernor.Idle" (fromIntegral idlePeersRemote) , IntM - "cardano.node.inbound-governor.cold" + "Net.LocalInboundGovernor.Cold" (fromIntegral coldPeersRemote) , IntM - "cardano.node.inbound-governor.warm" + "Net.LocalInboundGovernor.Warm" (fromIntegral warmPeersRemote) , IntM - "cardano.node.inbound-governor.hot" + "Net.LocalInboundGovernor.Hot" (fromIntegral hotPeersRemote) ] asMetrics _ = [] +instance LogFormatting (InboundGovernorTrace SockAddr) where + forMachine _dtal (TrNewConnection p connId) = + mconcat [ "kind" .= String "NewConnection" + , "provenance" .= show p + , "connectionId" .= toJSON connId + ] + forMachine _dtal (TrResponderRestarted connId m) = + mconcat [ "kind" .= String "ResponderStarted" + , "connectionId" .= toJSON connId + , "miniProtocolNum" .= toJSON m + ] + forMachine _dtal (TrResponderStartFailure connId m s) = + mconcat [ "kind" .= String "ResponderStartFailure" + , "connectionId" .= toJSON connId + , "miniProtocolNum" .= toJSON m + , "reason" .= show s + ] + forMachine _dtal (TrResponderErrored connId m s) = + mconcat [ "kind" .= String "ResponderErrored" + , "connectionId" .= toJSON connId + , "miniProtocolNum" .= toJSON m + , "reason" .= show s + ] + forMachine _dtal (TrResponderStarted connId m) = + mconcat [ "kind" .= String "ResponderStarted" + , "connectionId" .= toJSON connId + , "miniProtocolNum" .= toJSON m + ] + forMachine _dtal (TrResponderTerminated connId m) = + mconcat [ "kind" .= String "ResponderTerminated" + , "connectionId" .= toJSON connId + , "miniProtocolNum" .= toJSON m + ] + forMachine _dtal (TrPromotedToWarmRemote connId opRes) = + mconcat [ "kind" .= String "PromotedToWarmRemote" + , "connectionId" .= toJSON connId + , "result" .= toJSON opRes + ] + forMachine _dtal (TrPromotedToHotRemote connId) = + mconcat [ "kind" .= String "PromotedToHotRemote" + , "connectionId" .= toJSON connId + ] + forMachine _dtal (TrDemotedToColdRemote connId od) = + mconcat [ "kind" .= String "DemotedToColdRemote" + , "connectionId" .= toJSON connId + , "result" .= show od + ] + forMachine _dtal (TrDemotedToWarmRemote connId) = + mconcat [ "kind" .= String "DemotedToWarmRemote" + , "connectionId" .= toJSON connId + ] + forMachine _dtal (TrWaitIdleRemote connId opRes) = + mconcat [ "kind" .= String "WaitIdleRemote" + , "connectionId" .= toJSON connId + , "result" .= toJSON opRes + ] + forMachine _dtal (TrMuxCleanExit connId) = + mconcat [ "kind" .= String "MuxCleanExit" + , "connectionId" .= toJSON connId + ] + forMachine _dtal (TrMuxErrored connId s) = + mconcat [ "kind" .= String "MuxErrored" + , "connectionId" .= toJSON connId + , "reason" .= show s + ] + forMachine _dtal (TrInboundGovernorCounters counters) = + mconcat [ "kind" .= String "InboundGovernorCounters" + , "idlePeers" .= idlePeersRemote counters + , "coldPeers" .= coldPeersRemote counters + , "warmPeers" .= warmPeersRemote counters + , "hotPeers" .= hotPeersRemote counters + ] + forMachine _dtal (TrRemoteState st) = + mconcat [ "kind" .= String "RemoteState" + , "remoteSt" .= toJSON st + ] + forMachine _dtal (InboundGovernor.TrUnexpectedlyFalseAssertion info) = + mconcat [ "kind" .= String "UnexpectedlyFalseAssertion" + , "remoteSt" .= String (pack . show $ info) + ] + forMachine _dtal (InboundGovernor.TrInboundGovernorError err) = + mconcat [ "kind" .= String "InboundGovernorError" + , "remoteSt" .= String (pack . show $ err) + ] + forHuman = pack . show + asMetrics (TrInboundGovernorCounters InboundGovernorCounters {..}) = + [ IntM + "Net.InboundGovernor.Idle" + (fromIntegral idlePeersRemote) + , IntM + "Net.InboundGovernor.Cold" + (fromIntegral coldPeersRemote) + , IntM + "Net.InboundGovernor.Warm" + (fromIntegral warmPeersRemote) + , IntM + "Net.InboundGovernor.Hot" + (fromIntegral hotPeersRemote) + ] + asMetrics _ = [] docInboundGovernorLocal :: Documented (InboundGovernorTrace LocalAddress) docInboundGovernorLocal = - addDocumentedNamespace [] docInboundGovernor + addDocumentedNamespace [] (docInboundGovernor True) docInboundGovernorRemote :: Documented (InboundGovernorTrace SockAddr) docInboundGovernorRemote = - addDocumentedNamespace [] docInboundGovernor + addDocumentedNamespace [] (docInboundGovernor False) -docInboundGovernor :: Documented (InboundGovernorTrace peerAddr) -docInboundGovernor = Documented +docInboundGovernor :: Bool -> Documented (InboundGovernorTrace peerAddr) +docInboundGovernor isLocal = Documented [ DocMsg ["NewConnection"] [] @@ -1409,11 +1502,19 @@ docInboundGovernor = Documented "" , DocMsg ["InboundGovernorCounters"] - [("cardano.node.inbound-governor.idle","") - ,("cardano.node.inbound-governor.cold","") - ,("cardano.node.inbound-governor.warm","") - ,("cardano.node.inbound-governor.hot","") - ] + (if isLocal + then + [("Net.LocalInboundGovernor.Idle","") + ,("Net.LocalInboundGovernor.Cold","") + ,("Net.LocalInboundGovernor.Warm","") + ,("Net.LocalInboundGovernor.Hot","") + ] + else + [("Net.InboundGovernor.Idle","") + ,("Net.InboundGovernor.Cold","") + ,("Net.InboundGovernor.Warm","") + ,("Net.InboundGovernor.Hot","") + ]) "" , DocMsg ["RemoteState"] diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/Peer.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/Peer.hs index f9670422c8c..8e3f98e0afa 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/Peer.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/Peer.hs @@ -133,7 +133,7 @@ instance LogFormatting [PeerT blk] where , "peers" .= toJSON (foldl' (\acc x -> forMachine dtal x : acc) [] xs) ] forHuman peers = Text.concat $ intersperse ", " (map ppPeer peers) - asMetrics peers = [IntM "peersFromNodeKernel" (fromIntegral (length peers))] + asMetrics peers = [IntM "Net.PeersFromNodeKernel" (fromIntegral (length peers))] instance LogFormatting (PeerT blk) where forMachine _dtal (PeerT cid _af status inflight) = @@ -149,6 +149,6 @@ docPeers :: Documented [PeerT blk] docPeers = Documented [ DocMsg [] - [("peersFromNodeKernel","TODO Doc")] - "TODO Doc" + [("Net.PeersFromNodeKernel","")] + "" ] diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/Shutdown.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/Shutdown.hs index 10147d296fc..69634f11e2c 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/Shutdown.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/Shutdown.hs @@ -25,11 +25,11 @@ import Prelude (show) namesForShutdown :: ShutdownTrace -> [Text] namesForShutdown = \case - ShutdownRequested{} -> ["ShutdownRequested"] - AbnormalShutdown{} -> ["AbnormalShutdown"] - ShutdownUnexpectedInput{} -> ["ShutdownUnexpectedInput"] - RequestingShutdown{} -> ["RequestingShutdown"] - ShutdownArmedAt{} -> ["ShutdownArmedAt"] + ShutdownRequested{} -> ["Requested"] + AbnormalShutdown{} -> ["Abnormal"] + ShutdownUnexpectedInput{} -> ["UnexpectedInput"] + RequestingShutdown{} -> ["Requesting"] + ShutdownArmedAt{} -> ["ArmedAt"] severityShutdown :: ShutdownTrace -> SeverityS severityShutdown = \case @@ -72,23 +72,23 @@ docShutdown = addDocumentedNamespace [] docShutdown' docShutdown' :: Documented ShutdownTrace docShutdown' = Documented [ DocMsg - ["ShutdownRequested"] + ["Requested"] [] "Node shutdown was requested." , DocMsg - ["AbnormalShutdown"] + ["Abnormal"] [] "non-isEOFerror shutdown request" , DocMsg - ["ShutdownUnexpectedInput"] + ["UnexpectedInput"] [] "Received shutdown request but found unexpected input in --shutdown-ipc FD: " , DocMsg - ["RequestingShutdown"] + ["Requesting"] [] "Ringing the node shutdown doorbell" , DocMsg - ["ShutdownArmedAt"] + ["ArmedAt"] [] "Setting up node shutdown at given slot / block." ] diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers/Startup.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers/Startup.hs index ced2c7af8b1..e4b23d2e2d8 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers/Startup.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers/Startup.hs @@ -123,12 +123,12 @@ getStartupInfo nc (SomeConsensusProtocol whichP pForInfo) fp = do namesStartupInfo :: StartupTrace blk -> [Text] namesStartupInfo = \case - StartupInfo {} -> ["StartupInfo"] - StartupP2PInfo {} -> ["StartupP2PInfo"] - StartupTime {} -> ["StartupTime"] - StartupNetworkMagic {} -> ["StartupNetworkMagic"] - StartupSocketConfigError {} -> ["StartupSocketConfigError"] - StartupDBValidation {} -> ["StartupDBValidation"] + StartupInfo {} -> ["Info"] + StartupP2PInfo {} -> ["P2PInfo"] + StartupTime {} -> ["Time"] + StartupNetworkMagic {} -> ["NetworkMagic"] + StartupSocketConfigError {} -> ["SocketConfigError"] + StartupDBValidation {} -> ["DBValidation"] NetworkConfigUpdate {} -> ["NetworkConfigUpdate"] NetworkConfigUpdateUnsupported -> ["NetworkConfigUpdateUnsupported"] NetworkConfigUpdateError {} -> ["NetworkConfigUpdateError"] @@ -369,27 +369,27 @@ p2pWarningDevelopmentNetworkProtocolsMessage = docStartupInfo :: Documented (StartupTrace blk) docStartupInfo = Documented [ DocMsg - ["StartupInfo"] + ["Info"] [] "" , DocMsg - ["StartupP2PInfo"] + ["P2PInfo"] [] "" , DocMsg - ["StartupTime"] + ["Time"] [] "" , DocMsg - ["StartupNetworkMagic"] + ["NetworkMagic"] [] "" , DocMsg - ["StartupSocketConfigError"] + ["SocketConfigError"] [] "" , DocMsg - ["StartupDBValidation"] + ["DBValidation"] [] "" , DocMsg diff --git a/doc/new-tracing/tracers_doc_generated.md b/doc/new-tracing/tracers_doc_generated.md index 0800ef6539f..2338044a13b 100644 --- a/doc/new-tracing/tracers_doc_generated.md +++ b/doc/new-tracing/tracers_doc_generated.md @@ -3,54 +3,49 @@ ## [Trace Messages](#trace-messages) -1. __AcceptPolicy__ - 1. [ConnectionHardLimit](#acceptpolicyconnectionhardlimit) - 1. [ConnectionLimitResume](#acceptpolicyconnectionlimitresume) - 1. [ConnectionRateLimiting](#acceptpolicyconnectionratelimiting) 1. __BlockFetch__ - 1. __NodeToNode__ - 1. __Recieve__ - 1. [BatchDone](#blockfetchnodetonoderecievebatchdone) - 1. [Block](#blockfetchnodetonoderecieveblock) - 1. [ClientDone](#blockfetchnodetonoderecieveclientdone) - 1. [NoBlocks](#blockfetchnodetonoderecievenoblocks) - 1. [RequestRange](#blockfetchnodetonoderecieverequestrange) - 1. [StartBatch](#blockfetchnodetonoderecievestartbatch) + 1. __ClientEvent__ + 1. [AcknowledgedFetchRequest](#blockfetchclienteventacknowledgedfetchrequest) + 1. [AddedFetchRequest](#blockfetchclienteventaddedfetchrequest) + 1. [ClientTerminating](#blockfetchclienteventclientterminating) + 1. [CompletedBlockFetch](#blockfetchclienteventcompletedblockfetch) + 1. [CompletedFetchBatch](#blockfetchclienteventcompletedfetchbatch) + 1. [RejectedFetchBatch](#blockfetchclienteventrejectedfetchbatch) + 1. [SendFetchRequest](#blockfetchclienteventsendfetchrequest) + 1. [StartedFetchBatch](#blockfetchclienteventstartedfetchbatch) + 1. [Decision](#blockfetchdecision) + 1. __Remote__ + 1. __Receive__ + 1. [BatchDone](#blockfetchremotereceivebatchdone) + 1. [Block](#blockfetchremotereceiveblock) + 1. [ClientDone](#blockfetchremotereceiveclientdone) + 1. [NoBlocks](#blockfetchremotereceivenoblocks) + 1. [RequestRange](#blockfetchremotereceiverequestrange) + 1. [StartBatch](#blockfetchremotereceivestartbatch) 1. __Send__ - 1. [BatchDone](#blockfetchnodetonodesendbatchdone) - 1. [Block](#blockfetchnodetonodesendblock) - 1. [ClientDone](#blockfetchnodetonodesendclientdone) - 1. [NoBlocks](#blockfetchnodetonodesendnoblocks) - 1. [RequestRange](#blockfetchnodetonodesendrequestrange) - 1. [StartBatch](#blockfetchnodetonodesendstartbatch) -1. __BlockFetchClient__ - 1. [AcknowledgedFetchRequest](#blockfetchclientacknowledgedfetchrequest) - 1. [AddedFetchRequest](#blockfetchclientaddedfetchrequest) - 1. [ClientTerminating](#blockfetchclientclientterminating) - 1. [CompletedBlockFetch](#blockfetchclientcompletedblockfetch) - 1. [CompletedFetchBatch](#blockfetchclientcompletedfetchbatch) - 1. [RejectedFetchBatch](#blockfetchclientrejectedfetchbatch) - 1. [SendFetchRequest](#blockfetchclientsendfetchrequest) - 1. [StartedFetchBatch](#blockfetchclientstartedfetchbatch) -1. [BlockFetchDecision](#blockfetchdecision) -1. __BlockFetchSerialised__ - 1. __NodeToNode__ - 1. __Recieve__ - 1. [BatchDone](#blockfetchserialisednodetonoderecievebatchdone) - 1. [Block](#blockfetchserialisednodetonoderecieveblock) - 1. [ClientDone](#blockfetchserialisednodetonoderecieveclientdone) - 1. [NoBlocks](#blockfetchserialisednodetonoderecievenoblocks) - 1. [RequestRange](#blockfetchserialisednodetonoderecieverequestrange) - 1. [StartBatch](#blockfetchserialisednodetonoderecievestartbatch) - 1. __Send__ - 1. [BatchDone](#blockfetchserialisednodetonodesendbatchdone) - 1. [Block](#blockfetchserialisednodetonodesendblock) - 1. [ClientDone](#blockfetchserialisednodetonodesendclientdone) - 1. [NoBlocks](#blockfetchserialisednodetonodesendnoblocks) - 1. [RequestRange](#blockfetchserialisednodetonodesendrequestrange) - 1. [StartBatch](#blockfetchserialisednodetonodesendstartbatch) -1. __BlockFetchServer__ - 1. [SendBlock](#blockfetchserversendblock) + 1. [BatchDone](#blockfetchremotesendbatchdone) + 1. [Block](#blockfetchremotesendblock) + 1. [ClientDone](#blockfetchremotesendclientdone) + 1. [NoBlocks](#blockfetchremotesendnoblocks) + 1. [RequestRange](#blockfetchremotesendrequestrange) + 1. [StartBatch](#blockfetchremotesendstartbatch) + 1. __Serialised__ + 1. __Receive__ + 1. [BatchDone](#blockfetchremoteserialisedreceivebatchdone) + 1. [Block](#blockfetchremoteserialisedreceiveblock) + 1. [ClientDone](#blockfetchremoteserialisedreceiveclientdone) + 1. [NoBlocks](#blockfetchremoteserialisedreceivenoblocks) + 1. [RequestRange](#blockfetchremoteserialisedreceiverequestrange) + 1. [StartBatch](#blockfetchremoteserialisedreceivestartbatch) + 1. __Send__ + 1. [BatchDone](#blockfetchremoteserialisedsendbatchdone) + 1. [Block](#blockfetchremoteserialisedsendblock) + 1. [ClientDone](#blockfetchremoteserialisedsendclientdone) + 1. [NoBlocks](#blockfetchremoteserialisedsendnoblocks) + 1. [RequestRange](#blockfetchremoteserialisedsendrequestrange) + 1. [StartBatch](#blockfetchremoteserialisedsendstartbatch) + 1. __ServerBlock__ + 1. [SendBlock](#blockfetchserverblocksendblock) 1. __BlockchainTime__ 1. [CurrentSlotUnknown](#blockchaintimecurrentslotunknown) 1. [StartTimeInTheFuture](#blockchaintimestarttimeinthefuture) @@ -151,711 +146,652 @@ 1. [StartedOpeningImmutableDB](#chaindbopeneventstartedopeningimmutabledb) 1. [StartedOpeningLgrDB](#chaindbopeneventstartedopeninglgrdb) 1. [StartedOpeningVolatileDB](#chaindbopeneventstartedopeningvolatiledb) + 1. __ReplayBlock__ + 1. [LedgerReplay](#chaindbreplayblockledgerreplay) 1. __VolatileDBEvent__ 1. [BlockAlreadyHere](#chaindbvolatiledbeventblockalreadyhere) 1. [DBAlreadyClosed](#chaindbvolatiledbeventdbalreadyclosed) 1. [InvalidFileNames](#chaindbvolatiledbeventinvalidfilenames) 1. [Truncate](#chaindbvolatiledbeventtruncate) 1. __ChainSync__ - 1. __NodeToClient__ - 1. __Recieve__ - 1. [AwaitReply](#chainsyncnodetoclientrecieveawaitreply) - 1. [Done](#chainsyncnodetoclientrecievedone) - 1. [FindIntersect](#chainsyncnodetoclientrecievefindintersect) - 1. [IntersectFound](#chainsyncnodetoclientrecieveintersectfound) - 1. [IntersectNotFound](#chainsyncnodetoclientrecieveintersectnotfound) - 1. [RequestNext](#chainsyncnodetoclientrecieverequestnext) - 1. [RollBackward](#chainsyncnodetoclientrecieverollbackward) - 1. [RollForward](#chainsyncnodetoclientrecieverollforward) - 1. __Send__ - 1. [AwaitReply](#chainsyncnodetoclientsendawaitreply) - 1. [Done](#chainsyncnodetoclientsenddone) - 1. [FindIntersect](#chainsyncnodetoclientsendfindintersect) - 1. [IntersectFound](#chainsyncnodetoclientsendintersectfound) - 1. [IntersectNotFound](#chainsyncnodetoclientsendintersectnotfound) - 1. [RequestNext](#chainsyncnodetoclientsendrequestnext) - 1. [RollBackward](#chainsyncnodetoclientsendrollbackward) - 1. [RollForward](#chainsyncnodetoclientsendrollforward) -1. __ChainSyncClient__ - 1. __ChainSyncClientEvent__ - 1. [DownloadedHeader](#chainsyncclientchainsyncclienteventdownloadedheader) - 1. [Exception](#chainsyncclientchainsyncclienteventexception) - 1. [FoundIntersection](#chainsyncclientchainsyncclienteventfoundintersection) - 1. [RolledBack](#chainsyncclientchainsyncclienteventrolledback) - 1. [Termination](#chainsyncclientchainsyncclienteventtermination) -1. __ChainSyncNode__ - 1. __NodeToNode__ - 1. __Recieve__ - 1. [AwaitReply](#chainsyncnodenodetonoderecieveawaitreply) - 1. [Done](#chainsyncnodenodetonoderecievedone) - 1. [FindIntersect](#chainsyncnodenodetonoderecievefindintersect) - 1. [IntersectFound](#chainsyncnodenodetonoderecieveintersectfound) - 1. [IntersectNotFound](#chainsyncnodenodetonoderecieveintersectnotfound) - 1. [RequestNext](#chainsyncnodenodetonoderecieverequestnext) - 1. [RollBackward](#chainsyncnodenodetonoderecieverollbackward) - 1. [RollForward](#chainsyncnodenodetonoderecieverollforward) + 1. __ClientEvent__ + 1. [DownloadedHeader](#chainsyncclienteventdownloadedheader) + 1. [Exception](#chainsyncclienteventexception) + 1. [FoundIntersection](#chainsyncclienteventfoundintersection) + 1. [RolledBack](#chainsyncclienteventrolledback) + 1. [Termination](#chainsyncclienteventtermination) + 1. __Local__ + 1. __Receive__ + 1. [AwaitReply](#chainsynclocalreceiveawaitreply) + 1. [Done](#chainsynclocalreceivedone) + 1. [FindIntersect](#chainsynclocalreceivefindintersect) + 1. [IntersectFound](#chainsynclocalreceiveintersectfound) + 1. [IntersectNotFound](#chainsynclocalreceiveintersectnotfound) + 1. [RequestNext](#chainsynclocalreceiverequestnext) + 1. [RollBackward](#chainsynclocalreceiverollbackward) + 1. [RollForward](#chainsynclocalreceiverollforward) 1. __Send__ - 1. [AwaitReply](#chainsyncnodenodetonodesendawaitreply) - 1. [Done](#chainsyncnodenodetonodesenddone) - 1. [FindIntersect](#chainsyncnodenodetonodesendfindintersect) - 1. [IntersectFound](#chainsyncnodenodetonodesendintersectfound) - 1. [IntersectNotFound](#chainsyncnodenodetonodesendintersectnotfound) - 1. [RequestNext](#chainsyncnodenodetonodesendrequestnext) - 1. [RollBackward](#chainsyncnodenodetonodesendrollbackward) - 1. [RollForward](#chainsyncnodenodetonodesendrollforward) -1. __ChainSyncSerialised__ - 1. __NodeToNode__ - 1. __Recieve__ - 1. [AwaitReply](#chainsyncserialisednodetonoderecieveawaitreply) - 1. [Done](#chainsyncserialisednodetonoderecievedone) - 1. [FindIntersect](#chainsyncserialisednodetonoderecievefindintersect) - 1. [IntersectFound](#chainsyncserialisednodetonoderecieveintersectfound) - 1. [IntersectNotFound](#chainsyncserialisednodetonoderecieveintersectnotfound) - 1. [RequestNext](#chainsyncserialisednodetonoderecieverequestnext) - 1. [RollBackward](#chainsyncserialisednodetonoderecieverollbackward) - 1. [RollForward](#chainsyncserialisednodetonoderecieverollforward) + 1. [AwaitReply](#chainsynclocalsendawaitreply) + 1. [Done](#chainsynclocalsenddone) + 1. [FindIntersect](#chainsynclocalsendfindintersect) + 1. [IntersectFound](#chainsynclocalsendintersectfound) + 1. [IntersectNotFound](#chainsynclocalsendintersectnotfound) + 1. [RequestNext](#chainsynclocalsendrequestnext) + 1. [RollBackward](#chainsynclocalsendrollbackward) + 1. [RollForward](#chainsynclocalsendrollforward) + 1. __Remote__ + 1. __Receive__ + 1. [AwaitReply](#chainsyncremotereceiveawaitreply) + 1. [Done](#chainsyncremotereceivedone) + 1. [FindIntersect](#chainsyncremotereceivefindintersect) + 1. [IntersectFound](#chainsyncremotereceiveintersectfound) + 1. [IntersectNotFound](#chainsyncremotereceiveintersectnotfound) + 1. [RequestNext](#chainsyncremotereceiverequestnext) + 1. [RollBackward](#chainsyncremotereceiverollbackward) + 1. [RollForward](#chainsyncremotereceiverollforward) 1. __Send__ - 1. [AwaitReply](#chainsyncserialisednodetonodesendawaitreply) - 1. [Done](#chainsyncserialisednodetonodesenddone) - 1. [FindIntersect](#chainsyncserialisednodetonodesendfindintersect) - 1. [IntersectFound](#chainsyncserialisednodetonodesendintersectfound) - 1. [IntersectNotFound](#chainsyncserialisednodetonodesendintersectnotfound) - 1. [RequestNext](#chainsyncserialisednodetonodesendrequestnext) - 1. [RollBackward](#chainsyncserialisednodetonodesendrollbackward) - 1. [RollForward](#chainsyncserialisednodetonodesendrollforward) -1. __ChainSyncServerBlock__ - 1. __ChainSyncServerEvent__ - 1. __ServerRead__ - 1. [RollBackward](#chainsyncserverblockchainsyncservereventserverreadrollbackward) - 1. [RollForward](#chainsyncserverblockchainsyncservereventserverreadrollforward) - 1. [ServerRead](#chainsyncserverblockchainsyncservereventserverreadserverread) - 1. [ServerReadBlocked](#chainsyncserverblockchainsyncservereventserverreadserverreadblocked) -1. __ChainSyncServerHeader__ - 1. __ChainSyncServerEvent__ - 1. __ServerRead__ - 1. [RollBackward](#chainsyncserverheaderchainsyncservereventserverreadrollbackward) - 1. [RollForward](#chainsyncserverheaderchainsyncservereventserverreadrollforward) - 1. [ServerRead](#chainsyncserverheaderchainsyncservereventserverreadserverread) - 1. [ServerReadBlocked](#chainsyncserverheaderchainsyncservereventserverreadserverreadblocked) -1. __ConnectionManager__ - 1. [Connect](#connectionmanagerconnect) - 1. [ConnectError](#connectionmanagerconnecterror) - 1. [ConnectionCleanup](#connectionmanagerconnectioncleanup) - 1. [ConnectionExists](#connectionmanagerconnectionexists) - 1. [ConnectionFailure](#connectionmanagerconnectionfailure) - 1. [ConnectionHandler](#connectionmanagerconnectionhandler) - 1. [ConnectionManagerCounters](#connectionmanagerconnectionmanagercounters) - 1. [ConnectionNotFound](#connectionmanagerconnectionnotfound) - 1. [ConnectionTimeWait](#connectionmanagerconnectiontimewait) - 1. [ConnectionTimeWaitDone](#connectionmanagerconnectiontimewaitdone) - 1. [ForbiddenConnection](#connectionmanagerforbiddenconnection) - 1. [ForbiddenOperation](#connectionmanagerforbiddenoperation) - 1. [ImpossibleConnection](#connectionmanagerimpossibleconnection) - 1. [IncludeConnection](#connectionmanagerincludeconnection) - 1. [PruneConnections](#connectionmanagerpruneconnections) - 1. [Shutdown](#connectionmanagershutdown) - 1. [State](#connectionmanagerstate) - 1. [TerminatedConnection](#connectionmanagerterminatedconnection) - 1. [TerminatingConnection](#connectionmanagerterminatingconnection) - 1. [UnexpectedlyFalseAssertion](#connectionmanagerunexpectedlyfalseassertion) - 1. [UnknownConnection](#connectionmanagerunknownconnection) - 1. [UnregisterConnection](#connectionmanagerunregisterconnection) -1. __ConnectionManagerTransition__ - 1. [ConnectionManagerTransition](#connectionmanagertransitionconnectionmanagertransition) -1. __DNSResolver__ - 1. [LookupAAAAError](#dnsresolverlookupaaaaerror) - 1. [LookupAAAAResult](#dnsresolverlookupaaaaresult) - 1. [LookupAError](#dnsresolverlookupaerror) - 1. [LookupAResult](#dnsresolverlookuparesult) - 1. [LookupException](#dnsresolverlookupexception) - 1. [LookupIPv4First](#dnsresolverlookupipv4first) - 1. [LookupIPv6First](#dnsresolverlookupipv6first) -1. __DNSSubscription__ - 1. __DNS__ - 1. [AllocateSocket](#dnssubscriptiondnsallocatesocket) - 1. [ApplicationException](#dnssubscriptiondnsapplicationexception) - 1. [CloseSocket](#dnssubscriptiondnsclosesocket) - 1. [ConnectEnd](#dnssubscriptiondnsconnectend) - 1. [ConnectException](#dnssubscriptiondnsconnectexception) - 1. [ConnectStart](#dnssubscriptiondnsconnectstart) - 1. [ConnectionExist](#dnssubscriptiondnsconnectionexist) - 1. [MissingLocalAddress](#dnssubscriptiondnsmissinglocaladdress) - 1. [Restart](#dnssubscriptiondnsrestart) - 1. [SkippingPeer](#dnssubscriptiondnsskippingpeer) - 1. [SocketAllocationException](#dnssubscriptiondnssocketallocationexception) - 1. [Start](#dnssubscriptiondnsstart) - 1. [SubscriptionFailed](#dnssubscriptiondnssubscriptionfailed) - 1. [SubscriptionRunning](#dnssubscriptiondnssubscriptionrunning) - 1. [SubscriptionWaiting](#dnssubscriptiondnssubscriptionwaiting) - 1. [SubscriptionWaitingNewConnection](#dnssubscriptiondnssubscriptionwaitingnewconnection) - 1. [TryConnectToPeer](#dnssubscriptiondnstryconnecttopeer) - 1. [UnsupportedRemoteAddr](#dnssubscriptiondnsunsupportedremoteaddr) -1. __DebugPeerSelection__ - 1. __DebugPeerSelection__ - 1. [GovernorState](#debugpeerselectiondebugpeerselectiongovernorstate) -1. __DebugPeerSelectionResponder__ - 1. __DebugPeerSelection__ - 1. [GovernorState](#debugpeerselectionresponderdebugpeerselectiongovernorstate) -1. __DiffusionInit__ - 1. [ConfiguringLocalSocket](#diffusioninitconfiguringlocalsocket) - 1. [ConfiguringServerSocket](#diffusioninitconfiguringserversocket) - 1. [CreateSystemdSocketForSnocketPath](#diffusioninitcreatesystemdsocketforsnocketpath) - 1. [CreatedLocalSocket](#diffusioninitcreatedlocalsocket) - 1. [CreatingServerSocket](#diffusioninitcreatingserversocket) - 1. [DiffusionErrored](#diffusioninitdiffusionerrored) - 1. [ListeningLocalSocket](#diffusioninitlisteninglocalsocket) - 1. [ListeningServerSocket](#diffusioninitlisteningserversocket) - 1. [LocalSocketUp](#diffusioninitlocalsocketup) - 1. [RunLocalServer](#diffusioninitrunlocalserver) - 1. [RunServer](#diffusioninitrunserver) - 1. [ServerSocketUp](#diffusioninitserversocketup) - 1. [UnsupportedLocalSystemdSocket](#diffusioninitunsupportedlocalsystemdsocket) - 1. [UnsupportedReadySocketCase](#diffusioninitunsupportedreadysocketcase) - 1. [UsingSystemdSocket](#diffusioninitusingsystemdsocket) -1. __ErrorPolicy__ - 1. [AcceptException](#errorpolicyacceptexception) - 1. [KeepSuspended](#errorpolicykeepsuspended) - 1. [LocalNodeError](#errorpolicylocalnodeerror) - 1. [ResumeConsumer](#errorpolicyresumeconsumer) - 1. [ResumePeer](#errorpolicyresumepeer) - 1. [ResumeProducer](#errorpolicyresumeproducer) - 1. [SuspendConsumer](#errorpolicysuspendconsumer) - 1. [SuspendPeer](#errorpolicysuspendpeer) - 1. [UnhandledApplicationException](#errorpolicyunhandledapplicationexception) - 1. [UnhandledConnectionException](#errorpolicyunhandledconnectionexception) + 1. [AwaitReply](#chainsyncremotesendawaitreply) + 1. [Done](#chainsyncremotesenddone) + 1. [FindIntersect](#chainsyncremotesendfindintersect) + 1. [IntersectFound](#chainsyncremotesendintersectfound) + 1. [IntersectNotFound](#chainsyncremotesendintersectnotfound) + 1. [RequestNext](#chainsyncremotesendrequestnext) + 1. [RollBackward](#chainsyncremotesendrollbackward) + 1. [RollForward](#chainsyncremotesendrollforward) + 1. __Serialised__ + 1. __Receive__ + 1. [AwaitReply](#chainsyncremoteserialisedreceiveawaitreply) + 1. [Done](#chainsyncremoteserialisedreceivedone) + 1. [FindIntersect](#chainsyncremoteserialisedreceivefindintersect) + 1. [IntersectFound](#chainsyncremoteserialisedreceiveintersectfound) + 1. [IntersectNotFound](#chainsyncremoteserialisedreceiveintersectnotfound) + 1. [RequestNext](#chainsyncremoteserialisedreceiverequestnext) + 1. [RollBackward](#chainsyncremoteserialisedreceiverollbackward) + 1. [RollForward](#chainsyncremoteserialisedreceiverollforward) + 1. __Send__ + 1. [AwaitReply](#chainsyncremoteserialisedsendawaitreply) + 1. [Done](#chainsyncremoteserialisedsenddone) + 1. [FindIntersect](#chainsyncremoteserialisedsendfindintersect) + 1. [IntersectFound](#chainsyncremoteserialisedsendintersectfound) + 1. [IntersectNotFound](#chainsyncremoteserialisedsendintersectnotfound) + 1. [RequestNext](#chainsyncremoteserialisedsendrequestnext) + 1. [RollBackward](#chainsyncremoteserialisedsendrollbackward) + 1. [RollForward](#chainsyncremoteserialisedsendrollforward) + 1. __ServerBlock__ + 1. [Update](#chainsyncserverblockupdate) + 1. __ServerHeader__ + 1. [Update](#chainsyncserverheaderupdate) 1. __Forge__ - 1. [AdoptedBlock](#forgeadoptedblock) - 1. [BlockContext](#forgeblockcontext) - 1. [BlockFromFuture](#forgeblockfromfuture) - 1. [DidntAdoptBlock](#forgedidntadoptblock) - 1. [ForgeStateUpdateError](#forgeforgestateupdateerror) - 1. [ForgedBlock](#forgeforgedblock) - 1. [ForgedInvalidBlock](#forgeforgedinvalidblock) - 1. [LedgerState](#forgeledgerstate) - 1. [LedgerView](#forgeledgerview) - 1. [NoLedgerState](#forgenoledgerstate) - 1. [NoLedgerView](#forgenoledgerview) - 1. [NodeCannotForge](#forgenodecannotforge) - 1. [NodeIsLeader](#forgenodeisleader) - 1. [NodeNotLeader](#forgenodenotleader) - 1. [SlotIsImmutable](#forgeslotisimmutable) - 1. [StartLeadershipCheck](#forgestartleadershipcheck) - 1. [StartLeadershipCheckPlus](#forgestartleadershipcheckplus) -1. [ForgeStateInfo](#forgestateinfo) -1. [ForgeStats](#forgestats) -1. __Handshake__ - 1. __Receive__ - 1. [AcceptVersion](#handshakereceiveacceptversion) - 1. [ProposeVersions](#handshakereceiveproposeversions) - 1. [Refuse](#handshakereceiverefuse) - 1. [ReplyVersions](#handshakereceivereplyversions) - 1. __Send__ - 1. [AcceptVersion](#handshakesendacceptversion) - 1. [ProposeVersions](#handshakesendproposeversions) - 1. [Refuse](#handshakesendrefuse) - 1. [ReplyVersions](#handshakesendreplyversions) -1. __InboundGovernor__ - 1. [DemotedToColdRemote](#inboundgovernordemotedtocoldremote) - 1. [DemotedToWarmRemote](#inboundgovernordemotedtowarmremote) - 1. [InboundGovernorCounters](#inboundgovernorinboundgovernorcounters) - 1. [InboundGovernorError](#inboundgovernorinboundgovernorerror) - 1. [MuxCleanExit](#inboundgovernormuxcleanexit) - 1. [MuxErrored](#inboundgovernormuxerrored) - 1. [NewConnection](#inboundgovernornewconnection) - 1. [PromotedToHotRemote](#inboundgovernorpromotedtohotremote) - 1. [PromotedToWarmRemote](#inboundgovernorpromotedtowarmremote) - 1. [RemoteState](#inboundgovernorremotestate) - 1. [ResponderErrored](#inboundgovernorrespondererrored) - 1. [ResponderRestarted](#inboundgovernorresponderrestarted) - 1. [ResponderStartFailure](#inboundgovernorresponderstartfailure) - 1. [ResponderStarted](#inboundgovernorresponderstarted) - 1. [ResponderTerminated](#inboundgovernorresponderterminated) - 1. [UnexpectedlyFalseAssertion](#inboundgovernorunexpectedlyfalseassertion) - 1. [WaitIdleRemote](#inboundgovernorwaitidleremote) -1. __InboundGovernorTransition__ - 1. [InboundGovernorTransition](#inboundgovernortransitioninboundgovernortransition) -1. __IpSubscription__ - 1. __IP__ - 1. [AllocateSocket](#ipsubscriptionipallocatesocket) - 1. [ApplicationException](#ipsubscriptionipapplicationexception) - 1. [CloseSocket](#ipsubscriptionipclosesocket) - 1. [ConnectEnd](#ipsubscriptionipconnectend) - 1. [ConnectException](#ipsubscriptionipconnectexception) - 1. [ConnectStart](#ipsubscriptionipconnectstart) - 1. [ConnectionExist](#ipsubscriptionipconnectionexist) - 1. [MissingLocalAddress](#ipsubscriptionipmissinglocaladdress) - 1. [Restart](#ipsubscriptioniprestart) - 1. [SkippingPeer](#ipsubscriptionipskippingpeer) - 1. [SocketAllocationException](#ipsubscriptionipsocketallocationexception) - 1. [Start](#ipsubscriptionipstart) - 1. [SubscriptionFailed](#ipsubscriptionipsubscriptionfailed) - 1. [SubscriptionRunning](#ipsubscriptionipsubscriptionrunning) - 1. [SubscriptionWaiting](#ipsubscriptionipsubscriptionwaiting) - 1. [SubscriptionWaitingNewConnection](#ipsubscriptionipsubscriptionwaitingnewconnection) - 1. [TryConnectToPeer](#ipsubscriptioniptryconnecttopeer) - 1. [UnsupportedRemoteAddr](#ipsubscriptionipunsupportedremoteaddr) -1. [KeepAliveClient](#keepaliveclient) -1. __LedgerPeers__ - 1. [DisabledLedgerPeers](#ledgerpeersdisabledledgerpeers) - 1. [FallingBackToBootstrapPeers](#ledgerpeersfallingbacktobootstrappeers) - 1. [FetchingNewLedgerState](#ledgerpeersfetchingnewledgerstate) - 1. [PickedPeer](#ledgerpeerspickedpeer) - 1. [PickedPeers](#ledgerpeerspickedpeers) - 1. [RequestForPeers](#ledgerpeersrequestforpeers) - 1. [ReusingLedgerState](#ledgerpeersreusingledgerstate) - 1. [TraceUseLedgerAfter](#ledgerpeerstraceuseledgerafter) - 1. [WaitingOnRequest](#ledgerpeerswaitingonrequest) -1. __LocalConnectionManager__ - 1. [Connect](#localconnectionmanagerconnect) - 1. [ConnectError](#localconnectionmanagerconnecterror) - 1. [ConnectionCleanup](#localconnectionmanagerconnectioncleanup) - 1. [ConnectionExists](#localconnectionmanagerconnectionexists) - 1. [ConnectionFailure](#localconnectionmanagerconnectionfailure) - 1. [ConnectionHandler](#localconnectionmanagerconnectionhandler) - 1. [ConnectionManagerCounters](#localconnectionmanagerconnectionmanagercounters) - 1. [ConnectionNotFound](#localconnectionmanagerconnectionnotfound) - 1. [ConnectionTimeWait](#localconnectionmanagerconnectiontimewait) - 1. [ConnectionTimeWaitDone](#localconnectionmanagerconnectiontimewaitdone) - 1. [ForbiddenConnection](#localconnectionmanagerforbiddenconnection) - 1. [ForbiddenOperation](#localconnectionmanagerforbiddenoperation) - 1. [ImpossibleConnection](#localconnectionmanagerimpossibleconnection) - 1. [IncludeConnection](#localconnectionmanagerincludeconnection) - 1. [PruneConnections](#localconnectionmanagerpruneconnections) - 1. [Shutdown](#localconnectionmanagershutdown) - 1. [State](#localconnectionmanagerstate) - 1. [TerminatedConnection](#localconnectionmanagerterminatedconnection) - 1. [TerminatingConnection](#localconnectionmanagerterminatingconnection) - 1. [UnexpectedlyFalseAssertion](#localconnectionmanagerunexpectedlyfalseassertion) - 1. [UnknownConnection](#localconnectionmanagerunknownconnection) - 1. [UnregisterConnection](#localconnectionmanagerunregisterconnection) -1. __LocalErrorPolicy__ - 1. [AcceptException](#localerrorpolicyacceptexception) - 1. [KeepSuspended](#localerrorpolicykeepsuspended) - 1. [LocalNodeError](#localerrorpolicylocalnodeerror) - 1. [ResumeConsumer](#localerrorpolicyresumeconsumer) - 1. [ResumePeer](#localerrorpolicyresumepeer) - 1. [ResumeProducer](#localerrorpolicyresumeproducer) - 1. [SuspendConsumer](#localerrorpolicysuspendconsumer) - 1. [SuspendPeer](#localerrorpolicysuspendpeer) - 1. [UnhandledApplicationException](#localerrorpolicyunhandledapplicationexception) - 1. [UnhandledConnectionException](#localerrorpolicyunhandledconnectionexception) -1. __LocalHandshake__ - 1. __Receive__ - 1. [AcceptVersion](#localhandshakereceiveacceptversion) - 1. [ProposeVersions](#localhandshakereceiveproposeversions) - 1. [Refuse](#localhandshakereceiverefuse) - 1. [ReplyVersions](#localhandshakereceivereplyversions) - 1. __Send__ - 1. [AcceptVersion](#localhandshakesendacceptversion) - 1. [ProposeVersions](#localhandshakesendproposeversions) - 1. [Refuse](#localhandshakesendrefuse) - 1. [ReplyVersions](#localhandshakesendreplyversions) -1. __LocalInboundGovernor__ - 1. [DemotedToColdRemote](#localinboundgovernordemotedtocoldremote) - 1. [DemotedToWarmRemote](#localinboundgovernordemotedtowarmremote) - 1. [InboundGovernorCounters](#localinboundgovernorinboundgovernorcounters) - 1. [InboundGovernorError](#localinboundgovernorinboundgovernorerror) - 1. [MuxCleanExit](#localinboundgovernormuxcleanexit) - 1. [MuxErrored](#localinboundgovernormuxerrored) - 1. [NewConnection](#localinboundgovernornewconnection) - 1. [PromotedToHotRemote](#localinboundgovernorpromotedtohotremote) - 1. [PromotedToWarmRemote](#localinboundgovernorpromotedtowarmremote) - 1. [RemoteState](#localinboundgovernorremotestate) - 1. [ResponderErrored](#localinboundgovernorrespondererrored) - 1. [ResponderRestarted](#localinboundgovernorresponderrestarted) - 1. [ResponderStartFailure](#localinboundgovernorresponderstartfailure) - 1. [ResponderStarted](#localinboundgovernorresponderstarted) - 1. [ResponderTerminated](#localinboundgovernorresponderterminated) - 1. [UnexpectedlyFalseAssertion](#localinboundgovernorunexpectedlyfalseassertion) - 1. [WaitIdleRemote](#localinboundgovernorwaitidleremote) -1. __LocalRootPeers__ - 1. [LocalRootDomains](#localrootpeerslocalrootdomains) - 1. [LocalRootError](#localrootpeerslocalrooterror) - 1. [LocalRootFailure](#localrootpeerslocalrootfailure) - 1. [LocalRootGroups](#localrootpeerslocalrootgroups) - 1. [LocalRootResult](#localrootpeerslocalrootresult) - 1. [LocalRootWaiting](#localrootpeerslocalrootwaiting) -1. __LocalServer__ - 1. [AcceptConnection](#localserveracceptconnection) - 1. [AcceptError](#localserveraccepterror) - 1. [AcceptPolicy](#localserveracceptpolicy) - 1. [Error](#localservererror) - 1. [Started](#localserverstarted) - 1. [Stopped](#localserverstopped) -1. __LocalTxSubmissionServer__ - 1. [ReceivedTx](#localtxsubmissionserverreceivedtx) + 1. [KESInfo](#forgekesinfo) + 1. __StateInfo__ + 1. [AdoptedBlock](#forgestateinfoadoptedblock) + 1. [BlockContext](#forgestateinfoblockcontext) + 1. [BlockFromFuture](#forgestateinfoblockfromfuture) + 1. [DidntAdoptBlock](#forgestateinfodidntadoptblock) + 1. [ForgeStateUpdateError](#forgestateinfoforgestateupdateerror) + 1. [ForgedBlock](#forgestateinfoforgedblock) + 1. [ForgedInvalidBlock](#forgestateinfoforgedinvalidblock) + 1. [LedgerState](#forgestateinfoledgerstate) + 1. [LedgerView](#forgestateinfoledgerview) + 1. [NoLedgerState](#forgestateinfonoledgerstate) + 1. [NoLedgerView](#forgestateinfonoledgerview) + 1. [NodeCannotForge](#forgestateinfonodecannotforge) + 1. [NodeIsLeader](#forgestateinfonodeisleader) + 1. [NodeNotLeader](#forgestateinfonodenotleader) + 1. [SlotIsImmutable](#forgestateinfoslotisimmutable) + 1. [StartLeadershipCheck](#forgestateinfostartleadershipcheck) + 1. [StartLeadershipCheckPlus](#forgestateinfostartleadershipcheckplus) + 1. [Stats](#forgestats) 1. __Mempool__ 1. [AddedTx](#mempooladdedtx) 1. [ManuallyRemovedTxs](#mempoolmanuallyremovedtxs) 1. [RejectedTx](#mempoolrejectedtx) 1. [RemoveTxs](#mempoolremovetxs) -1. __Mux__ - 1. [ChannelRecvEnd](#muxchannelrecvend) - 1. [ChannelRecvStart](#muxchannelrecvstart) - 1. [ChannelSendEnd](#muxchannelsendend) - 1. [ChannelSendStart](#muxchannelsendstart) - 1. [CleanExit](#muxcleanexit) - 1. [ExceptionExit](#muxexceptionexit) - 1. [HandshakeClientEnd](#muxhandshakeclientend) - 1. [HandshakeClientError](#muxhandshakeclienterror) - 1. [HandshakeServerEnd](#muxhandshakeserverend) - 1. [HandshakeServerError](#muxhandshakeservererror) - 1. [HandshakeStart](#muxhandshakestart) - 1. [RecvDeltaQObservation](#muxrecvdeltaqobservation) - 1. [RecvDeltaQSample](#muxrecvdeltaqsample) - 1. [RecvEnd](#muxrecvend) - 1. [RecvHeaderEnd](#muxrecvheaderend) - 1. [RecvHeaderStart](#muxrecvheaderstart) - 1. [RecvStart](#muxrecvstart) - 1. [SDUReadTimeoutException](#muxsdureadtimeoutexception) - 1. [SDUWriteTimeoutException](#muxsduwritetimeoutexception) - 1. [SendEnd](#muxsendend) - 1. [SendStart](#muxsendstart) - 1. [Shutdown](#muxshutdown) - 1. [StartEagerly](#muxstarteagerly) - 1. [StartOnDemand](#muxstartondemand) - 1. [StartedOnDemand](#muxstartedondemand) - 1. [State](#muxstate) - 1. [TCPInfo](#muxtcpinfo) - 1. [Terminating](#muxterminating) -1. __MuxLocal__ - 1. [ChannelRecvEnd](#muxlocalchannelrecvend) - 1. [ChannelRecvStart](#muxlocalchannelrecvstart) - 1. [ChannelSendEnd](#muxlocalchannelsendend) - 1. [ChannelSendStart](#muxlocalchannelsendstart) - 1. [CleanExit](#muxlocalcleanexit) - 1. [ExceptionExit](#muxlocalexceptionexit) - 1. [HandshakeClientEnd](#muxlocalhandshakeclientend) - 1. [HandshakeClientError](#muxlocalhandshakeclienterror) - 1. [HandshakeServerEnd](#muxlocalhandshakeserverend) - 1. [HandshakeServerError](#muxlocalhandshakeservererror) - 1. [HandshakeStart](#muxlocalhandshakestart) - 1. [RecvDeltaQObservation](#muxlocalrecvdeltaqobservation) - 1. [RecvDeltaQSample](#muxlocalrecvdeltaqsample) - 1. [RecvEnd](#muxlocalrecvend) - 1. [RecvHeaderEnd](#muxlocalrecvheaderend) - 1. [RecvHeaderStart](#muxlocalrecvheaderstart) - 1. [RecvStart](#muxlocalrecvstart) - 1. [SDUReadTimeoutException](#muxlocalsdureadtimeoutexception) - 1. [SDUWriteTimeoutException](#muxlocalsduwritetimeoutexception) - 1. [SendEnd](#muxlocalsendend) - 1. [SendStart](#muxlocalsendstart) - 1. [Shutdown](#muxlocalshutdown) - 1. [StartEagerly](#muxlocalstarteagerly) - 1. [StartOnDemand](#muxlocalstartondemand) - 1. [StartedOnDemand](#muxlocalstartedondemand) - 1. [State](#muxlocalstate) - 1. [TCPInfo](#muxlocaltcpinfo) - 1. [Terminating](#muxlocalterminating) -1. __PeerSelection__ - 1. [ChurnMode](#peerselectionchurnmode) - 1. [ChurnWait](#peerselectionchurnwait) - 1. [DemoteAsynchronous](#peerselectiondemoteasynchronous) - 1. [DemoteHotDone](#peerselectiondemotehotdone) - 1. [DemoteHotFailed](#peerselectiondemotehotfailed) - 1. [DemoteHotPeers](#peerselectiondemotehotpeers) - 1. [DemoteLocalHotPeers](#peerselectiondemotelocalhotpeers) - 1. [DemoteWarmDone](#peerselectiondemotewarmdone) - 1. [DemoteWarmFailed](#peerselectiondemotewarmfailed) - 1. [DemoteWarmPeers](#peerselectiondemotewarmpeers) - 1. [ForgetColdPeers](#peerselectionforgetcoldpeers) - 1. [GossipRequests](#peerselectiongossiprequests) - 1. [GossipResults](#peerselectiongossipresults) - 1. [GovernorWakeup](#peerselectiongovernorwakeup) - 1. [LocalRootPeersChanged](#peerselectionlocalrootpeerschanged) - 1. [PromoteColdDone](#peerselectionpromotecolddone) - 1. [PromoteColdFailed](#peerselectionpromotecoldfailed) - 1. [PromoteColdLocalPeers](#peerselectionpromotecoldlocalpeers) - 1. [PromoteColdPeers](#peerselectionpromotecoldpeers) - 1. [PromoteWarmAborted](#peerselectionpromotewarmaborted) - 1. [PromoteWarmDone](#peerselectionpromotewarmdone) - 1. [PromoteWarmFailed](#peerselectionpromotewarmfailed) - 1. [PromoteWarmLocalPeers](#peerselectionpromotewarmlocalpeers) - 1. [PromoteWarmPeers](#peerselectionpromotewarmpeers) - 1. [PublicRootsFailure](#peerselectionpublicrootsfailure) - 1. [PublicRootsRequest](#peerselectionpublicrootsrequest) - 1. [PublicRootsResults](#peerselectionpublicrootsresults) - 1. [TargetsChanged](#peerselectiontargetschanged) -1. __PeerSelectionActions__ - 1. [MonitoringError](#peerselectionactionsmonitoringerror) - 1. [MonitoringResult](#peerselectionactionsmonitoringresult) - 1. [StatusChangeFailure](#peerselectionactionsstatuschangefailure) - 1. [StatusChanged](#peerselectionactionsstatuschanged) -1. __PeerSelectionCounters__ - 1. [PeerSelectionCounters](#peerselectioncounterspeerselectioncounters) -1. [Peers](#peers) -1. __PublicRootPeers__ - 1. __PublicRootPeers__ - 1. [PublicRootDomains](#publicrootpeerspublicrootpeerspublicrootdomains) - 1. [PublicRootFailure](#publicrootpeerspublicrootpeerspublicrootfailure) - 1. [PublicRootRelayAccessPoint](#publicrootpeerspublicrootpeerspublicrootrelayaccesspoint) - 1. [PublicRootResult](#publicrootpeerspublicrootpeerspublicrootresult) -1. __ReplayBlock__ - 1. [LedgerReplay](#replayblockledgerreplay) +1. __Net__ + 1. __AcceptPolicy__ + 1. [ConnectionHardLimit](#netacceptpolicyconnectionhardlimit) + 1. [ConnectionLimitResume](#netacceptpolicyconnectionlimitresume) + 1. [ConnectionRateLimiting](#netacceptpolicyconnectionratelimiting) + 1. __ConnectionManager__ + 1. __Local__ + 1. [Connect](#netconnectionmanagerlocalconnect) + 1. [ConnectError](#netconnectionmanagerlocalconnecterror) + 1. [ConnectionCleanup](#netconnectionmanagerlocalconnectioncleanup) + 1. [ConnectionExists](#netconnectionmanagerlocalconnectionexists) + 1. [ConnectionFailure](#netconnectionmanagerlocalconnectionfailure) + 1. [ConnectionHandler](#netconnectionmanagerlocalconnectionhandler) + 1. [ConnectionManagerCounters](#netconnectionmanagerlocalconnectionmanagercounters) + 1. [ConnectionNotFound](#netconnectionmanagerlocalconnectionnotfound) + 1. [ConnectionTimeWait](#netconnectionmanagerlocalconnectiontimewait) + 1. [ConnectionTimeWaitDone](#netconnectionmanagerlocalconnectiontimewaitdone) + 1. [ForbiddenConnection](#netconnectionmanagerlocalforbiddenconnection) + 1. [ForbiddenOperation](#netconnectionmanagerlocalforbiddenoperation) + 1. [ImpossibleConnection](#netconnectionmanagerlocalimpossibleconnection) + 1. [IncludeConnection](#netconnectionmanagerlocalincludeconnection) + 1. [PruneConnections](#netconnectionmanagerlocalpruneconnections) + 1. [Shutdown](#netconnectionmanagerlocalshutdown) + 1. [State](#netconnectionmanagerlocalstate) + 1. [TerminatedConnection](#netconnectionmanagerlocalterminatedconnection) + 1. [TerminatingConnection](#netconnectionmanagerlocalterminatingconnection) + 1. [UnexpectedlyFalseAssertion](#netconnectionmanagerlocalunexpectedlyfalseassertion) + 1. [UnregisterConnection](#netconnectionmanagerlocalunregisterconnection) + 1. __Remote__ + 1. [Connect](#netconnectionmanagerremoteconnect) + 1. [ConnectError](#netconnectionmanagerremoteconnecterror) + 1. [ConnectionCleanup](#netconnectionmanagerremoteconnectioncleanup) + 1. [ConnectionExists](#netconnectionmanagerremoteconnectionexists) + 1. [ConnectionFailure](#netconnectionmanagerremoteconnectionfailure) + 1. [ConnectionHandler](#netconnectionmanagerremoteconnectionhandler) + 1. [ConnectionManagerCounters](#netconnectionmanagerremoteconnectionmanagercounters) + 1. [ConnectionNotFound](#netconnectionmanagerremoteconnectionnotfound) + 1. [ConnectionTimeWait](#netconnectionmanagerremoteconnectiontimewait) + 1. [ConnectionTimeWaitDone](#netconnectionmanagerremoteconnectiontimewaitdone) + 1. [ForbiddenConnection](#netconnectionmanagerremoteforbiddenconnection) + 1. [ForbiddenOperation](#netconnectionmanagerremoteforbiddenoperation) + 1. [ImpossibleConnection](#netconnectionmanagerremoteimpossibleconnection) + 1. [IncludeConnection](#netconnectionmanagerremoteincludeconnection) + 1. [PruneConnections](#netconnectionmanagerremotepruneconnections) + 1. [Shutdown](#netconnectionmanagerremoteshutdown) + 1. [State](#netconnectionmanagerremotestate) + 1. [TerminatedConnection](#netconnectionmanagerremoteterminatedconnection) + 1. [TerminatingConnection](#netconnectionmanagerremoteterminatingconnection) + 1. __Transition__ + 1. [ConnectionManagerTransition](#netconnectionmanagerremotetransitionconnectionmanagertransition) + 1. [UnexpectedlyFalseAssertion](#netconnectionmanagerremoteunexpectedlyfalseassertion) + 1. [UnregisterConnection](#netconnectionmanagerremoteunregisterconnection) + 1. __DNSResolver__ + 1. [LookupAAAAError](#netdnsresolverlookupaaaaerror) + 1. [LookupAAAAResult](#netdnsresolverlookupaaaaresult) + 1. [LookupAError](#netdnsresolverlookupaerror) + 1. [LookupAResult](#netdnsresolverlookuparesult) + 1. [LookupException](#netdnsresolverlookupexception) + 1. [LookupIPv4First](#netdnsresolverlookupipv4first) + 1. [LookupIPv6First](#netdnsresolverlookupipv6first) + 1. __ErrorPolicy__ + 1. __Local__ + 1. [AcceptException](#neterrorpolicylocalacceptexception) + 1. [KeepSuspended](#neterrorpolicylocalkeepsuspended) + 1. [LocalNodeError](#neterrorpolicylocallocalnodeerror) + 1. [ResumeConsumer](#neterrorpolicylocalresumeconsumer) + 1. [ResumePeer](#neterrorpolicylocalresumepeer) + 1. [ResumeProducer](#neterrorpolicylocalresumeproducer) + 1. [SuspendConsumer](#neterrorpolicylocalsuspendconsumer) + 1. [SuspendPeer](#neterrorpolicylocalsuspendpeer) + 1. [UnhandledApplicationException](#neterrorpolicylocalunhandledapplicationexception) + 1. [UnhandledConnectionException](#neterrorpolicylocalunhandledconnectionexception) + 1. __Remote__ + 1. [AcceptException](#neterrorpolicyremoteacceptexception) + 1. [KeepSuspended](#neterrorpolicyremotekeepsuspended) + 1. [LocalNodeError](#neterrorpolicyremotelocalnodeerror) + 1. [ResumeConsumer](#neterrorpolicyremoteresumeconsumer) + 1. [ResumePeer](#neterrorpolicyremoteresumepeer) + 1. [ResumeProducer](#neterrorpolicyremoteresumeproducer) + 1. [SuspendConsumer](#neterrorpolicyremotesuspendconsumer) + 1. [SuspendPeer](#neterrorpolicyremotesuspendpeer) + 1. [UnhandledApplicationException](#neterrorpolicyremoteunhandledapplicationexception) + 1. [UnhandledConnectionException](#neterrorpolicyremoteunhandledconnectionexception) + 1. __Handshake__ + 1. __Local__ + 1. __Receive__ + 1. [AcceptVersion](#nethandshakelocalreceiveacceptversion) + 1. [ProposeVersions](#nethandshakelocalreceiveproposeversions) + 1. [Refuse](#nethandshakelocalreceiverefuse) + 1. [ReplyVersions](#nethandshakelocalreceivereplyversions) + 1. __Send__ + 1. [AcceptVersion](#nethandshakelocalsendacceptversion) + 1. [ProposeVersions](#nethandshakelocalsendproposeversions) + 1. [Refuse](#nethandshakelocalsendrefuse) + 1. [ReplyVersions](#nethandshakelocalsendreplyversions) + 1. __Remote__ + 1. __Receive__ + 1. [AcceptVersion](#nethandshakeremotereceiveacceptversion) + 1. [ProposeVersions](#nethandshakeremotereceiveproposeversions) + 1. [Refuse](#nethandshakeremotereceiverefuse) + 1. [ReplyVersions](#nethandshakeremotereceivereplyversions) + 1. __Send__ + 1. [AcceptVersion](#nethandshakeremotesendacceptversion) + 1. [ProposeVersions](#nethandshakeremotesendproposeversions) + 1. [Refuse](#nethandshakeremotesendrefuse) + 1. [ReplyVersions](#nethandshakeremotesendreplyversions) + 1. __InboundGovernor__ + 1. __Local__ + 1. [DemotedToColdRemote](#netinboundgovernorlocaldemotedtocoldremote) + 1. [DemotedToWarmRemote](#netinboundgovernorlocaldemotedtowarmremote) + 1. [InboundGovernorCounters](#netinboundgovernorlocalinboundgovernorcounters) + 1. [InboundGovernorError](#netinboundgovernorlocalinboundgovernorerror) + 1. [MuxCleanExit](#netinboundgovernorlocalmuxcleanexit) + 1. [MuxErrored](#netinboundgovernorlocalmuxerrored) + 1. [NewConnection](#netinboundgovernorlocalnewconnection) + 1. [PromotedToHotRemote](#netinboundgovernorlocalpromotedtohotremote) + 1. [PromotedToWarmRemote](#netinboundgovernorlocalpromotedtowarmremote) + 1. [RemoteState](#netinboundgovernorlocalremotestate) + 1. [ResponderErrored](#netinboundgovernorlocalrespondererrored) + 1. [ResponderRestarted](#netinboundgovernorlocalresponderrestarted) + 1. [ResponderStartFailure](#netinboundgovernorlocalresponderstartfailure) + 1. [ResponderStarted](#netinboundgovernorlocalresponderstarted) + 1. [ResponderTerminated](#netinboundgovernorlocalresponderterminated) + 1. [UnexpectedlyFalseAssertion](#netinboundgovernorlocalunexpectedlyfalseassertion) + 1. [WaitIdleRemote](#netinboundgovernorlocalwaitidleremote) + 1. __Remote__ + 1. [DemotedToColdRemote](#netinboundgovernorremotedemotedtocoldremote) + 1. [DemotedToWarmRemote](#netinboundgovernorremotedemotedtowarmremote) + 1. [InboundGovernorCounters](#netinboundgovernorremoteinboundgovernorcounters) + 1. [InboundGovernorError](#netinboundgovernorremoteinboundgovernorerror) + 1. [MuxCleanExit](#netinboundgovernorremotemuxcleanexit) + 1. [MuxErrored](#netinboundgovernorremotemuxerrored) + 1. [NewConnection](#netinboundgovernorremotenewconnection) + 1. [PromotedToHotRemote](#netinboundgovernorremotepromotedtohotremote) + 1. [PromotedToWarmRemote](#netinboundgovernorremotepromotedtowarmremote) + 1. [RemoteState](#netinboundgovernorremoteremotestate) + 1. [ResponderErrored](#netinboundgovernorremoterespondererrored) + 1. [ResponderRestarted](#netinboundgovernorremoteresponderrestarted) + 1. [ResponderStartFailure](#netinboundgovernorremoteresponderstartfailure) + 1. [ResponderStarted](#netinboundgovernorremoteresponderstarted) + 1. [ResponderTerminated](#netinboundgovernorremoteresponderterminated) + 1. __Transition__ + 1. [InboundGovernorTransition](#netinboundgovernorremotetransitioninboundgovernortransition) + 1. [UnexpectedlyFalseAssertion](#netinboundgovernorremoteunexpectedlyfalseassertion) + 1. [WaitIdleRemote](#netinboundgovernorremotewaitidleremote) + 1. [KeepAliveClient](#netkeepaliveclient) + 1. __Mux__ + 1. __Local__ + 1. [ChannelRecvEnd](#netmuxlocalchannelrecvend) + 1. [ChannelRecvStart](#netmuxlocalchannelrecvstart) + 1. [ChannelSendEnd](#netmuxlocalchannelsendend) + 1. [ChannelSendStart](#netmuxlocalchannelsendstart) + 1. [CleanExit](#netmuxlocalcleanexit) + 1. [ExceptionExit](#netmuxlocalexceptionexit) + 1. [HandshakeClientEnd](#netmuxlocalhandshakeclientend) + 1. [HandshakeClientError](#netmuxlocalhandshakeclienterror) + 1. [HandshakeServerEnd](#netmuxlocalhandshakeserverend) + 1. [HandshakeServerError](#netmuxlocalhandshakeservererror) + 1. [HandshakeStart](#netmuxlocalhandshakestart) + 1. [RecvDeltaQObservation](#netmuxlocalrecvdeltaqobservation) + 1. [RecvDeltaQSample](#netmuxlocalrecvdeltaqsample) + 1. [RecvEnd](#netmuxlocalrecvend) + 1. [RecvHeaderEnd](#netmuxlocalrecvheaderend) + 1. [RecvHeaderStart](#netmuxlocalrecvheaderstart) + 1. [RecvStart](#netmuxlocalrecvstart) + 1. [SDUReadTimeoutException](#netmuxlocalsdureadtimeoutexception) + 1. [SDUWriteTimeoutException](#netmuxlocalsduwritetimeoutexception) + 1. [SendEnd](#netmuxlocalsendend) + 1. [SendStart](#netmuxlocalsendstart) + 1. [Shutdown](#netmuxlocalshutdown) + 1. [StartEagerly](#netmuxlocalstarteagerly) + 1. [StartOnDemand](#netmuxlocalstartondemand) + 1. [StartedOnDemand](#netmuxlocalstartedondemand) + 1. [State](#netmuxlocalstate) + 1. [TCPInfo](#netmuxlocaltcpinfo) + 1. [Terminating](#netmuxlocalterminating) + 1. __Remote__ + 1. [ChannelRecvEnd](#netmuxremotechannelrecvend) + 1. [ChannelRecvStart](#netmuxremotechannelrecvstart) + 1. [ChannelSendEnd](#netmuxremotechannelsendend) + 1. [ChannelSendStart](#netmuxremotechannelsendstart) + 1. [CleanExit](#netmuxremotecleanexit) + 1. [ExceptionExit](#netmuxremoteexceptionexit) + 1. [HandshakeClientEnd](#netmuxremotehandshakeclientend) + 1. [HandshakeClientError](#netmuxremotehandshakeclienterror) + 1. [HandshakeServerEnd](#netmuxremotehandshakeserverend) + 1. [HandshakeServerError](#netmuxremotehandshakeservererror) + 1. [HandshakeStart](#netmuxremotehandshakestart) + 1. [RecvDeltaQObservation](#netmuxremoterecvdeltaqobservation) + 1. [RecvDeltaQSample](#netmuxremoterecvdeltaqsample) + 1. [RecvEnd](#netmuxremoterecvend) + 1. [RecvHeaderEnd](#netmuxremoterecvheaderend) + 1. [RecvHeaderStart](#netmuxremoterecvheaderstart) + 1. [RecvStart](#netmuxremoterecvstart) + 1. [SDUReadTimeoutException](#netmuxremotesdureadtimeoutexception) + 1. [SDUWriteTimeoutException](#netmuxremotesduwritetimeoutexception) + 1. [SendEnd](#netmuxremotesendend) + 1. [SendStart](#netmuxremotesendstart) + 1. [Shutdown](#netmuxremoteshutdown) + 1. [StartEagerly](#netmuxremotestarteagerly) + 1. [StartOnDemand](#netmuxremotestartondemand) + 1. [StartedOnDemand](#netmuxremotestartedondemand) + 1. [State](#netmuxremotestate) + 1. [TCPInfo](#netmuxremotetcpinfo) + 1. [Terminating](#netmuxremoteterminating) + 1. __PeerSelection__ + 1. __Actions__ + 1. [MonitoringError](#netpeerselectionactionsmonitoringerror) + 1. [MonitoringResult](#netpeerselectionactionsmonitoringresult) + 1. [StatusChangeFailure](#netpeerselectionactionsstatuschangefailure) + 1. [StatusChanged](#netpeerselectionactionsstatuschanged) + 1. [Counters](#netpeerselectioncounters) + 1. __Initiator__ + 1. [GovernorState](#netpeerselectioninitiatorgovernorstate) + 1. __Responder__ + 1. [GovernorState](#netpeerselectionrespondergovernorstate) + 1. __Selection__ + 1. [ChurnMode](#netpeerselectionselectionchurnmode) + 1. [ChurnWait](#netpeerselectionselectionchurnwait) + 1. [DemoteAsynchronous](#netpeerselectionselectiondemoteasynchronous) + 1. [DemoteHotDone](#netpeerselectionselectiondemotehotdone) + 1. [DemoteHotFailed](#netpeerselectionselectiondemotehotfailed) + 1. [DemoteHotPeers](#netpeerselectionselectiondemotehotpeers) + 1. [DemoteLocalHotPeers](#netpeerselectionselectiondemotelocalhotpeers) + 1. [DemoteWarmDone](#netpeerselectionselectiondemotewarmdone) + 1. [DemoteWarmFailed](#netpeerselectionselectiondemotewarmfailed) + 1. [DemoteWarmPeers](#netpeerselectionselectiondemotewarmpeers) + 1. [ForgetColdPeers](#netpeerselectionselectionforgetcoldpeers) + 1. [GossipRequests](#netpeerselectionselectiongossiprequests) + 1. [GossipResults](#netpeerselectionselectiongossipresults) + 1. [GovernorWakeup](#netpeerselectionselectiongovernorwakeup) + 1. [LocalRootPeersChanged](#netpeerselectionselectionlocalrootpeerschanged) + 1. [PromoteColdDone](#netpeerselectionselectionpromotecolddone) + 1. [PromoteColdFailed](#netpeerselectionselectionpromotecoldfailed) + 1. [PromoteColdLocalPeers](#netpeerselectionselectionpromotecoldlocalpeers) + 1. [PromoteColdPeers](#netpeerselectionselectionpromotecoldpeers) + 1. [PromoteWarmAborted](#netpeerselectionselectionpromotewarmaborted) + 1. [PromoteWarmDone](#netpeerselectionselectionpromotewarmdone) + 1. [PromoteWarmFailed](#netpeerselectionselectionpromotewarmfailed) + 1. [PromoteWarmLocalPeers](#netpeerselectionselectionpromotewarmlocalpeers) + 1. [PromoteWarmPeers](#netpeerselectionselectionpromotewarmpeers) + 1. [PublicRootsFailure](#netpeerselectionselectionpublicrootsfailure) + 1. [PublicRootsRequest](#netpeerselectionselectionpublicrootsrequest) + 1. [PublicRootsResults](#netpeerselectionselectionpublicrootsresults) + 1. [TargetsChanged](#netpeerselectionselectiontargetschanged) + 1. __Peers__ + 1. __Ledger__ + 1. [DisabledLedgerPeers](#netpeersledgerdisabledledgerpeers) + 1. [FallingBackToBootstrapPeers](#netpeersledgerfallingbacktobootstrappeers) + 1. [FetchingNewLedgerState](#netpeersledgerfetchingnewledgerstate) + 1. [PickedPeer](#netpeersledgerpickedpeer) + 1. [PickedPeers](#netpeersledgerpickedpeers) + 1. [RequestForPeers](#netpeersledgerrequestforpeers) + 1. [ReusingLedgerState](#netpeersledgerreusingledgerstate) + 1. [TraceUseLedgerAfter](#netpeersledgertraceuseledgerafter) + 1. [WaitingOnRequest](#netpeersledgerwaitingonrequest) + 1. [List](#netpeerslist) + 1. __LocalRoot__ + 1. [LocalRootDomains](#netpeerslocalrootlocalrootdomains) + 1. [LocalRootError](#netpeerslocalrootlocalrooterror) + 1. [LocalRootFailure](#netpeerslocalrootlocalrootfailure) + 1. [LocalRootGroups](#netpeerslocalrootlocalrootgroups) + 1. [LocalRootResult](#netpeerslocalrootlocalrootresult) + 1. [LocalRootWaiting](#netpeerslocalrootlocalrootwaiting) + 1. __PublicRoot__ + 1. [PublicRootDomains](#netpeerspublicrootpublicrootdomains) + 1. [PublicRootFailure](#netpeerspublicrootpublicrootfailure) + 1. [PublicRootRelayAccessPoint](#netpeerspublicrootpublicrootrelayaccesspoint) + 1. [PublicRootResult](#netpeerspublicrootpublicrootresult) + 1. __Server__ + 1. __Local__ + 1. [AcceptConnection](#netserverlocalacceptconnection) + 1. [AcceptError](#netserverlocalaccepterror) + 1. [AcceptPolicy](#netserverlocalacceptpolicy) + 1. [Error](#netserverlocalerror) + 1. [Started](#netserverlocalstarted) + 1. [Stopped](#netserverlocalstopped) + 1. __Remote__ + 1. [AcceptConnection](#netserverremoteacceptconnection) + 1. [AcceptError](#netserverremoteaccepterror) + 1. [AcceptPolicy](#netserverremoteacceptpolicy) + 1. [Error](#netserverremoteerror) + 1. [Started](#netserverremotestarted) + 1. [Stopped](#netserverremotestopped) + 1. __Subscription__ + 1. __DNS__ + 1. [AllocateSocket](#netsubscriptiondnsallocatesocket) + 1. [ApplicationException](#netsubscriptiondnsapplicationexception) + 1. [CloseSocket](#netsubscriptiondnsclosesocket) + 1. [ConnectEnd](#netsubscriptiondnsconnectend) + 1. [ConnectException](#netsubscriptiondnsconnectexception) + 1. [ConnectStart](#netsubscriptiondnsconnectstart) + 1. [ConnectionExist](#netsubscriptiondnsconnectionexist) + 1. [MissingLocalAddress](#netsubscriptiondnsmissinglocaladdress) + 1. [Restart](#netsubscriptiondnsrestart) + 1. [SkippingPeer](#netsubscriptiondnsskippingpeer) + 1. [SocketAllocationException](#netsubscriptiondnssocketallocationexception) + 1. [Start](#netsubscriptiondnsstart) + 1. [SubscriptionFailed](#netsubscriptiondnssubscriptionfailed) + 1. [SubscriptionRunning](#netsubscriptiondnssubscriptionrunning) + 1. [SubscriptionWaiting](#netsubscriptiondnssubscriptionwaiting) + 1. [SubscriptionWaitingNewConnection](#netsubscriptiondnssubscriptionwaitingnewconnection) + 1. [TryConnectToPeer](#netsubscriptiondnstryconnecttopeer) + 1. [UnsupportedRemoteAddr](#netsubscriptiondnsunsupportedremoteaddr) + 1. __IP__ + 1. [AllocateSocket](#netsubscriptionipallocatesocket) + 1. [ApplicationException](#netsubscriptionipapplicationexception) + 1. [CloseSocket](#netsubscriptionipclosesocket) + 1. [ConnectEnd](#netsubscriptionipconnectend) + 1. [ConnectException](#netsubscriptionipconnectexception) + 1. [ConnectStart](#netsubscriptionipconnectstart) + 1. [ConnectionExist](#netsubscriptionipconnectionexist) + 1. [MissingLocalAddress](#netsubscriptionipmissinglocaladdress) + 1. [Restart](#netsubscriptioniprestart) + 1. [SkippingPeer](#netsubscriptionipskippingpeer) + 1. [SocketAllocationException](#netsubscriptionipsocketallocationexception) + 1. [Start](#netsubscriptionipstart) + 1. [SubscriptionFailed](#netsubscriptionipsubscriptionfailed) + 1. [SubscriptionRunning](#netsubscriptionipsubscriptionrunning) + 1. [SubscriptionWaiting](#netsubscriptionipsubscriptionwaiting) + 1. [SubscriptionWaitingNewConnection](#netsubscriptionipsubscriptionwaitingnewconnection) + 1. [TryConnectToPeer](#netsubscriptioniptryconnecttopeer) + 1. [UnsupportedRemoteAddr](#netsubscriptionipunsupportedremoteaddr) +1. __NodeState__ + 1. [NodeAddBlock](#nodestatenodeaddblock) + 1. [NodeInitChainSelection](#nodestatenodeinitchainselection) + 1. [NodeKernelOnline](#nodestatenodekernelonline) + 1. [NodeOpeningDbs](#nodestatenodeopeningdbs) + 1. [NodeReplays](#nodestatenodereplays) + 1. [NodeShutdown](#nodestatenodeshutdown) + 1. [NodeStartup](#nodestatenodestartup) + 1. [NodeTracingOnlineConfiguring](#nodestatenodetracingonlineconfiguring) 1. [Resources](#resources) -1. __Server__ - 1. [AcceptConnection](#serveracceptconnection) - 1. [AcceptError](#serveraccepterror) - 1. [AcceptPolicy](#serveracceptpolicy) - 1. [Error](#servererror) - 1. [Started](#serverstarted) - 1. [Stopped](#serverstopped) 1. __Shutdown__ - 1. [AbnormalShutdown](#shutdownabnormalshutdown) - 1. [RequestingShutdown](#shutdownrequestingshutdown) - 1. [ShutdownArmedAtSlot](#shutdownshutdownarmedatslot) - 1. [ShutdownRequested](#shutdownshutdownrequested) - 1. [ShutdownUnexpectedInput](#shutdownshutdownunexpectedinput) + 1. [Abnormal](#shutdownabnormal) + 1. [ArmedAt](#shutdownarmedat) + 1. [Requested](#shutdownrequested) + 1. [Requesting](#shutdownrequesting) + 1. [UnexpectedInput](#shutdownunexpectedinput) 1. __Startup__ 1. [Byron](#startupbyron) 1. [Common](#startupcommon) + 1. [DBValidation](#startupdbvalidation) + 1. __DiffusionInit__ + 1. [ConfiguringLocalSocket](#startupdiffusioninitconfiguringlocalsocket) + 1. [ConfiguringServerSocket](#startupdiffusioninitconfiguringserversocket) + 1. [CreateSystemdSocketForSnocketPath](#startupdiffusioninitcreatesystemdsocketforsnocketpath) + 1. [CreatedLocalSocket](#startupdiffusioninitcreatedlocalsocket) + 1. [CreatingServerSocket](#startupdiffusioninitcreatingserversocket) + 1. [DiffusionErrored](#startupdiffusioninitdiffusionerrored) + 1. [ListeningLocalSocket](#startupdiffusioninitlisteninglocalsocket) + 1. [ListeningServerSocket](#startupdiffusioninitlisteningserversocket) + 1. [LocalSocketUp](#startupdiffusioninitlocalsocketup) + 1. [RunLocalServer](#startupdiffusioninitrunlocalserver) + 1. [RunServer](#startupdiffusioninitrunserver) + 1. [ServerSocketUp](#startupdiffusioninitserversocketup) + 1. [UnsupportedLocalSystemdSocket](#startupdiffusioninitunsupportedlocalsystemdsocket) + 1. [UnsupportedReadySocketCase](#startupdiffusioninitunsupportedreadysocketcase) + 1. [UsingSystemdSocket](#startupdiffusioninitusingsystemdsocket) + 1. [Info](#startupinfo) 1. [Network](#startupnetwork) 1. [NetworkConfig](#startupnetworkconfig) 1. [NetworkConfigUpdate](#startupnetworkconfigupdate) 1. [NetworkConfigUpdateError](#startupnetworkconfigupdateerror) + 1. [NetworkMagic](#startupnetworkmagic) + 1. [P2PInfo](#startupp2pinfo) 1. [P2PWarning](#startupp2pwarning) 1. [P2PWarningDevelopementNetworkProtocols](#startupp2pwarningdevelopementnetworkprotocols) 1. [ShelleyBased](#startupshelleybased) - 1. [StartupDBValidation](#startupstartupdbvalidation) - 1. [StartupInfo](#startupstartupinfo) - 1. [StartupNetworkMagic](#startupstartupnetworkmagic) - 1. [StartupP2PInfo](#startupstartupp2pinfo) - 1. [StartupSocketConfigError](#startupstartupsocketconfigerror) - 1. [StartupTime](#startupstartuptime) + 1. [SocketConfigError](#startupsocketconfigerror) + 1. [Time](#startuptime) 1. [WarningDevelopmentNetworkProtocols](#startupwarningdevelopmentnetworkprotocols) -1. __StateQueryClient__ - 1. __Recieve__ - 1. [Acquire](#statequeryclientrecieveacquire) - 1. [Acquired](#statequeryclientrecieveacquired) - 1. [Done](#statequeryclientrecievedone) - 1. [Failure](#statequeryclientrecievefailure) - 1. [Query](#statequeryclientrecievequery) - 1. [ReAcquire](#statequeryclientrecievereacquire) - 1. [Release](#statequeryclientrecieverelease) - 1. [Result](#statequeryclientrecieveresult) - 1. __Send__ - 1. [Acquire](#statequeryclientsendacquire) - 1. [Acquired](#statequeryclientsendacquired) - 1. [Done](#statequeryclientsenddone) - 1. [Failure](#statequeryclientsendfailure) - 1. [Query](#statequeryclientsendquery) - 1. [ReAcquire](#statequeryclientsendreacquire) - 1. [Release](#statequeryclientsendrelease) - 1. [Result](#statequeryclientsendresult) -1. __TxInbound__ - 1. [TxInboundCanRequestMoreTxs](#txinboundtxinboundcanrequestmoretxs) - 1. [TxInboundCannotRequestMoreTxs](#txinboundtxinboundcannotrequestmoretxs) - 1. [TxInboundTerminated](#txinboundtxinboundterminated) - 1. [TxSubmissionCollected](#txinboundtxsubmissioncollected) - 1. [TxSubmissionProcessed](#txinboundtxsubmissionprocessed) -1. __TxMonitorClient__ - 1. __Recieve__ - 1. [Acquire](#txmonitorclientrecieveacquire) - 1. [Acquired](#txmonitorclientrecieveacquired) - 1. [Done](#txmonitorclientrecievedone) - 1. [Failure](#txmonitorclientrecievefailure) - 1. [Query](#txmonitorclientrecievequery) - 1. [ReAcquire](#txmonitorclientrecievereacquire) - 1. [Release](#txmonitorclientrecieverelease) - 1. [Result](#txmonitorclientrecieveresult) +1. __StateQueryServer__ + 1. __Receive__ + 1. [Acquire](#statequeryserverreceiveacquire) + 1. [Acquired](#statequeryserverreceiveacquired) + 1. [Done](#statequeryserverreceivedone) + 1. [Failure](#statequeryserverreceivefailure) + 1. [Query](#statequeryserverreceivequery) + 1. [ReAcquire](#statequeryserverreceivereacquire) + 1. [Release](#statequeryserverreceiverelease) + 1. [Result](#statequeryserverreceiveresult) 1. __Send__ - 1. [Acquire](#txmonitorclientsendacquire) - 1. [Acquired](#txmonitorclientsendacquired) - 1. [Done](#txmonitorclientsenddone) - 1. [Failure](#txmonitorclientsendfailure) - 1. [Query](#txmonitorclientsendquery) - 1. [ReAcquire](#txmonitorclientsendreacquire) - 1. [Release](#txmonitorclientsendrelease) - 1. [Result](#txmonitorclientsendresult) -1. __TxOutbound__ - 1. [ControlMessage](#txoutboundcontrolmessage) - 1. [RecvMsgRequest](#txoutboundrecvmsgrequest) - 1. [SendMsgReply](#txoutboundsendmsgreply) -1. __TxSubmission2__ - 1. __NodeToNode__ - 1. __Recieve__ - 1. [Done](#txsubmission2nodetonoderecievedone) - 1. [MsgHello](#txsubmission2nodetonoderecievemsghello) - 1. [ReplyTxIds](#txsubmission2nodetonoderecievereplytxids) - 1. [ReplyTxs](#txsubmission2nodetonoderecievereplytxs) - 1. [RequestTxIds](#txsubmission2nodetonoderecieverequesttxids) - 1. [RequestTxs](#txsubmission2nodetonoderecieverequesttxs) + 1. [Acquire](#statequeryserversendacquire) + 1. [Acquired](#statequeryserversendacquired) + 1. [Done](#statequeryserversenddone) + 1. [Failure](#statequeryserversendfailure) + 1. [Query](#statequeryserversendquery) + 1. [ReAcquire](#statequeryserversendreacquire) + 1. [Release](#statequeryserversendrelease) + 1. [Result](#statequeryserversendresult) +1. __TxSubmission__ + 1. __Local__ + 1. __Receive__ + 1. [AcceptTx](#txsubmissionlocalreceiveaccepttx) + 1. [Done](#txsubmissionlocalreceivedone) + 1. [RejectTx](#txsubmissionlocalreceiverejecttx) + 1. [SubmitTx](#txsubmissionlocalreceivesubmittx) 1. __Send__ - 1. [Done](#txsubmission2nodetonodesenddone) - 1. [MsgHello](#txsubmission2nodetonodesendmsghello) - 1. [ReplyTxIds](#txsubmission2nodetonodesendreplytxids) - 1. [ReplyTxs](#txsubmission2nodetonodesendreplytxs) - 1. [RequestTxIds](#txsubmission2nodetonodesendrequesttxids) - 1. [RequestTxs](#txsubmission2nodetonodesendrequesttxs) -1. __TxSubmissionClient__ - 1. __Recieve__ - 1. [AcceptTx](#txsubmissionclientrecieveaccepttx) - 1. [Done](#txsubmissionclientrecievedone) - 1. [RejectTx](#txsubmissionclientrecieverejecttx) - 1. [SubmitTx](#txsubmissionclientrecievesubmittx) - 1. __Send__ - 1. [AcceptTx](#txsubmissionclientsendaccepttx) - 1. [Done](#txsubmissionclientsenddone) - 1. [RejectTx](#txsubmissionclientsendrejecttx) - 1. [SubmitTx](#txsubmissionclientsendsubmittx) + 1. [AcceptTx](#txsubmissionlocalsendaccepttx) + 1. [Done](#txsubmissionlocalsenddone) + 1. [RejectTx](#txsubmissionlocalsendrejecttx) + 1. [SubmitTx](#txsubmissionlocalsendsubmittx) + 1. __LocalServer__ + 1. [ReceivedTx](#txsubmissionlocalserverreceivedtx) + 1. __MonitorClient__ + 1. __Receive__ + 1. [Acquire](#txsubmissionmonitorclientreceiveacquire) + 1. [Acquired](#txsubmissionmonitorclientreceiveacquired) + 1. [Done](#txsubmissionmonitorclientreceivedone) + 1. [Failure](#txsubmissionmonitorclientreceivefailure) + 1. [Query](#txsubmissionmonitorclientreceivequery) + 1. [ReAcquire](#txsubmissionmonitorclientreceivereacquire) + 1. [Release](#txsubmissionmonitorclientreceiverelease) + 1. [Result](#txsubmissionmonitorclientreceiveresult) + 1. __Send__ + 1. [Acquire](#txsubmissionmonitorclientsendacquire) + 1. [Acquired](#txsubmissionmonitorclientsendacquired) + 1. [Done](#txsubmissionmonitorclientsenddone) + 1. [Failure](#txsubmissionmonitorclientsendfailure) + 1. [Query](#txsubmissionmonitorclientsendquery) + 1. [ReAcquire](#txsubmissionmonitorclientsendreacquire) + 1. [Release](#txsubmissionmonitorclientsendrelease) + 1. [Result](#txsubmissionmonitorclientsendresult) + 1. __Remote__ + 1. __Receive__ + 1. [Done](#txsubmissionremotereceivedone) + 1. [MsgHello](#txsubmissionremotereceivemsghello) + 1. [ReplyTxIds](#txsubmissionremotereceivereplytxids) + 1. [ReplyTxs](#txsubmissionremotereceivereplytxs) + 1. [RequestTxIds](#txsubmissionremotereceiverequesttxids) + 1. [RequestTxs](#txsubmissionremotereceiverequesttxs) + 1. __Send__ + 1. [Done](#txsubmissionremotesenddone) + 1. [MsgHello](#txsubmissionremotesendmsghello) + 1. [ReplyTxIds](#txsubmissionremotesendreplytxids) + 1. [ReplyTxs](#txsubmissionremotesendreplytxs) + 1. [RequestTxIds](#txsubmissionremotesendrequesttxids) + 1. [RequestTxs](#txsubmissionremotesendrequesttxs) + 1. __TxInbound__ + 1. [CanRequestMoreTxs](#txsubmissiontxinboundcanrequestmoretxs) + 1. [CannotRequestMoreTxs](#txsubmissiontxinboundcannotrequestmoretxs) + 1. [Collected](#txsubmissiontxinboundcollected) + 1. [Processed](#txsubmissiontxinboundprocessed) + 1. [Terminated](#txsubmissiontxinboundterminated) + 1. __TxOutbound__ + 1. [ControlMessage](#txsubmissiontxoutboundcontrolmessage) + 1. [RecvMsgRequest](#txsubmissiontxoutboundrecvmsgrequest) + 1. [SendMsgReply](#txsubmissiontxoutboundsendmsgreply) ## [Metrics](#metrics) -1. [Block replay progress (%)](#block replay progress (%)) -1. [blocksForgedNum](#blocksforgednum) -1. __cardano__ - 1. __node__ - 1. [aboutToLeadSlotLast](#cardanonodeabouttoleadslotlast) - 1. [aboutToLeadSlotLast](#cardanonodeabouttoleadslotlast) - 1. [adoptedSlotLast](#cardanonodeadoptedslotlast) - 1. [blockContext](#cardanonodeblockcontext) - 1. [blockFromFuture](#cardanonodeblockfromfuture) - 1. [blocks](#cardanonodeblocks) - 1. [blocks](#cardanonodeblocks) - 1. [connectedPeers](#cardanonodeconnectedpeers) - 1. __connectionManager__ - 1. [duplexConns](#cardanonodeconnectionmanagerduplexconns) - 1. [duplexConns](#cardanonodeconnectionmanagerduplexconns) - 1. [fullDuplexConns](#cardanonodeconnectionmanagerfullduplexconns) - 1. [fullDuplexConns](#cardanonodeconnectionmanagerfullduplexconns) - 1. [inboundConns](#cardanonodeconnectionmanagerinboundconns) - 1. [inboundConns](#cardanonodeconnectionmanagerinboundconns) - 1. [outboundConns](#cardanonodeconnectionmanageroutboundconns) - 1. [outboundConns](#cardanonodeconnectionmanageroutboundconns) - 1. [unidirectionalConns](#cardanonodeconnectionmanagerunidirectionalconns) - 1. [unidirectionalConns](#cardanonodeconnectionmanagerunidirectionalconns) - 1. [couldNotForgeSlotLast](#cardanonodecouldnotforgeslotlast) - 1. [couldNotForgeSlotLast](#cardanonodecouldnotforgeslotlast) - 1. [currentKESPeriod](#cardanonodecurrentkesperiod) - 1. [delegMapSize](#cardanonodedelegmapsize) - 1. [density](#cardanonodedensity) - 1. [density](#cardanonodedensity) - 1. [epoch](#cardanonodeepoch) - 1. [epoch](#cardanonodeepoch) - 1. [forgedInvalidSlotLast](#cardanonodeforgedinvalidslotlast) - 1. [forgedSlotLast](#cardanonodeforgedslotlast) - 1. __inbound-governor__ - 1. [cold](#cardanonodeinbound-governorcold) - 1. [cold](#cardanonodeinbound-governorcold) - 1. [hot](#cardanonodeinbound-governorhot) - 1. [hot](#cardanonodeinbound-governorhot) - 1. [idle](#cardanonodeinbound-governoridle) - 1. [idle](#cardanonodeinbound-governoridle) - 1. [warm](#cardanonodeinbound-governorwarm) - 1. [warm](#cardanonodeinbound-governorwarm) - 1. [ledgerState](#cardanonodeledgerstate) - 1. [ledgerView](#cardanonodeledgerview) - 1. [mempoolBytes](#cardanonodemempoolbytes) - 1. [mempoolBytes](#cardanonodemempoolbytes) - 1. [mempoolBytes](#cardanonodemempoolbytes) - 1. [mempoolBytes](#cardanonodemempoolbytes) - 1. __metrics__ - 1. __served__ - 1. [header](#cardanonodemetricsservedheader) - 1. [header](#cardanonodemetricsservedheader) - 1. [header](#cardanonodemetricsservedheader) - 1. [header](#cardanonodemetricsservedheader) - 1. [nodeCannotForge](#cardanonodenodecannotforge) - 1. [nodeIsLeader](#cardanonodenodeisleader) - 1. [nodeNotLeader](#cardanonodenodenotleader) - 1. [notAdoptedSlotLast](#cardanonodenotadoptedslotlast) - 1. [operationalCertificateExpiryKESPeriod](#cardanonodeoperationalcertificateexpirykesperiod) - 1. [operationalCertificateStartKESPeriod](#cardanonodeoperationalcertificatestartkesperiod) - 1. __peerSelection__ - 1. [cold](#cardanonodepeerselectioncold) - 1. [hot](#cardanonodepeerselectionhot) - 1. [warm](#cardanonodepeerselectionwarm) - 1. [remainingKESPeriods](#cardanonoderemainingkesperiods) - 1. __served__ - 1. [block](#cardanonodeservedblock) - 1. [slotInEpoch](#cardanonodeslotinepoch) - 1. [slotInEpoch](#cardanonodeslotinepoch) - 1. [slotIsImmutable](#cardanonodeslotisimmutable) - 1. [slots](#cardanonodeslots) - 1. [slots](#cardanonodeslots) - 1. __submissions__ - 1. [accepted](#cardanonodesubmissionsaccepted) - 1. [rejected](#cardanonodesubmissionsrejected) - 1. [submitted](#cardanonodesubmissionssubmitted) - 1. [txsInMempool](#cardanonodetxsinmempool) - 1. [txsInMempool](#cardanonodetxsinmempool) - 1. [txsInMempool](#cardanonodetxsinmempool) - 1. [txsInMempool](#cardanonodetxsinmempool) - 1. [txsProcessedNum](#cardanonodetxsprocessednum) - 1. [utxoSize](#cardanonodeutxosize) -1. __mem__ - 1. [resident](#memresident) -1. [nodeCannotForgeNum](#nodecannotforgenum) -1. [nodeIsLeaderNum](#nodeisleadernum) -1. [peersFromNodeKernel](#peersfromnodekernel) -1. __rts__ - 1. [gcLiveBytes](#rtsgclivebytes) - 1. [gcMajorNum](#rtsgcmajornum) - 1. [gcMinorNum](#rtsgcminornum) - 1. [gcticks](#rtsgcticks) - 1. [mutticks](#rtsmutticks) - 1. [threads](#rtsthreads) -1. [slotsMissed](#slotsmissed) -1. __stat__ - 1. [cputicks](#statcputicks) +1. __BlockFetch__ + 1. [BlocksServed](#blockfetchblocksserved) + 1. [ConnectedPeers](#blockfetchconnectedpeers) +1. __ChainDB__ + 1. [BlockReplayProgress](#chaindbblockreplayprogress) + 1. [Blocks](#chaindbblocks) + 1. [Density](#chaindbdensity) + 1. [Epoch](#chaindbepoch) + 1. [SlotInEpoch](#chaindbslotinepoch) + 1. [Slots](#chaindbslots) +1. __ChainSync__ + 1. [HeadersServed](#chainsyncheadersserved) +1. __Forge__ + 1. [AboutToLeadSlotLast](#forgeabouttoleadslotlast) + 1. [AdoptedOwnBlockSlotLast](#forgeadoptedownblockslotlast) + 1. [BlockContext](#forgeblockcontext) + 1. [BlockFromFuture](#forgeblockfromfuture) + 1. [BlocksForgedNum](#forgeblocksforgednum) + 1. [CouldNotForgeSlotLast](#forgecouldnotforgeslotlast) + 1. [CurrentKESPeriod](#forgecurrentkesperiod) + 1. [DelegMapSize](#forgedelegmapsize) + 1. [ForgedInvalidSlotLast](#forgeforgedinvalidslotlast) + 1. [ForgedSlotLast](#forgeforgedslotlast) + 1. [LastSlot](#forgelastslot) + 1. [LedgerState](#forgeledgerstate) + 1. [LedgerView](#forgeledgerview) + 1. [NodeCannotForge](#forgenodecannotforge) + 1. [NodeCannotForgeNum](#forgenodecannotforgenum) + 1. [NodeIsLeader](#forgenodeisleader) + 1. [NodeIsLeaderNum](#forgenodeisleadernum) + 1. [NodeNotLeader](#forgenodenotleader) + 1. [NotAdoptedSlotLast](#forgenotadoptedslotlast) + 1. [OperationalCertificateExpiryKESPeriod](#forgeoperationalcertificateexpirykesperiod) + 1. [OperationalCertificateStartKESPeriod](#forgeoperationalcertificatestartkesperiod) + 1. [RemainingKESPeriods](#forgeremainingkesperiods) + 1. [SlotIsImmutable](#forgeslotisimmutable) + 1. [SlotsMissed](#forgeslotsmissed) + 1. [UtxoSize](#forgeutxosize) +1. __Mempool__ + 1. [MempoolBytes](#mempoolmempoolbytes) + 1. [TxsInMempool](#mempooltxsinmempool) + 1. [TxsProcessedNum](#mempooltxsprocessednum) +1. __Net__ + 1. __ConnectionManager__ + 1. [DuplexConns](#netconnectionmanagerduplexconns) + 1. [DuplexConns](#netconnectionmanagerduplexconns) + 1. [FullDuplexConns](#netconnectionmanagerfullduplexconns) + 1. [FullDuplexConns](#netconnectionmanagerfullduplexconns) + 1. [InboundConns](#netconnectionmanagerinboundconns) + 1. [InboundConns](#netconnectionmanagerinboundconns) + 1. [OutboundConns](#netconnectionmanageroutboundconns) + 1. [OutboundConns](#netconnectionmanageroutboundconns) + 1. [UnidirectionalConns](#netconnectionmanagerunidirectionalconns) + 1. [UnidirectionalConns](#netconnectionmanagerunidirectionalconns) + 1. __InboundGovernor__ + 1. [Cold](#netinboundgovernorcold) + 1. [Hot](#netinboundgovernorhot) + 1. [Idle](#netinboundgovernoridle) + 1. [Warm](#netinboundgovernorwarm) + 1. __LocalInboundGovernor__ + 1. [Cold](#netlocalinboundgovernorcold) + 1. [Hot](#netlocalinboundgovernorhot) + 1. [Idle](#netlocalinboundgovernoridle) + 1. [Warm](#netlocalinboundgovernorwarm) + 1. __PeerSelection__ + 1. [Cold](#netpeerselectioncold) + 1. [Hot](#netpeerselectionhot) + 1. [Warm](#netpeerselectionwarm) + 1. [PeersFromNodeKernel](#netpeersfromnodekernel) +1. __Resources__ + 1. __Mem__ + 1. [Resident](#resourcesmemresident) + 1. __RTS__ + 1. [GcLiveBytes](#resourcesrtsgclivebytes) + 1. [GcMajorNum](#resourcesrtsgcmajornum) + 1. [GcMinorNum](#resourcesrtsgcminornum) + 1. [Gcticks](#resourcesrtsgcticks) + 1. [Mutticks](#resourcesrtsmutticks) + 1. [Threads](#resourcesrtsthreads) + 1. __Stat__ + 1. [Cputicks](#resourcesstatcputicks) +1. __TxSubmission__ + 1. [Accepted](#txsubmissionaccepted) + 1. [Rejected](#txsubmissionrejected) + 1. [Submitted](#txsubmissionsubmitted) ## [Datapoints](#datapoints) 1. [NodeInfo](#nodeinfo) ## Trace Messages -### AcceptPolicy.ConnectionHardLimit - - -*** -Hard rate limit reached, waiting until the number of connections drops below n. -*** - - -From current configuration: -Details: `DNormal` -Backends: - `EKGBackend`, - `Stdout MachineFormat`, - `Forwarder` -Filtered by config value: `Info` - -### AcceptPolicy.ConnectionLimitResume - - -*** - -*** - - -From current configuration: -Details: `DNormal` -Backends: - `EKGBackend`, - `Stdout MachineFormat`, - `Forwarder` -Filtered by config value: `Info` - -### AcceptPolicy.ConnectionRateLimiting - - -*** -Rate limiting accepting connections, delaying next accept for given time, currently serving n connections. -*** - - -From current configuration: -Details: `DNormal` -Backends: - `EKGBackend`, - `Stdout MachineFormat`, - `Forwarder` -Filtered by config value: `Info` +### BlockFetch.ClientEvent.AcknowledgedFetchRequest -### BlockFetch.NodeToNode.Recieve.BatchDone - -*** -End of block streaming. -*** +> Mark the point when the fetch client picks up the request added by the block fetch decision thread. Note that this event can happen fewer times than the 'AddedFetchRequest' due to fetch request merging. From current configuration: @@ -866,12 +802,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Recieve.Block +### BlockFetch.ClientEvent.AddedFetchRequest -*** -Stream a single block. -*** +> The block fetch decision thread has added a new fetch instruction consisting of one or more individual request ranges. From current configuration: @@ -882,12 +816,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Recieve.ClientDone +### BlockFetch.ClientEvent.ClientTerminating -*** -Client termination message. -*** +> The client is terminating. Log the number of outstanding requests. From current configuration: @@ -898,12 +830,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Recieve.NoBlocks +### BlockFetch.ClientEvent.CompletedBlockFetch -*** -Respond that there are no blocks. -*** +> Mark the successful end of receiving a streaming batch of blocks. From current configuration: @@ -914,12 +844,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Recieve.RequestRange +### BlockFetch.ClientEvent.CompletedFetchBatch -*** -Request range of blocks. -*** +> Mark the successful end of receiving a streaming batch of blocks From current configuration: @@ -930,12 +858,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Recieve.StartBatch +### BlockFetch.ClientEvent.RejectedFetchBatch -*** -Start block streaming. -*** +> If the other peer rejects our request then we have this event instead of 'StartedFetchBatch' and 'CompletedFetchBatch'. From current configuration: @@ -946,12 +872,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Send.BatchDone +### BlockFetch.ClientEvent.SendFetchRequest -*** -End of block streaming. -*** +> Mark the point when fetch request for a fragment is actually sent over the wire. From current configuration: @@ -962,12 +886,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Send.Block +### BlockFetch.ClientEvent.StartedFetchBatch -*** -Stream a single block. -*** +> Mark the start of receiving a streaming batch of blocks. This will be followed by one or more 'CompletedBlockFetch' and a final 'CompletedFetchBatch' From current configuration: @@ -978,12 +900,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Send.ClientDone +### BlockFetch.Decision -*** -Client termination message. -*** +> Throughout the decision making process we accumulate reasons to decline to fetch any blocks. This message carries the intermediate and final results. From current configuration: @@ -994,12 +914,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Send.NoBlocks +### BlockFetch.Remote.Receive.BatchDone -*** -Respond that there are no blocks. -*** +> End of block streaming. From current configuration: @@ -1010,12 +928,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Send.RequestRange +### BlockFetch.Remote.Receive.Block -*** -Request range of blocks. -*** +> Stream a single block. From current configuration: @@ -1026,12 +942,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.NodeToNode.Send.StartBatch +### BlockFetch.Remote.Receive.ClientDone -*** -Start block streaming. -*** +> Client termination message. From current configuration: @@ -1042,12 +956,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchClient.AcknowledgedFetchRequest +### BlockFetch.Remote.Receive.NoBlocks -*** -Mark the point when the fetch client picks up the request added by the block fetch decision thread. Note that this event can happen fewer times than the 'AddedFetchRequest' due to fetch request merging. -*** +> Respond that there are no blocks. From current configuration: @@ -1058,12 +970,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchClient.AddedFetchRequest +### BlockFetch.Remote.Receive.RequestRange -*** -The block fetch decision thread has added a new fetch instruction consisting of one or more individual request ranges. -*** +> Request range of blocks. From current configuration: @@ -1074,12 +984,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchClient.ClientTerminating +### BlockFetch.Remote.Receive.StartBatch -*** -The client is terminating. Log the number of outstanding requests. -*** +> Start block streaming. From current configuration: @@ -1090,12 +998,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchClient.CompletedBlockFetch +### BlockFetch.Remote.Send.BatchDone -*** -Mark the successful end of receiving a streaming batch of blocks. -*** +> End of block streaming. From current configuration: @@ -1105,14 +1011,11 @@ Backends: `Stdout MachineFormat`, `Forwarder` Filtered by config value: `Notice` -Limiters: Limiter `BlockFetchClient.CompletedBlockFetch` with frequency `2.0` -### BlockFetchClient.CompletedFetchBatch +### BlockFetch.Remote.Send.Block -*** -Mark the successful end of receiving a streaming batch of blocks -*** +> Stream a single block. From current configuration: @@ -1123,12 +1026,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchClient.RejectedFetchBatch +### BlockFetch.Remote.Send.ClientDone -*** -If the other peer rejects our request then we have this event instead of 'StartedFetchBatch' and 'CompletedFetchBatch'. -*** +> Client termination message. From current configuration: @@ -1139,12 +1040,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchClient.SendFetchRequest +### BlockFetch.Remote.Send.NoBlocks -*** -Mark the point when fetch request for a fragment is actually sent over the wire. -*** +> Respond that there are no blocks. From current configuration: @@ -1155,12 +1054,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchClient.StartedFetchBatch +### BlockFetch.Remote.Send.RequestRange -*** -Mark the start of receiving a streaming batch of blocks. This will be followed by one or more 'CompletedBlockFetch' and a final 'CompletedFetchBatch' -*** +> Request range of blocks. From current configuration: @@ -1171,12 +1068,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchDecision +### BlockFetch.Remote.Send.StartBatch -*** -Throughout the decision making process we accumulate reasons to decline to fetch any blocks. This message carries the intermediate and final results. -*** +> Start block streaming. From current configuration: @@ -1187,12 +1082,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Recieve.BatchDone +### BlockFetch.Remote.Serialised.Receive.BatchDone -*** -End of block streaming. -*** +> End of block streaming. From current configuration: @@ -1203,12 +1096,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Recieve.Block +### BlockFetch.Remote.Serialised.Receive.Block -*** -Stream a single block. -*** +> Stream a single block. From current configuration: @@ -1219,12 +1110,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Recieve.ClientDone +### BlockFetch.Remote.Serialised.Receive.ClientDone -*** -Client termination message. -*** +> Client termination message. From current configuration: @@ -1235,12 +1124,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Recieve.NoBlocks +### BlockFetch.Remote.Serialised.Receive.NoBlocks -*** -Respond that there are no blocks. -*** +> Respond that there are no blocks. From current configuration: @@ -1251,12 +1138,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Recieve.RequestRange +### BlockFetch.Remote.Serialised.Receive.RequestRange -*** -Request range of blocks. -*** +> Request range of blocks. From current configuration: @@ -1267,12 +1152,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Recieve.StartBatch +### BlockFetch.Remote.Serialised.Receive.StartBatch -*** -Start block streaming. -*** +> Start block streaming. From current configuration: @@ -1283,12 +1166,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Send.BatchDone +### BlockFetch.Remote.Serialised.Send.BatchDone -*** -End of block streaming. -*** +> End of block streaming. From current configuration: @@ -1299,12 +1180,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Send.Block +### BlockFetch.Remote.Serialised.Send.Block -*** -Stream a single block. -*** +> Stream a single block. From current configuration: @@ -1315,12 +1194,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Send.ClientDone +### BlockFetch.Remote.Serialised.Send.ClientDone -*** -Client termination message. -*** +> Client termination message. From current configuration: @@ -1331,12 +1208,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Send.NoBlocks +### BlockFetch.Remote.Serialised.Send.NoBlocks -*** -Respond that there are no blocks. -*** +> Respond that there are no blocks. From current configuration: @@ -1347,12 +1222,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Send.RequestRange +### BlockFetch.Remote.Serialised.Send.RequestRange -*** -Request range of blocks. -*** +> Request range of blocks. From current configuration: @@ -1363,12 +1236,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchSerialised.NodeToNode.Send.StartBatch +### BlockFetch.Remote.Serialised.Send.StartBatch -*** -Start block streaming. -*** +> Start block streaming. From current configuration: @@ -1379,12 +1250,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetchServer.SendBlock +### BlockFetch.ServerBlock.SendBlock -*** -The server sent a block to the peer. -*** +> The server sent a block to the peer. From current configuration: @@ -1398,11 +1267,9 @@ Filtered by config value: `Notice` ### BlockchainTime.CurrentSlotUnknown -*** -Current slot is not yet known - This happens when the tip of our current chain is so far in the past that we cannot translate the current wallclock to a slot number, typically during syncing. Until the current slot number is known, we cannot produce blocks. Seeing this message during syncing therefore is normal and to be expected. - We record the current time (the time we tried to translate to a 'SlotNo') as well as the 'PastHorizonException', which provides detail on the bounds between which we /can/ do conversions. The distance between the current time and the upper bound should rapidly decrease with consecutive 'CurrentSlotUnknown' messages during syncing. -*** +> Current slot is not yet known +> This happens when the tip of our current chain is so far in the past that we cannot translate the current wallclock to a slot number, typically during syncing. Until the current slot number is known, we cannot produce blocks. Seeing this message during syncing therefore is normal and to be expected. +> We record the current time (the time we tried to translate to a 'SlotNo') as well as the 'PastHorizonException', which provides detail on the bounds between which we /can/ do conversions. The distance between the current time and the upper bound should rapidly decrease with consecutive 'CurrentSlotUnknown' messages during syncing. From current configuration: @@ -1416,10 +1283,8 @@ Filtered by config value: `Notice` ### BlockchainTime.StartTimeInTheFuture -*** -The start time of the blockchain time is in the future - We have to block (for 'NominalDiffTime') until that time comes. -*** +> The start time of the blockchain time is in the future +> We have to block (for 'NominalDiffTime') until that time comes. From current configuration: @@ -1433,11 +1298,9 @@ Filtered by config value: `Notice` ### BlockchainTime.SystemClockMovedBack -*** -The system clock moved back an acceptable time span, e.g., because of an NTP sync. - The system clock moved back such that the new current slot would be smaller than the previous one. If this is within the configured limit, we trace this warning but *do not change the current slot*. The current slot never decreases, but the current slot may stay the same longer than expected. - When the system clock moved back more than the configured limit, we shut down with a fatal exception. -*** +> The system clock moved back an acceptable time span, e.g., because of an NTP sync. +> The system clock moved back such that the new current slot would be smaller than the previous one. If this is within the configured limit, we trace this warning but *do not change the current slot*. The current slot never decreases, but the current slot may stay the same longer than expected. +> When the system clock moved back more than the configured limit, we shut down with a fatal exception. From current configuration: @@ -1451,9 +1314,7 @@ Filtered by config value: `Notice` ### ChainDB.AddBlockEvent.AddBlockValidation.CandidateContainsFutureBlocks -*** -An event traced during validating performed while adding a block. Candidate contains headers from the future which do no exceed the clock skew. -*** +> An event traced during validating performed while adding a block. Candidate contains headers from the future which do no exceed the clock skew. From current configuration: @@ -1467,9 +1328,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.AddBlockValidation.CandidateContainsFutureBlocksExceedingClockSkew -*** -An event traced during validating performed while adding a block. Candidate contains headers from the future which exceed the clock skew. -*** +> An event traced during validating performed while adding a block. Candidate contains headers from the future which exceed the clock skew. From current configuration: @@ -1483,9 +1342,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.AddBlockValidation.InvalidBlock -*** -An event traced during validating performed while adding a block. A point was found to be invalid. -*** +> An event traced during validating performed while adding a block. A point was found to be invalid. From current configuration: @@ -1499,9 +1356,6 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.AddBlockValidation.UpdateLedgerDb -*** - -*** From current configuration: @@ -1515,9 +1369,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate -*** -An event traced during validating performed while adding a block. A candidate chain was valid. -*** +> An event traced during validating performed while adding a block. A candidate chain was valid. From current configuration: @@ -1532,9 +1384,7 @@ Limiters: Limiter `ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate` with ### ChainDB.AddBlockEvent.AddedBlockToQueue -*** -The block was added to the queue and will be added to the ChainDB by the background thread. The size of the queue is included.. -*** +> The block was added to the queue and will be added to the ChainDB by the background thread. The size of the queue is included.. From current configuration: @@ -1549,9 +1399,7 @@ Limiters: Limiter `ChainDB.AddBlockEvent.AddedBlockToQueue` with frequency `2.0` ### ChainDB.AddBlockEvent.AddedBlockToVolatileDB -*** -A block was added to the Volatile DB -*** +> A block was added to the Volatile DB From current configuration: @@ -1566,9 +1414,7 @@ Limiters: Limiter `ChainDB.AddBlockEvent.AddedBlockToVolatileDB` with frequency ### ChainDB.AddBlockEvent.AddedToCurrentChain -*** -The new block fits onto the current chain (first fragment) and we have successfully used it to extend our (new) current chain (second fragment). -*** +> The new block fits onto the current chain (first fragment) and we have successfully used it to extend our (new) current chain (second fragment). From current configuration: @@ -1582,9 +1428,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.BlockInTheFuture -*** -The block is from the future, i.e., its slot number is greater than the current slot (the second argument). -*** +> The block is from the future, i.e., its slot number is greater than the current slot (the second argument). From current configuration: @@ -1598,9 +1442,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.ChainSelectionForFutureBlock -*** -Run chain selection for a block that was previously from the future. This is done for all blocks from the future each time a new block is added. -*** +> Run chain selection for a block that was previously from the future. This is done for all blocks from the future each time a new block is added. From current configuration: @@ -1614,9 +1456,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.IgnoreBlockAlreadyInVolatileDB -*** -A block that is already in the Volatile DB was ignored. -*** +> A block that is already in the Volatile DB was ignored. From current configuration: @@ -1630,9 +1470,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.IgnoreBlockOlderThanK -*** -A block with a 'BlockNo' more than @k@ back than the current tip was ignored. -*** +> A block with a 'BlockNo' more than @k@ back than the current tip was ignored. From current configuration: @@ -1646,9 +1484,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.IgnoreInvalidBlock -*** -A block that is already in the Volatile DB was ignored. -*** +> A block that is already in the Volatile DB was ignored. From current configuration: @@ -1662,9 +1498,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.PipeliningEvent.OutdatedTentativeHeader -*** -An event traced during block selection when the tentative header got cleared on chain selection. -*** +> An event traced during block selection when the tentative header got cleared on chain selection. From current configuration: @@ -1678,9 +1512,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.PipeliningEvent.SetTentativeHeader -*** -An event traced during block selection when the tentative header (in the context of diffusion pipelining) is set. -*** +> An event traced during block selection when the tentative header (in the context of diffusion pipelining) is set. From current configuration: @@ -1694,9 +1526,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.PipeliningEvent.TrapTentativeHeader -*** -An event traced during block selection when the body of the tentative header turned out to be invalid. -*** +> An event traced during block selection when the body of the tentative header turned out to be invalid. From current configuration: @@ -1710,9 +1540,6 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.PoppedBlockFromQueue -*** - -*** From current configuration: @@ -1726,9 +1553,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.StoreButDontChange -*** -The block fits onto some fork, we'll try to switch to that fork (if it is preferable to our chain). -*** +> The block fits onto some fork, we'll try to switch to that fork (if it is preferable to our chain). From current configuration: @@ -1742,9 +1567,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.SwitchedToAFork -*** -The new block fits onto some fork and we have switched to that fork (second fragment), as it is preferable to our (previous) current chain (first fragment). -*** +> The new block fits onto some fork and we have switched to that fork (second fragment), as it is preferable to our (previous) current chain (first fragment). From current configuration: @@ -1758,9 +1581,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.TryAddToCurrentChain -*** -The block fits onto the current chain, we'll try to use it to extend our chain. -*** +> The block fits onto the current chain, we'll try to use it to extend our chain. From current configuration: @@ -1774,9 +1595,7 @@ Filtered by config value: `Info` ### ChainDB.AddBlockEvent.TrySwitchToAFork -*** -The block fits onto some fork, we'll try to switch to that fork (if it is preferable to our chain) -*** +> The block fits onto some fork, we'll try to switch to that fork (if it is preferable to our chain) From current configuration: @@ -1790,9 +1609,7 @@ Filtered by config value: `Info` ### ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB -*** -A block was successfully copied to the ImmDB. -*** +> A block was successfully copied to the ImmDB. From current configuration: @@ -1807,9 +1624,7 @@ Limiters: Limiter `ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB` with ### ChainDB.CopyToImmutableDBEvent.NoBlocksToCopyToImmutableDB -*** -There are no block to copy to the ImmDB. -*** +> There are no block to copy to the ImmDB. From current configuration: @@ -1823,9 +1638,7 @@ Filtered by config value: `Info` ### ChainDB.FollowerEvent.FollowerNewImmIterator -*** -The follower is in the 'FollowerInImmutableDB' state but the iterator is exhausted while the ImmDB has grown, so we open a new iterator to stream these blocks too. -*** +> The follower is in the 'FollowerInImmutableDB' state but the iterator is exhausted while the ImmDB has grown, so we open a new iterator to stream these blocks too. From current configuration: @@ -1839,9 +1652,7 @@ Filtered by config value: `Info` ### ChainDB.FollowerEvent.FollowerNoLongerInMem -*** -The follower was in the 'FollowerInImmutableDB' state and is switched to the 'FollowerInMem' state. -*** +> The follower was in the 'FollowerInImmutableDB' state and is switched to the 'FollowerInMem' state. From current configuration: @@ -1855,9 +1666,7 @@ Filtered by config value: `Info` ### ChainDB.FollowerEvent.FollowerSwitchToMem -*** -The follower was in the 'FollowerInImmutableDB' state and is switched to the 'FollowerInMem' state. -*** +> The follower was in the 'FollowerInImmutableDB' state and is switched to the 'FollowerInMem' state. From current configuration: @@ -1871,9 +1680,7 @@ Filtered by config value: `Info` ### ChainDB.FollowerEvent.NewFollower -*** -A new follower was created. -*** +> A new follower was created. From current configuration: @@ -1887,9 +1694,7 @@ Filtered by config value: `Info` ### ChainDB.GCEvent.PerformedGC -*** -There are no block to copy to the ImmDB. -*** +> There are no block to copy to the ImmDB. From current configuration: @@ -1903,9 +1708,7 @@ Filtered by config value: `Info` ### ChainDB.GCEvent.ScheduledGC -*** -There are no block to copy to the ImmDB. -*** +> There are no block to copy to the ImmDB. From current configuration: @@ -1919,9 +1722,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.CacheEvent.CurrentChunkHit -*** -Current chunk found in the cache. -*** +> Current chunk found in the cache. From current configuration: @@ -1935,9 +1736,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.CacheEvent.PastChunkEvict -*** -The least recently used past chunk was evicted because the cache was full. -*** +> The least recently used past chunk was evicted because the cache was full. From current configuration: @@ -1951,9 +1750,6 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.CacheEvent.PastChunkExpired -*** - -*** From current configuration: @@ -1967,9 +1763,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.CacheEvent.PastChunkHit -*** -Past chunk found in the cache -*** +> Past chunk found in the cache From current configuration: @@ -1983,9 +1777,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.CacheEvent.PastChunkMiss -*** -Past chunk was not found in the cache -*** +> Past chunk was not found in the cache From current configuration: @@ -1999,9 +1791,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkFileDoesntFit -*** -The hash of the last block in the previous epoch doesn't match the previous hash of the first block in the current epoch -*** +> The hash of the last block in the previous epoch doesn't match the previous hash of the first block in the current epoch From current configuration: @@ -2015,9 +1805,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.InvalidChunkFile -*** -Chunk file is invalid -*** +> Chunk file is invalid From current configuration: @@ -2031,9 +1819,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.InvalidPrimaryIndex -*** -The primary index is invalid. -*** +> The primary index is invalid. From current configuration: @@ -2047,9 +1833,6 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.InvalidSecondaryIndex -*** - -*** From current configuration: @@ -2063,9 +1846,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.MissingChunkFile -*** -Chunk file is missing -*** +> Chunk file is missing From current configuration: @@ -2079,9 +1860,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.MissingPrimaryIndex -*** -The primary index is missing. -*** +> The primary index is missing. From current configuration: @@ -2095,9 +1874,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.MissingSecondaryIndex -*** -The secondary index is missing. -*** +> The secondary index is missing. From current configuration: @@ -2111,9 +1888,6 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.RewritePrimaryIndex -*** - -*** From current configuration: @@ -2127,9 +1901,6 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.RewriteSecondaryIndex -*** - -*** From current configuration: @@ -2143,9 +1914,6 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.StartedValidatingChunk -*** - -*** From current configuration: @@ -2159,9 +1927,6 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ChunkValidation.ValidatedChunk -*** - -*** From current configuration: @@ -2175,9 +1940,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.DBAlreadyClosed -*** -The immutable DB is already closed -*** +> The immutable DB is already closed From current configuration: @@ -2191,9 +1954,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.DBClosed -*** -Closing the immutable DB -*** +> Closing the immutable DB From current configuration: @@ -2207,9 +1968,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.DeletingAfter -*** -Delete after -*** +> Delete after From current configuration: @@ -2223,9 +1982,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.Migrating -*** -Performing a migration of the on-disk files. -*** +> Performing a migration of the on-disk files. From current configuration: @@ -2239,9 +1996,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.NoValidLastLocation -*** -No valid last location was found -*** +> No valid last location was found From current configuration: @@ -2255,9 +2010,7 @@ Filtered by config value: `Info` ### ChainDB.ImmutableDBEvent.ValidatedLastLocation -*** -The last location was validatet -*** +> The last location was validatet From current configuration: @@ -2271,9 +2024,7 @@ Filtered by config value: `Info` ### ChainDB.InitChainSelEvent.CandidateContainsFutureBlocks -*** -Candidate contains headers from the future which do not exceed the clock skew. -*** +> Candidate contains headers from the future which do not exceed the clock skew. From current configuration: @@ -2287,9 +2038,7 @@ Filtered by config value: `Info` ### ChainDB.InitChainSelEvent.CandidateContainsFutureBlocksExceedingClockSkew -*** -Candidate contains headers from the future which exceed the clock skew, making them invalid. -*** +> Candidate contains headers from the future which exceed the clock skew, making them invalid. From current configuration: @@ -2303,9 +2052,7 @@ Filtered by config value: `Info` ### ChainDB.InitChainSelEvent.InitalChainSelected -*** -InitalChainSelected -*** +> InitalChainSelected From current configuration: @@ -2319,9 +2066,7 @@ Filtered by config value: `Info` ### ChainDB.InitChainSelEvent.InvalidBlock -*** -A point was found to be invalid. -*** +> A point was found to be invalid. From current configuration: @@ -2335,9 +2080,7 @@ Filtered by config value: `Info` ### ChainDB.InitChainSelEvent.StartedInitChainSelection -*** -StartedInitChainSelection -*** +> StartedInitChainSelection From current configuration: @@ -2351,9 +2094,7 @@ Filtered by config value: `Info` ### ChainDB.InitChainSelEvent.UpdateLedgerDb -*** -UpdateLedgerDb -*** +> UpdateLedgerDb From current configuration: @@ -2367,9 +2108,7 @@ Filtered by config value: `Info` ### ChainDB.InitChainSelEvent.ValidCandidate -*** -A candidate chain was valid. -*** +> A candidate chain was valid. From current configuration: @@ -2383,9 +2122,7 @@ Filtered by config value: `Info` ### ChainDB.IteratorEvent.BlockGCedFromVolatileDB -*** -A block is no longer in the VolatileDB and isn't in the ImmDB either; it wasn't part of the current chain. -*** +> A block is no longer in the VolatileDB and isn't in the ImmDB either; it wasn't part of the current chain. From current configuration: @@ -2399,9 +2136,7 @@ Filtered by config value: `Info` ### ChainDB.IteratorEvent.BlockMissingFromVolatileDB -*** -A block is no longer in the VolatileDB because it has been garbage collected. It might now be in the ImmDB if it was part of the current chain. -*** +> A block is no longer in the VolatileDB because it has been garbage collected. It might now be in the ImmDB if it was part of the current chain. From current configuration: @@ -2415,9 +2150,7 @@ Filtered by config value: `Info` ### ChainDB.IteratorEvent.BlockWasCopiedToImmutableDB -*** -A block that has been garbage collected from the VolatileDB is now found and streamed from the ImmDB. -*** +> A block that has been garbage collected from the VolatileDB is now found and streamed from the ImmDB. From current configuration: @@ -2431,9 +2164,7 @@ Filtered by config value: `Info` ### ChainDB.IteratorEvent.StreamFromBoth -*** -Stream from both the VolatileDB and the ImmDB. -*** +> Stream from both the VolatileDB and the ImmDB. From current configuration: @@ -2447,9 +2178,7 @@ Filtered by config value: `Info` ### ChainDB.IteratorEvent.StreamFromImmutableDB -*** -Stream only from the ImmDB. -*** +> Stream only from the ImmDB. From current configuration: @@ -2463,9 +2192,7 @@ Filtered by config value: `Info` ### ChainDB.IteratorEvent.StreamFromVolatileDB -*** -Stream only from the VolatileDB. -*** +> Stream only from the VolatileDB. From current configuration: @@ -2479,9 +2206,7 @@ Filtered by config value: `Info` ### ChainDB.IteratorEvent.SwitchBackToVolatileDB -*** -We have streamed one or more blocks from the ImmDB that were part of the VolatileDB when initialising the iterator. Now, we have to look back in the VolatileDB again because the ImmDB doesn't have the next block we're looking for. -*** +> We have streamed one or more blocks from the ImmDB that were part of the VolatileDB when initialising the iterator. Now, we have to look back in the VolatileDB again because the ImmDB doesn't have the next block we're looking for. From current configuration: @@ -2495,9 +2220,7 @@ Filtered by config value: `Info` ### ChainDB.IteratorEvent.UnknownRangeRequested -*** -An unknown range was requested, see 'UnknownRange'. -*** +> An unknown range was requested, see 'UnknownRange'. From current configuration: @@ -2511,9 +2234,7 @@ Filtered by config value: `Info` ### ChainDB.LedgerEvent.DeletedSnapshot -*** -An old or invalid on-disk snapshot was deleted. -*** +> An old or invalid on-disk snapshot was deleted. From current configuration: @@ -2527,9 +2248,7 @@ Filtered by config value: `Info` ### ChainDB.LedgerEvent.InvalidSnapshot -*** -An on disk snapshot was skipped because it was invalid. -*** +> An on disk snapshot was skipped because it was invalid. From current configuration: @@ -2543,9 +2262,7 @@ Filtered by config value: `Info` ### ChainDB.LedgerEvent.TookSnapshot -*** -A snapshot was written to disk. -*** +> A snapshot was written to disk. From current configuration: @@ -2559,9 +2276,7 @@ Filtered by config value: `Info` ### ChainDB.LedgerReplayEvent.ReplayFromGenesis -*** -There were no LedgerDB snapshots on disk, so we're replaying all blocks starting from Genesis against the initial ledger. The @replayTo@ parameter corresponds to the block at the tip of the ImmDB, i.e., the last block to replay. -*** +> There were no LedgerDB snapshots on disk, so we're replaying all blocks starting from Genesis against the initial ledger. The @replayTo@ parameter corresponds to the block at the tip of the ImmDB, i.e., the last block to replay. From current configuration: @@ -2575,9 +2290,7 @@ Filtered by config value: `Info` ### ChainDB.LedgerReplayEvent.ReplayFromSnapshot -*** -There was a LedgerDB snapshot on disk corresponding to the given tip. We're replaying more recent blocks against it. The @replayTo@ parameter corresponds to the block at the tip of the ImmDB, i.e., the last block to replay. -*** +> There was a LedgerDB snapshot on disk corresponding to the given tip. We're replaying more recent blocks against it. The @replayTo@ parameter corresponds to the block at the tip of the ImmDB, i.e., the last block to replay. From current configuration: @@ -2591,10 +2304,8 @@ Filtered by config value: `Info` ### ChainDB.LedgerReplayEvent.ReplayedBlock -*** -We replayed the given block (reference) on the genesis snapshot during the initialisation of the LedgerDB. - The @blockInfo@ parameter corresponds replayed block and the @replayTo@ parameter corresponds to the block at the tip of the ImmDB, i.e., the last block to replay. -*** +> We replayed the given block (reference) on the genesis snapshot during the initialisation of the LedgerDB. +> The @blockInfo@ parameter corresponds replayed block and the @replayTo@ parameter corresponds to the block at the tip of the ImmDB, i.e., the last block to replay. From current configuration: @@ -2608,9 +2319,7 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.ClosedDB -*** -The ChainDB was closed. -*** +> The ChainDB was closed. From current configuration: @@ -2624,9 +2333,7 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.OpenedDB -*** -The ChainDB was opened. -*** +> The ChainDB was opened. From current configuration: @@ -2640,9 +2347,7 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.OpenedImmutableDB -*** -The ImmDB was opened. -*** +> The ImmDB was opened. From current configuration: @@ -2656,9 +2361,7 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.OpenedLgrDB -*** -The LedgerDB was opened. -*** +> The LedgerDB was opened. From current configuration: @@ -2672,9 +2375,7 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.OpenedVolatileDB -*** -The VolatileDB was opened. -*** +> The VolatileDB was opened. From current configuration: @@ -2688,9 +2389,6 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.StartedOpeningDB -*** - -*** From current configuration: @@ -2704,9 +2402,6 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.StartedOpeningImmutableDB -*** - -*** From current configuration: @@ -2720,9 +2415,7 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.StartedOpeningLgrDB -*** -The LedgerDB was opened. -*** +> The LedgerDB was opened. From current configuration: @@ -2736,9 +2429,20 @@ Filtered by config value: `Info` ### ChainDB.OpenEvent.StartedOpeningVolatileDB -*** -*** + +From current configuration: +Details: `DNormal` +Backends: + `EKGBackend`, + `Stdout MachineFormat`, + `Forwarder` +Filtered by config value: `Info` + +### ChainDB.ReplayBlock.LedgerReplay + + +> Counts up the percent of a block replay. From current configuration: @@ -2752,9 +2456,7 @@ Filtered by config value: `Info` ### ChainDB.VolatileDBEvent.BlockAlreadyHere -*** -A block was found to be already in the DB. -*** +> A block was found to be already in the DB. From current configuration: @@ -2768,9 +2470,7 @@ Filtered by config value: `Info` ### ChainDB.VolatileDBEvent.DBAlreadyClosed -*** -When closing the DB it was found itis closed already. -*** +> When closing the DB it was found itis closed already. From current configuration: @@ -2784,9 +2484,7 @@ Filtered by config value: `Info` ### ChainDB.VolatileDBEvent.InvalidFileNames -*** -Reports a list of invalid file paths. -*** +> Reports a list of invalid file paths. From current configuration: @@ -2800,9 +2498,7 @@ Filtered by config value: `Info` ### ChainDB.VolatileDBEvent.Truncate -*** -Truncates a file up to offset because of the error. -*** +> Truncates a file up to offset because of the error. From current configuration: @@ -2813,12 +2509,10 @@ Backends: `Forwarder` Filtered by config value: `Info` -### ChainSync.NodeToClient.Recieve.AwaitReply +### ChainSync.ClientEvent.DownloadedHeader -*** -Acknowledge the request but require the consumer to wait for the nextupdate. This means that the consumer is synced with the producer, andthe producer is waiting for its own chain state to change. -*** +> While following a candidate chain, we rolled forward by downloading a header. From current configuration: @@ -2829,13 +2523,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Recieve.Done +### ChainSync.ClientEvent.Exception -*** -We have to explain to the framework what our states mean, in terms ofwhich party has agency in each state. -Idle states are where it is for the client to send a message,busy states are where the server is expected to send a reply. -*** +> An exception was thrown by the Chain Sync Client. From current configuration: @@ -2846,12 +2537,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Recieve.FindIntersect +### ChainSync.ClientEvent.FoundIntersection -*** -Ask the producer to try to find an improved intersection point betweenthe consumer and producer's chains. The consumer sends a sequence ofpoints and it is up to the producer to find the first intersection pointon its chain and send it back to the consumer. -*** +> We found an intersection between our chain fragment and the candidate's chain. From current configuration: @@ -2862,13 +2551,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Recieve.IntersectFound +### ChainSync.ClientEvent.RolledBack -*** -The reply to the consumer about an intersection found.The consumer can decide weather to send more points. -The message also tells the consumer about the head point of the producer. -*** +> While following a candidate chain, we rolled back to the given point. From current configuration: @@ -2879,13 +2565,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Recieve.IntersectNotFound +### ChainSync.ClientEvent.Termination -*** -The reply to the consumer that no intersection was found: none of thepoints the consumer supplied are on the producer chain. -The message also tells the consumer about the head point of the producer. -*** +> The client has terminated. From current configuration: @@ -2896,12 +2579,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Recieve.RequestNext +### ChainSync.Local.Receive.AwaitReply -*** -Request the next update from the producer. The response can be a rollforward, a roll back or wait. -*** +> Acknowledge the request but require the consumer to wait for the next update. This means that the consumer is synced with the producer, and the producer is waiting for its own chain state to change. From current configuration: @@ -2912,13 +2593,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Recieve.RollBackward +### ChainSync.Local.Receive.Done -*** -Tell the consumer to roll back to a given point on their chain. -The message also tells the consumer about the head point of the producer. -*** +> We have to explain to the framework what our states mean, in terms of which party has agency in each state. +> Idle states are where it is for the client to send a message, busy states are where the server is expected to send a reply. From current configuration: @@ -2929,13 +2608,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Recieve.RollForward +### ChainSync.Local.Receive.FindIntersect -*** -Tell the consumer to extend their chain with the given header. -The message also tells the consumer about the head point of the producer. -*** +> Ask the producer to try to find an improved intersection point between the consumer and producer's chains. The consumer sends a sequence of points and it is up to the producer to find the first intersection point on its chain and send it back to the consumer. From current configuration: @@ -2946,12 +2622,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Send.AwaitReply +### ChainSync.Local.Receive.IntersectFound -*** -Acknowledge the request but require the consumer to wait for the nextupdate. This means that the consumer is synced with the producer, andthe producer is waiting for its own chain state to change. -*** +> The reply to the consumer about an intersection found. The consumer can decide weather to send more points. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -2962,13 +2637,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Send.Done +### ChainSync.Local.Receive.IntersectNotFound -*** -We have to explain to the framework what our states mean, in terms ofwhich party has agency in each state. -Idle states are where it is for the client to send a message,busy states are where the server is expected to send a reply. -*** +> The reply to the consumer that no intersection was found: none of the points the consumer supplied are on the producer chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -2979,12 +2652,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Send.FindIntersect +### ChainSync.Local.Receive.RequestNext -*** -Ask the producer to try to find an improved intersection point betweenthe consumer and producer's chains. The consumer sends a sequence ofpoints and it is up to the producer to find the first intersection pointon its chain and send it back to the consumer. -*** +> Request the next update from the producer. The response can be a roll forward, a roll back or wait. From current configuration: @@ -2995,13 +2666,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Send.IntersectFound +### ChainSync.Local.Receive.RollBackward -*** -The reply to the consumer about an intersection found.The consumer can decide weather to send more points. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to roll back to a given point on their chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3012,13 +2681,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Send.IntersectNotFound +### ChainSync.Local.Receive.RollForward -*** -The reply to the consumer that no intersection was found: none of thepoints the consumer supplied are on the producer chain. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to extend their chain with the given header. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3029,12 +2696,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Send.RequestNext +### ChainSync.Local.Send.AwaitReply -*** -Request the next update from the producer. The response can be a rollforward, a roll back or wait. -*** +> Acknowledge the request but require the consumer to wait for the next update. This means that the consumer is synced with the producer, and the producer is waiting for its own chain state to change. From current configuration: @@ -3045,13 +2710,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Send.RollBackward +### ChainSync.Local.Send.Done -*** -Tell the consumer to roll back to a given point on their chain. -The message also tells the consumer about the head point of the producer. -*** +> We have to explain to the framework what our states mean, in terms of which party has agency in each state. +> Idle states are where it is for the client to send a message, busy states are where the server is expected to send a reply. From current configuration: @@ -3062,13 +2725,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.NodeToClient.Send.RollForward +### ChainSync.Local.Send.FindIntersect -*** -Tell the consumer to extend their chain with the given header. -The message also tells the consumer about the head point of the producer. -*** +> Ask the producer to try to find an improved intersection point between the consumer and producer's chains. The consumer sends a sequence of points and it is up to the producer to find the first intersection point on its chain and send it back to the consumer. From current configuration: @@ -3079,12 +2739,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncClient.ChainSyncClientEvent.DownloadedHeader +### ChainSync.Local.Send.IntersectFound -*** -While following a candidate chain, we rolled forward by downloading a header. -*** +> The reply to the consumer about an intersection found. The consumer can decide weather to send more points. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3095,12 +2754,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncClient.ChainSyncClientEvent.Exception +### ChainSync.Local.Send.IntersectNotFound -*** -An exception was thrown by the Chain Sync Client. -*** +> The reply to the consumer that no intersection was found: none of the points the consumer supplied are on the producer chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3111,12 +2769,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncClient.ChainSyncClientEvent.FoundIntersection +### ChainSync.Local.Send.RequestNext -*** -We found an intersection between our chain fragment and the candidate's chain. -*** +> Request the next update from the producer. The response can be a roll forward, a roll back or wait. From current configuration: @@ -3127,12 +2783,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncClient.ChainSyncClientEvent.RolledBack +### ChainSync.Local.Send.RollBackward -*** -While following a candidate chain, we rolled back to the given point. -*** +> Tell the consumer to roll back to a given point on their chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3143,12 +2798,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncClient.ChainSyncClientEvent.Termination +### ChainSync.Local.Send.RollForward -*** -The client has terminated. -*** +> Tell the consumer to extend their chain with the given header. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3159,12 +2813,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Recieve.AwaitReply +### ChainSync.Remote.Receive.AwaitReply -*** -Acknowledge the request but require the consumer to wait for the nextupdate. This means that the consumer is synced with the producer, andthe producer is waiting for its own chain state to change. -*** +> Acknowledge the request but require the consumer to wait for the next update. This means that the consumer is synced with the producer, and the producer is waiting for its own chain state to change. From current configuration: @@ -3175,13 +2827,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Recieve.Done +### ChainSync.Remote.Receive.Done -*** -We have to explain to the framework what our states mean, in terms ofwhich party has agency in each state. -Idle states are where it is for the client to send a message,busy states are where the server is expected to send a reply. -*** +> We have to explain to the framework what our states mean, in terms of which party has agency in each state. +> Idle states are where it is for the client to send a message, busy states are where the server is expected to send a reply. From current configuration: @@ -3192,12 +2842,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Recieve.FindIntersect +### ChainSync.Remote.Receive.FindIntersect -*** -Ask the producer to try to find an improved intersection point betweenthe consumer and producer's chains. The consumer sends a sequence ofpoints and it is up to the producer to find the first intersection pointon its chain and send it back to the consumer. -*** +> Ask the producer to try to find an improved intersection point between the consumer and producer's chains. The consumer sends a sequence of points and it is up to the producer to find the first intersection point on its chain and send it back to the consumer. From current configuration: @@ -3208,13 +2856,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Recieve.IntersectFound +### ChainSync.Remote.Receive.IntersectFound -*** -The reply to the consumer about an intersection found.The consumer can decide weather to send more points. -The message also tells the consumer about the head point of the producer. -*** +> The reply to the consumer about an intersection found. The consumer can decide weather to send more points. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3225,13 +2871,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Recieve.IntersectNotFound +### ChainSync.Remote.Receive.IntersectNotFound -*** -The reply to the consumer that no intersection was found: none of thepoints the consumer supplied are on the producer chain. -The message also tells the consumer about the head point of the producer. -*** +> The reply to the consumer that no intersection was found: none of the points the consumer supplied are on the producer chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3242,12 +2886,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Recieve.RequestNext +### ChainSync.Remote.Receive.RequestNext -*** -Request the next update from the producer. The response can be a rollforward, a roll back or wait. -*** +> Request the next update from the producer. The response can be a roll forward, a roll back or wait. From current configuration: @@ -3258,13 +2900,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Recieve.RollBackward +### ChainSync.Remote.Receive.RollBackward -*** -Tell the consumer to roll back to a given point on their chain. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to roll back to a given point on their chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3275,13 +2915,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Recieve.RollForward +### ChainSync.Remote.Receive.RollForward -*** -Tell the consumer to extend their chain with the given header. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to extend their chain with the given header. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3292,12 +2930,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Send.AwaitReply +### ChainSync.Remote.Send.AwaitReply -*** -Acknowledge the request but require the consumer to wait for the nextupdate. This means that the consumer is synced with the producer, andthe producer is waiting for its own chain state to change. -*** +> Acknowledge the request but require the consumer to wait for the next update. This means that the consumer is synced with the producer, and the producer is waiting for its own chain state to change. From current configuration: @@ -3308,13 +2944,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Send.Done +### ChainSync.Remote.Send.Done -*** -We have to explain to the framework what our states mean, in terms ofwhich party has agency in each state. -Idle states are where it is for the client to send a message,busy states are where the server is expected to send a reply. -*** +> We have to explain to the framework what our states mean, in terms of which party has agency in each state. +> Idle states are where it is for the client to send a message, busy states are where the server is expected to send a reply. From current configuration: @@ -3325,12 +2959,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Send.FindIntersect +### ChainSync.Remote.Send.FindIntersect -*** -Ask the producer to try to find an improved intersection point betweenthe consumer and producer's chains. The consumer sends a sequence ofpoints and it is up to the producer to find the first intersection pointon its chain and send it back to the consumer. -*** +> Ask the producer to try to find an improved intersection point between the consumer and producer's chains. The consumer sends a sequence of points and it is up to the producer to find the first intersection point on its chain and send it back to the consumer. From current configuration: @@ -3341,13 +2973,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Send.IntersectFound +### ChainSync.Remote.Send.IntersectFound -*** -The reply to the consumer about an intersection found.The consumer can decide weather to send more points. -The message also tells the consumer about the head point of the producer. -*** +> The reply to the consumer about an intersection found. The consumer can decide weather to send more points. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3358,13 +2988,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Send.IntersectNotFound +### ChainSync.Remote.Send.IntersectNotFound -*** -The reply to the consumer that no intersection was found: none of thepoints the consumer supplied are on the producer chain. -The message also tells the consumer about the head point of the producer. -*** +> The reply to the consumer that no intersection was found: none of the points the consumer supplied are on the producer chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3375,12 +3003,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Send.RequestNext +### ChainSync.Remote.Send.RequestNext -*** -Request the next update from the producer. The response can be a rollforward, a roll back or wait. -*** +> Request the next update from the producer. The response can be a roll forward, a roll back or wait. From current configuration: @@ -3391,13 +3017,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Send.RollBackward +### ChainSync.Remote.Send.RollBackward -*** -Tell the consumer to roll back to a given point on their chain. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to roll back to a given point on their chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3408,13 +3032,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncNode.NodeToNode.Send.RollForward +### ChainSync.Remote.Send.RollForward -*** -Tell the consumer to extend their chain with the given header. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to extend their chain with the given header. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3425,12 +3047,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Recieve.AwaitReply +### ChainSync.Remote.Serialised.Receive.AwaitReply -*** -Acknowledge the request but require the consumer to wait for the nextupdate. This means that the consumer is synced with the producer, andthe producer is waiting for its own chain state to change. -*** +> Acknowledge the request but require the consumer to wait for the next update. This means that the consumer is synced with the producer, and the producer is waiting for its own chain state to change. From current configuration: @@ -3441,13 +3061,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Recieve.Done +### ChainSync.Remote.Serialised.Receive.Done -*** -We have to explain to the framework what our states mean, in terms ofwhich party has agency in each state. -Idle states are where it is for the client to send a message,busy states are where the server is expected to send a reply. -*** +> We have to explain to the framework what our states mean, in terms of which party has agency in each state. +> Idle states are where it is for the client to send a message, busy states are where the server is expected to send a reply. From current configuration: @@ -3458,12 +3076,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Recieve.FindIntersect +### ChainSync.Remote.Serialised.Receive.FindIntersect -*** -Ask the producer to try to find an improved intersection point betweenthe consumer and producer's chains. The consumer sends a sequence ofpoints and it is up to the producer to find the first intersection pointon its chain and send it back to the consumer. -*** +> Ask the producer to try to find an improved intersection point between the consumer and producer's chains. The consumer sends a sequence of points and it is up to the producer to find the first intersection point on its chain and send it back to the consumer. From current configuration: @@ -3474,13 +3090,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Recieve.IntersectFound +### ChainSync.Remote.Serialised.Receive.IntersectFound -*** -The reply to the consumer about an intersection found.The consumer can decide weather to send more points. -The message also tells the consumer about the head point of the producer. -*** +> The reply to the consumer about an intersection found. The consumer can decide weather to send more points. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3491,13 +3105,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Recieve.IntersectNotFound +### ChainSync.Remote.Serialised.Receive.IntersectNotFound -*** -The reply to the consumer that no intersection was found: none of thepoints the consumer supplied are on the producer chain. -The message also tells the consumer about the head point of the producer. -*** +> The reply to the consumer that no intersection was found: none of the points the consumer supplied are on the producer chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3508,12 +3120,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Recieve.RequestNext +### ChainSync.Remote.Serialised.Receive.RequestNext -*** -Request the next update from the producer. The response can be a rollforward, a roll back or wait. -*** +> Request the next update from the producer. The response can be a roll forward, a roll back or wait. From current configuration: @@ -3524,13 +3134,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Recieve.RollBackward +### ChainSync.Remote.Serialised.Receive.RollBackward -*** -Tell the consumer to roll back to a given point on their chain. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to roll back to a given point on their chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3541,13 +3149,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Recieve.RollForward +### ChainSync.Remote.Serialised.Receive.RollForward -*** -Tell the consumer to extend their chain with the given header. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to extend their chain with the given header. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3558,12 +3164,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Send.AwaitReply +### ChainSync.Remote.Serialised.Send.AwaitReply -*** -Acknowledge the request but require the consumer to wait for the nextupdate. This means that the consumer is synced with the producer, andthe producer is waiting for its own chain state to change. -*** +> Acknowledge the request but require the consumer to wait for the next update. This means that the consumer is synced with the producer, and the producer is waiting for its own chain state to change. From current configuration: @@ -3574,13 +3178,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Send.Done +### ChainSync.Remote.Serialised.Send.Done -*** -We have to explain to the framework what our states mean, in terms ofwhich party has agency in each state. -Idle states are where it is for the client to send a message,busy states are where the server is expected to send a reply. -*** +> We have to explain to the framework what our states mean, in terms of which party has agency in each state. +> Idle states are where it is for the client to send a message, busy states are where the server is expected to send a reply. From current configuration: @@ -3591,12 +3193,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Send.FindIntersect +### ChainSync.Remote.Serialised.Send.FindIntersect -*** -Ask the producer to try to find an improved intersection point betweenthe consumer and producer's chains. The consumer sends a sequence ofpoints and it is up to the producer to find the first intersection pointon its chain and send it back to the consumer. -*** +> Ask the producer to try to find an improved intersection point between the consumer and producer's chains. The consumer sends a sequence of points and it is up to the producer to find the first intersection point on its chain and send it back to the consumer. From current configuration: @@ -3607,13 +3207,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Send.IntersectFound +### ChainSync.Remote.Serialised.Send.IntersectFound -*** -The reply to the consumer about an intersection found.The consumer can decide weather to send more points. -The message also tells the consumer about the head point of the producer. -*** +> The reply to the consumer about an intersection found. The consumer can decide weather to send more points. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3624,13 +3222,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Send.IntersectNotFound +### ChainSync.Remote.Serialised.Send.IntersectNotFound -*** -The reply to the consumer that no intersection was found: none of thepoints the consumer supplied are on the producer chain. -The message also tells the consumer about the head point of the producer. -*** +> The reply to the consumer that no intersection was found: none of the points the consumer supplied are on the producer chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3641,12 +3237,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Send.RequestNext +### ChainSync.Remote.Serialised.Send.RequestNext -*** -Request the next update from the producer. The response can be a rollforward, a roll back or wait. -*** +> Request the next update from the producer. The response can be a roll forward, a roll back or wait. From current configuration: @@ -3657,13 +3251,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Send.RollBackward +### ChainSync.Remote.Serialised.Send.RollBackward -*** -Tell the consumer to roll back to a given point on their chain. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to roll back to a given point on their chain. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3674,13 +3266,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncSerialised.NodeToNode.Send.RollForward +### ChainSync.Remote.Serialised.Send.RollForward -*** -Tell the consumer to extend their chain with the given header. -The message also tells the consumer about the head point of the producer. -*** +> Tell the consumer to extend their chain with the given header. +> The message also tells the consumer about the head point of the producer. From current configuration: @@ -3691,12 +3281,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncServerBlock.ChainSyncServerEvent.ServerRead.RollBackward +### ChainSync.ServerBlock.Update -*** - -*** +> A server read has occurred, either for an add block or a rollback From current configuration: @@ -3707,12 +3295,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncServerBlock.ChainSyncServerEvent.ServerRead.RollForward +### ChainSync.ServerHeader.Update -*** -Roll forward to the given point. -*** +> A server read has occurred, either for an add block or a rollback From current configuration: @@ -3723,12 +3309,12 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSyncServerBlock.ChainSyncServerEvent.ServerRead.ServerRead +### Forge.KESInfo -*** -A server read has occurred, either for an add block or a rollback -*** +> kesStartPeriod +> kesEndPeriod is kesStartPeriod + tpraosMaxKESEvo +> kesEvolution is the current evolution or /relative period/. From current configuration: @@ -3737,14 +3323,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` +Filtered by config value: `Info` -### ChainSyncServerBlock.ChainSyncServerEvent.ServerRead.ServerReadBlocked +### Forge.StateInfo.AdoptedBlock -*** -A server read has blocked, either for an add block or a rollback -*** +> We adopted the block we produced, we also trace the transactions that were adopted. From current configuration: @@ -3753,14 +3337,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.RollBackward +Filtered by config value: `Info` +### Forge.StateInfo.BlockContext -*** -*** +> We found out to which block we are going to connect the block we are about to forge. We record the current slot number, the block number of the block to connect to and its point. Note that block number of the block we will try to forge is one more than the recorded block number. From current configuration: @@ -3769,14 +3351,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` +Filtered by config value: `Info` -### ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.RollForward +### Forge.StateInfo.BlockFromFuture -*** -Roll forward to the given point. -*** +> Leadership check failed: the current chain contains a block from a slot /after/ the current slot This can only happen if the system is under heavy load. We record both the current slot number as well as the slot number of the block at the tip of the chain. See also From current configuration: @@ -3785,14 +3365,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` +Filtered by config value: `Info` -### ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.ServerRead +### Forge.StateInfo.DidntAdoptBlock -*** -A server read has occurred, either for an add block or a rollback -*** +> We did not adopt the block we produced, but the block was valid. We must have adopted a block that another leader of the same slot produced before we got the chance of adopting our own block. This is very rare, this warrants a warning. From current configuration: @@ -3801,14 +3379,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` +Filtered by config value: `Info` -### ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.ServerReadBlocked +### Forge.StateInfo.ForgeStateUpdateError -*** -A server read has blocked, either for an add block or a rollback -*** +> Updating the forge state failed. For example, the KES key could not be evolved anymore. We record the error returned by 'updateForgeState'. From current configuration: @@ -3817,14 +3393,17 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.Connect +Filtered by config value: `Info` +### Forge.StateInfo.ForgedBlock -*** -*** +> We forged a block. +> We record the current slot number, the point of the predecessor, the block itself, and the total size of the mempool snapshot at the time we produced the block (which may be significantly larger than the block, due to maximum block size) +> This will be followed by one of three messages: +> * AdoptedBlock (normally) +> * DidntAdoptBlock (rarely) +> * ForgedInvalidBlock (hopefully never -- this would indicate a bug) From current configuration: @@ -3833,14 +3412,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectError +Filtered by config value: `Info` +### Forge.StateInfo.ForgedInvalidBlock -*** -*** +> We forged a block that is invalid according to the ledger in the ChainDB. This means there is an inconsistency between the mempool validation and the ledger validation. This is a serious error! From current configuration: @@ -3849,14 +3426,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectionCleanup +Filtered by config value: `Info` +### Forge.StateInfo.LedgerState -*** -*** +> We obtained a ledger state for the point of the block we want to connect to We record both the current slot number as well as the point of the block we attempt to connect the new block to (that we requested the ledger state for). From current configuration: @@ -3865,14 +3440,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectionExists +Filtered by config value: `Info` +### Forge.StateInfo.LedgerView -*** -*** +> We obtained a ledger view for the current slot number We record the current slot number. From current configuration: @@ -3881,14 +3454,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectionFailure +Filtered by config value: `Info` +### Forge.StateInfo.NoLedgerState -*** -*** +> Leadership check failed: we were unable to get the ledger state for the point of the block we want to connect to This can happen if after choosing which block to connect to the node switched to a different fork. We expect this to happen only rather rarely, so this certainly merits a warning; if it happens a lot, that merits an investigation. We record both the current slot number as well as the point of the block we attempt to connect the new block to (that we requested the ledger state for). From current configuration: @@ -3897,14 +3468,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectionHandler +Filtered by config value: `Info` +### Forge.StateInfo.NoLedgerView -*** -*** +> Leadership check failed: we were unable to get the ledger view for the current slot number This will only happen if there are many missing blocks between the tip of our chain and the current slot. We record also the failure returned by 'forecastFor'. From current configuration: @@ -3913,14 +3482,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectionManagerCounters +Filtered by config value: `Info` +### Forge.StateInfo.NodeCannotForge -*** -*** +> We did the leadership check and concluded that we should lead and forge a block, but cannot. This should only happen rarely and should be logged with warning severity. Records why we cannot forge a block. From current configuration: @@ -3929,14 +3496,13 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectionNotFound +Filtered by config value: `Info` +### Forge.StateInfo.NodeIsLeader -*** -*** +> We did the leadership check and concluded we /are/ the leader +> The node will soon forge; it is about to read its transactions from the Mempool. This will be followed by ForgedBlock. From current configuration: @@ -3945,14 +3511,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectionTimeWait +Filtered by config value: `Info` +### Forge.StateInfo.NodeNotLeader -*** -*** +> We did the leadership check and concluded we are not the leader We record the current slot number From current configuration: @@ -3961,14 +3525,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ConnectionTimeWaitDone +Filtered by config value: `Info` +### Forge.StateInfo.SlotIsImmutable -*** -*** +> Leadership check failed: the tip of the ImmutableDB inhabits the current slot This might happen in two cases. 1. the clock moved backwards, on restart we ignored everything from the VolatileDB since it's all in the future, and now the tip of the ImmutableDB points to a block produced in the same slot we're trying to produce a block in 2. k = 0 and we already adopted a block from another leader of the same slot. We record both the current slot number as well as the tip of the ImmutableDB. See also From current configuration: @@ -3977,14 +3539,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ForbiddenConnection +Filtered by config value: `Info` +### Forge.StateInfo.StartLeadershipCheck -*** -*** +> Start of the leadership check. From current configuration: @@ -3993,14 +3553,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ForbiddenOperation +Filtered by config value: `Info` +### Forge.StateInfo.StartLeadershipCheckPlus -*** -*** +> We adopted the block we produced, we also trace the transactions that were adopted. From current configuration: @@ -4009,14 +3567,15 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.ImpossibleConnection +Filtered by config value: `Info` +### Forge.Stats -*** -*** +> nodeCannotForgeNum shows how many times this node could not forge. +> nodeIsLeaderNum shows how many times this node was leader. +> blocksForgedNum shows how many blocks did forge in this node. +> slotsMissed shows how many slots were missed in this node. From current configuration: @@ -4025,14 +3584,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.IncludeConnection +Filtered by config value: `Info` +### Mempool.AddedTx -*** -*** +> New, valid transaction that was added to the Mempool. From current configuration: @@ -4041,14 +3598,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.PruneConnections +Filtered by config value: `Info` +### Mempool.ManuallyRemovedTxs -*** -*** +> Transactions that have been manually removed from the Mempool. From current configuration: @@ -4057,14 +3612,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.Shutdown +Filtered by config value: `Info` +### Mempool.RejectedTx -*** -*** +> New, invalid transaction thas was rejected and thus not added to the Mempool. From current configuration: @@ -4073,14 +3626,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.State +Filtered by config value: `Info` +### Mempool.RemoveTxs -*** -*** +> Previously valid transactions that are no longer valid because of changes in the ledger state. These transactions have been removed from the Mempool. From current configuration: @@ -4089,14 +3640,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` - -### ConnectionManager.TerminatedConnection +Filtered by config value: `Info` +### Net.AcceptPolicy.ConnectionHardLimit -*** -*** +> Hard rate limit reached, waiting until the number of connections drops below n. From current configuration: @@ -4107,12 +3656,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ConnectionManager.TerminatingConnection +### Net.AcceptPolicy.ConnectionLimitResume -*** - -*** From current configuration: @@ -4123,12 +3669,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ConnectionManager.UnexpectedlyFalseAssertion - +### Net.AcceptPolicy.ConnectionRateLimiting -*** -*** +> Rate limiting accepting connections, delaying next accept for given time, currently serving n connections. From current configuration: @@ -4139,12 +3683,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ConnectionManager.UnknownConnection +### Net.ConnectionManager.Local.Connect -*** - -*** From current configuration: @@ -4155,12 +3696,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ConnectionManager.UnregisterConnection - +### Net.ConnectionManager.Local.ConnectError -*** -*** From current configuration: @@ -4171,12 +3709,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ConnectionManagerTransition.ConnectionManagerTransition +### Net.ConnectionManager.Local.ConnectionCleanup -*** - -*** From current configuration: @@ -4187,12 +3722,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### DNSResolver.LookupAAAAError +### Net.ConnectionManager.Local.ConnectionExists -*** -AAAA lookup failed with an error. -*** From current configuration: @@ -4201,14 +3733,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSResolver.LookupAAAAResult +### Net.ConnectionManager.Local.ConnectionFailure -*** -Lookup AAAA result. -*** From current configuration: @@ -4217,14 +3746,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSResolver.LookupAError +### Net.ConnectionManager.Local.ConnectionHandler -*** -A lookup failed with an error. -*** From current configuration: @@ -4233,14 +3759,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSResolver.LookupAResult +### Net.ConnectionManager.Local.ConnectionManagerCounters -*** -Lookup A result. -*** From current configuration: @@ -4249,14 +3772,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSResolver.LookupException +### Net.ConnectionManager.Local.ConnectionNotFound -*** -A DNS lookup exception occurred. -*** From current configuration: @@ -4265,14 +3785,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSResolver.LookupIPv4First +### Net.ConnectionManager.Local.ConnectionTimeWait -*** -Returning IPv4 address first. -*** From current configuration: @@ -4281,14 +3798,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSResolver.LookupIPv6First +### Net.ConnectionManager.Local.ConnectionTimeWaitDone -*** -Returning IPv6 address first. -*** From current configuration: @@ -4297,14 +3811,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.AllocateSocket +### Net.ConnectionManager.Local.ForbiddenConnection -*** -DNS Subscription: Allocate socket to address. -*** From current configuration: @@ -4313,14 +3824,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.ApplicationException +### Net.ConnectionManager.Local.ForbiddenOperation -*** -DNS Subscription: Application Exception occurred. -*** From current configuration: @@ -4329,14 +3837,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.CloseSocket +### Net.ConnectionManager.Local.ImpossibleConnection -*** -DNS Subscription: Closed socket to address. -*** From current configuration: @@ -4345,14 +3850,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.ConnectEnd +### Net.ConnectionManager.Local.IncludeConnection -*** -DNS Subscription: Connection Attempt end with destination and outcome. -*** From current configuration: @@ -4361,14 +3863,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.ConnectException +### Net.ConnectionManager.Local.PruneConnections -*** -DNS Subscription: Socket Allocation Exception with destination and the exception. -*** From current configuration: @@ -4377,14 +3876,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.ConnectStart +### Net.ConnectionManager.Local.Shutdown -*** -DNS Subscription: Connection Attempt Start with destination. -*** From current configuration: @@ -4393,14 +3889,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.ConnectionExist +### Net.ConnectionManager.Local.State -*** -DNS Subscription: Connection exists to destination. -*** From current configuration: @@ -4409,14 +3902,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.MissingLocalAddress +### Net.ConnectionManager.Local.TerminatedConnection -*** -DNS Subscription: Missing local address. -*** From current configuration: @@ -4425,14 +3915,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.Restart +### Net.ConnectionManager.Local.TerminatingConnection -*** -DNS Subscription: Restarting Subscription after duration with desired valency and current valency. -*** From current configuration: @@ -4441,14 +3928,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.SkippingPeer +### Net.ConnectionManager.Local.UnexpectedlyFalseAssertion -*** -DNS Subscription: Skipping peer with address. -*** From current configuration: @@ -4457,14 +3941,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.SocketAllocationException +### Net.ConnectionManager.Local.UnregisterConnection -*** -DNS Subscription: Connection Attempt Exception with destination and exception. -*** From current configuration: @@ -4473,14 +3954,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.Start +### Net.ConnectionManager.Remote.Connect -*** -DNS Subscription: Starting Subscription Worker with a valency. -*** From current configuration: @@ -4489,14 +3967,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.SubscriptionFailed +### Net.ConnectionManager.Remote.ConnectError -*** -DNS Subscription: Failed to start all required subscriptions. -*** From current configuration: @@ -4505,14 +3980,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.SubscriptionRunning +### Net.ConnectionManager.Remote.ConnectionCleanup -*** -DNS Subscription: Required subscriptions started. -*** From current configuration: @@ -4521,14 +3993,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.SubscriptionWaiting +### Net.ConnectionManager.Remote.ConnectionExists -*** -DNS Subscription: Waiting on address with active connections. -*** From current configuration: @@ -4537,14 +4006,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.SubscriptionWaitingNewConnection +### Net.ConnectionManager.Remote.ConnectionFailure -*** -DNS Subscription: Waiting delay time before attempting a new connection. -*** From current configuration: @@ -4553,14 +4019,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.TryConnectToPeer +### Net.ConnectionManager.Remote.ConnectionHandler -*** -DNS Subscription: Trying to connect to peer with address. -*** From current configuration: @@ -4569,14 +4032,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DNSSubscription.DNS.UnsupportedRemoteAddr +### Net.ConnectionManager.Remote.ConnectionManagerCounters -*** -DNS Subscription: Unsupported remote target address. -*** From current configuration: @@ -4585,14 +4045,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` - -### DebugPeerSelection.DebugPeerSelection.GovernorState +Filtered by config value: `Notice` +### Net.ConnectionManager.Remote.ConnectionNotFound -*** -*** From current configuration: @@ -4603,12 +4060,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### DebugPeerSelectionResponder.DebugPeerSelection.GovernorState +### Net.ConnectionManager.Remote.ConnectionTimeWait -*** - -*** From current configuration: @@ -4619,12 +4073,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### DiffusionInit.ConfiguringLocalSocket +### Net.ConnectionManager.Remote.ConnectionTimeWaitDone -*** -ConfiguringLocalSocket -*** From current configuration: @@ -4633,14 +4084,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.ConfiguringServerSocket +### Net.ConnectionManager.Remote.ForbiddenConnection -*** -ConfiguringServerSocket -*** From current configuration: @@ -4649,14 +4097,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.CreateSystemdSocketForSnocketPath +### Net.ConnectionManager.Remote.ForbiddenOperation -*** -CreateSystemdSocketForSnocketPath -*** From current configuration: @@ -4665,14 +4110,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.CreatedLocalSocket +### Net.ConnectionManager.Remote.ImpossibleConnection -*** -CreatedLocalSocket -*** From current configuration: @@ -4681,14 +4123,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.CreatingServerSocket +### Net.ConnectionManager.Remote.IncludeConnection -*** -CreatingServerSocket -*** From current configuration: @@ -4697,14 +4136,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.DiffusionErrored +### Net.ConnectionManager.Remote.PruneConnections -*** -DiffusionErrored -*** From current configuration: @@ -4713,14 +4149,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.ListeningLocalSocket +### Net.ConnectionManager.Remote.Shutdown -*** -ListeningLocalSocket -*** From current configuration: @@ -4729,14 +4162,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.ListeningServerSocket +### Net.ConnectionManager.Remote.State -*** -ListeningServerSocket -*** From current configuration: @@ -4745,14 +4175,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.LocalSocketUp +### Net.ConnectionManager.Remote.TerminatedConnection -*** -LocalSocketUp -*** From current configuration: @@ -4761,14 +4188,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.RunLocalServer +### Net.ConnectionManager.Remote.TerminatingConnection -*** -RunLocalServer -*** From current configuration: @@ -4777,14 +4201,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.RunServer +### Net.ConnectionManager.Remote.Transition.ConnectionManagerTransition -*** -RunServer -*** From current configuration: @@ -4793,14 +4214,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.ServerSocketUp +### Net.ConnectionManager.Remote.UnexpectedlyFalseAssertion -*** -ServerSocketUp -*** From current configuration: @@ -4809,14 +4227,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.UnsupportedLocalSystemdSocket +### Net.ConnectionManager.Remote.UnregisterConnection -*** -UnsupportedLocalSystemdSocket -*** From current configuration: @@ -4825,14 +4240,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.UnsupportedReadySocketCase +### Net.DNSResolver.LookupAAAAError -*** -UnsupportedReadySocketCase -*** +> AAAA lookup failed with an error. From current configuration: @@ -4841,14 +4254,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### DiffusionInit.UsingSystemdSocket +### Net.DNSResolver.LookupAAAAResult -*** -UsingSystemdSocket -*** +> Lookup AAAA result. From current configuration: @@ -4857,14 +4268,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.AcceptException +### Net.DNSResolver.LookupAError -*** -'accept' threw an exception. -*** +> A lookup failed with an error. From current configuration: @@ -4873,14 +4282,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.KeepSuspended +### Net.DNSResolver.LookupAResult -*** -Consumer was suspended until producer will resume. -*** +> Lookup A result. From current configuration: @@ -4889,14 +4296,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.LocalNodeError +### Net.DNSResolver.LookupException -*** -caught a local exception. -*** +> A DNS lookup exception occurred. From current configuration: @@ -4905,14 +4310,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.ResumeConsumer +### Net.DNSResolver.LookupIPv4First -*** -Resume consumer. -*** +> Returning IPv4 address first. From current configuration: @@ -4921,14 +4324,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.ResumePeer +### Net.DNSResolver.LookupIPv6First -*** -Resume a peer (both consumer and producer). -*** +> Returning IPv6 address first. From current configuration: @@ -4937,14 +4338,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.ResumeProducer +### Net.ErrorPolicy.Local.AcceptException -*** -Resume producer. -*** +> 'accept' threw an exception. From current configuration: @@ -4953,14 +4352,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.SuspendConsumer +### Net.ErrorPolicy.Local.KeepSuspended -*** -Suspending consumer. -*** +> Consumer was suspended until producer will resume. From current configuration: @@ -4969,14 +4366,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.SuspendPeer +### Net.ErrorPolicy.Local.LocalNodeError -*** -Suspending peer with a given exception. -*** +> caught a local exception. From current configuration: @@ -4985,14 +4380,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.UnhandledApplicationException +### Net.ErrorPolicy.Local.ResumeConsumer -*** -An application threw an exception, which was not handled. -*** +> Resume consumer. From current configuration: @@ -5001,14 +4394,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ErrorPolicy.UnhandledConnectionException +### Net.ErrorPolicy.Local.ResumePeer -*** -'connect' threw an exception, which was not handled by any 'ErrorPolicy'. -*** +> Resume a peer (both consumer and producer). From current configuration: @@ -5017,14 +4408,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.AdoptedBlock +### Net.ErrorPolicy.Local.ResumeProducer -*** -We adopted the block we produced, we also trace the transactions that were adopted. -*** +> Resume producer. From current configuration: @@ -5033,14 +4422,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.BlockContext +### Net.ErrorPolicy.Local.SuspendConsumer -*** -We found out to which block we are going to connect the block we are about to forge. We record the current slot number, the block number of the block to connect to and its point. Note that block number of the block we will try to forge is one more than the recorded block number. -*** +> Suspending consumer. From current configuration: @@ -5049,14 +4436,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.BlockFromFuture +### Net.ErrorPolicy.Local.SuspendPeer -*** -Leadership check failed: the current chain contains a block from a slot /after/ the current slot This can only happen if the system is under heavy load. We record both the current slot number as well as the slot number of the block at the tip of the chain. See also -*** +> Suspending peer with a given exception. From current configuration: @@ -5065,14 +4450,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.DidntAdoptBlock +### Net.ErrorPolicy.Local.UnhandledApplicationException -*** -We did not adopt the block we produced, but the block was valid. We must have adopted a block that another leader of the same slot produced before we got the chance of adopting our own block. This is very rare, this warrants a warning. -*** +> An application threw an exception, which was not handled. From current configuration: @@ -5081,14 +4464,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.ForgeStateUpdateError +### Net.ErrorPolicy.Local.UnhandledConnectionException -*** -Updating the forge state failed. For example, the KES key could not be evolved anymore. We record the error returned by 'updateForgeState'. -*** +> 'connect' threw an exception, which was not handled by any 'ErrorPolicy'. From current configuration: @@ -5097,19 +4478,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.ForgedBlock +### Net.ErrorPolicy.Remote.AcceptException -*** -We forged a block. - We record the current slot number, the point of the predecessor, the block itself, and the total size of the mempool snapshot at the time we produced the block (which may be significantly larger than the block, due to maximum block size) - This will be followed by one of three messages: - * AdoptedBlock (normally) - * DidntAdoptBlock (rarely) - * ForgedInvalidBlock (hopefully never -- this would indicate a bug) -*** +> 'accept' threw an exception. From current configuration: @@ -5118,14 +4492,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.ForgedInvalidBlock +### Net.ErrorPolicy.Remote.KeepSuspended -*** -We forged a block that is invalid according to the ledger in the ChainDB. This means there is an inconsistency between the mempool validation and the ledger validation. This is a serious error! -*** +> Consumer was suspended until producer will resume. From current configuration: @@ -5134,14 +4506,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.LedgerState +### Net.ErrorPolicy.Remote.LocalNodeError -*** -We obtained a ledger state for the point of the block we want to connect to We record both the current slot number as well as the point of the block we attempt to connect the new block to (that we requested the ledger state for). -*** +> caught a local exception. From current configuration: @@ -5150,14 +4520,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.LedgerView +### Net.ErrorPolicy.Remote.ResumeConsumer -*** -We obtained a ledger view for the current slot number We record the current slot number. -*** +> Resume consumer. From current configuration: @@ -5166,14 +4534,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.NoLedgerState +### Net.ErrorPolicy.Remote.ResumePeer -*** -Leadership check failed: we were unable to get the ledger state for the point of the block we want to connect to This can happen if after choosing which block to connect to the node switched to a different fork. We expect this to happen only rather rarely, so this certainly merits a warning; if it happens a lot, that merits an investigation. We record both the current slot number as well as the point of the block we attempt to connect the new block to (that we requested the ledger state for). -*** +> Resume a peer (both consumer and producer). From current configuration: @@ -5182,14 +4548,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.NoLedgerView +### Net.ErrorPolicy.Remote.ResumeProducer -*** -Leadership check failed: we were unable to get the ledger view for the current slot number This will only happen if there are many missing blocks between the tip of our chain and the current slot. We record also the failure returned by 'forecastFor'. -*** +> Resume producer. From current configuration: @@ -5198,14 +4562,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.NodeCannotForge +### Net.ErrorPolicy.Remote.SuspendConsumer -*** -We did the leadership check and concluded that we should lead and forge a block, but cannot. This should only happen rarely and should be logged with warning severity. Records why we cannot forge a block. -*** +> Suspending consumer. From current configuration: @@ -5214,15 +4576,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.NodeIsLeader +### Net.ErrorPolicy.Remote.SuspendPeer -*** -We did the leadership check and concluded we /are/ the leader - The node will soon forge; it is about to read its transactions from the Mempool. This will be followed by ForgedBlock. -*** +> Suspending peer with a given exception. From current configuration: @@ -5231,14 +4590,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.NodeNotLeader +### Net.ErrorPolicy.Remote.UnhandledApplicationException -*** -We did the leadership check and concluded we are not the leader We record the current slot number -*** +> An application threw an exception, which was not handled. From current configuration: @@ -5247,14 +4604,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.SlotIsImmutable +### Net.ErrorPolicy.Remote.UnhandledConnectionException -*** -Leadership check failed: the tip of the ImmutableDB inhabits the current slot This might happen in two cases. 1. the clock moved backwards, on restart we ignored everything from the VolatileDB since it's all in the future, and now the tip of the ImmutableDB points to a block produced in the same slot we're trying to produce a block in 2. k = 0 and we already adopted a block from another leader of the same slot. We record both the current slot number as well as the tip of the ImmutableDB. See also -*** +> 'connect' threw an exception, which was not handled by any 'ErrorPolicy'. From current configuration: @@ -5263,14 +4618,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.StartLeadershipCheck +### Net.Handshake.Local.Receive.AcceptVersion -*** -Start of the leadership check. -*** +> The remote end decides which version to use and sends chosen version.The server is allowed to modify version parameters. From current configuration: @@ -5279,14 +4632,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Forge.StartLeadershipCheckPlus +### Net.Handshake.Local.Receive.ProposeVersions -*** -We adopted the block we produced, we also trace the transactions that were adopted. -*** +> Propose versions together with version parameters. It must be encoded to a sorted list.. From current configuration: @@ -5295,16 +4646,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### ForgeStateInfo +### Net.Handshake.Local.Receive.Refuse -*** -kesStartPeriod -kesEndPeriod is kesStartPeriod + tpraosMaxKESEvo -kesEvolution is the current evolution or /relative period/. -*** +> It refuses to run any version. From current configuration: @@ -5315,15 +4662,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ForgeStats +### Net.Handshake.Local.Receive.ReplyVersions -*** -nodeCannotForgeNum shows how many times this node could not forge. -nodeIsLeaderNum shows how many times this node was leader. -blocksForgedNum shows how many blocks did forge in this node. -slotsMissed shows how many slots were missed in this node. -*** +> `MsgReplyVersions` received as a response to 'MsgProposeVersions'. It is not supported to explicitly send this message. It can only be received as a copy of 'MsgProposeVersions' in a simultaneous open scenario. From current configuration: @@ -5334,12 +4676,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Handshake.Receive.AcceptVersion +### Net.Handshake.Local.Send.AcceptVersion -*** -The remote end decides which version to use and sends chosen version.The server is allowed to modify version parameters. -*** +> The remote end decides which version to use and sends chosen version.The server is allowed to modify version parameters. From current configuration: @@ -5350,12 +4690,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Handshake.Receive.ProposeVersions +### Net.Handshake.Local.Send.ProposeVersions -*** -Propose versions together with version parameters. It must be encoded to a sorted list.. -*** +> Propose versions together with version parameters. It must be encoded to a sorted list.. From current configuration: @@ -5366,12 +4704,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Handshake.Receive.Refuse +### Net.Handshake.Local.Send.Refuse -*** -It refuses to run any version. -*** +> It refuses to run any version. From current configuration: @@ -5382,12 +4718,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Handshake.Receive.ReplyVersions +### Net.Handshake.Local.Send.ReplyVersions -*** -`MsgReplyVersions` received as a response to 'MsgProposeVersions'. It is not supported to explicitly send this message. It can only be received as a copy of 'MsgProposeVersions' in a simultaneous open scenario. -*** +> `MsgReplyVersions` received as a response to 'MsgProposeVersions'. It is not supported to explicitly send this message. It can only be received as a copy of 'MsgProposeVersions' in a simultaneous open scenario. From current configuration: @@ -5398,12 +4732,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Handshake.Send.AcceptVersion +### Net.Handshake.Remote.Receive.AcceptVersion -*** -The remote end decides which version to use and sends chosen version.The server is allowed to modify version parameters. -*** +> The remote end decides which version to use and sends chosen version.The server is allowed to modify version parameters. From current configuration: @@ -5414,12 +4746,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Handshake.Send.ProposeVersions +### Net.Handshake.Remote.Receive.ProposeVersions -*** -Propose versions together with version parameters. It must be encoded to a sorted list.. -*** +> Propose versions together with version parameters. It must be encoded to a sorted list.. From current configuration: @@ -5430,12 +4760,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Handshake.Send.Refuse +### Net.Handshake.Remote.Receive.Refuse -*** -It refuses to run any version. -*** +> It refuses to run any version. From current configuration: @@ -5446,12 +4774,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Handshake.Send.ReplyVersions +### Net.Handshake.Remote.Receive.ReplyVersions -*** -`MsgReplyVersions` received as a response to 'MsgProposeVersions'. It is not supported to explicitly send this message. It can only be received as a copy of 'MsgProposeVersions' in a simultaneous open scenario. -*** +> `MsgReplyVersions` received as a response to 'MsgProposeVersions'. It is not supported to explicitly send this message. It can only be received as a copy of 'MsgProposeVersions' in a simultaneous open scenario. From current configuration: @@ -5462,12 +4788,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.DemotedToColdRemote +### Net.Handshake.Remote.Send.AcceptVersion -*** -All mini-protocols terminated. The boolean is true if this connection was not used by p2p-governor, and thus the connection will be terminated. -*** +> The remote end decides which version to use and sends chosen version.The server is allowed to modify version parameters. From current configuration: @@ -5478,12 +4802,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.DemotedToWarmRemote +### Net.Handshake.Remote.Send.ProposeVersions -*** -All mini-protocols terminated. The boolean is true if this connection was not used by p2p-governor, and thus the connection will be terminated. -*** +> Propose versions together with version parameters. It must be encoded to a sorted list.. From current configuration: @@ -5494,12 +4816,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.InboundGovernorCounters - +### Net.Handshake.Remote.Send.Refuse -*** -*** +> It refuses to run any version. From current configuration: @@ -5510,12 +4830,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.InboundGovernorError +### Net.Handshake.Remote.Send.ReplyVersions -*** - -*** +> `MsgReplyVersions` received as a response to 'MsgProposeVersions'. It is not supported to explicitly send this message. It can only be received as a copy of 'MsgProposeVersions' in a simultaneous open scenario. From current configuration: @@ -5526,12 +4844,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.MuxCleanExit - +### Net.InboundGovernor.Local.DemotedToColdRemote -*** -*** +> All mini-protocols terminated. The boolean is true if this connection was not used by p2p-governor, and thus the connection will be terminated. From current configuration: @@ -5542,12 +4858,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.MuxErrored +### Net.InboundGovernor.Local.DemotedToWarmRemote -*** - -*** +> All mini-protocols terminated. The boolean is true if this connection was not used by p2p-governor, and thus the connection will be terminated. From current configuration: @@ -5558,12 +4872,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.NewConnection - +### Net.InboundGovernor.Local.InboundGovernorCounters -*** -*** From current configuration: @@ -5574,12 +4885,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.PromotedToHotRemote +### Net.InboundGovernor.Local.InboundGovernorError -*** - -*** From current configuration: @@ -5590,12 +4898,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.PromotedToWarmRemote - +### Net.InboundGovernor.Local.MuxCleanExit -*** -*** From current configuration: @@ -5606,12 +4911,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.RemoteState +### Net.InboundGovernor.Local.MuxErrored -*** - -*** From current configuration: @@ -5622,12 +4924,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.ResponderErrored - +### Net.InboundGovernor.Local.NewConnection -*** -*** From current configuration: @@ -5638,12 +4937,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.ResponderRestarted +### Net.InboundGovernor.Local.PromotedToHotRemote -*** - -*** From current configuration: @@ -5654,12 +4950,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.ResponderStartFailure - +### Net.InboundGovernor.Local.PromotedToWarmRemote -*** -*** From current configuration: @@ -5670,12 +4963,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.ResponderStarted +### Net.InboundGovernor.Local.RemoteState -*** - -*** From current configuration: @@ -5686,12 +4976,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.ResponderTerminated - +### Net.InboundGovernor.Local.ResponderErrored -*** -*** From current configuration: @@ -5702,12 +4989,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.UnexpectedlyFalseAssertion +### Net.InboundGovernor.Local.ResponderRestarted -*** - -*** From current configuration: @@ -5718,12 +5002,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernor.WaitIdleRemote - +### Net.InboundGovernor.Local.ResponderStartFailure -*** -*** From current configuration: @@ -5734,12 +5015,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### InboundGovernorTransition.InboundGovernorTransition +### Net.InboundGovernor.Local.ResponderStarted -*** - -*** From current configuration: @@ -5750,12 +5028,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### IpSubscription.IP.AllocateSocket +### Net.InboundGovernor.Local.ResponderTerminated -*** -IP Subscription: Allocate socket to address. -*** From current configuration: @@ -5764,14 +5039,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.ApplicationException +### Net.InboundGovernor.Local.UnexpectedlyFalseAssertion -*** -IP Subscription: Application Exception occurred. -*** From current configuration: @@ -5780,14 +5052,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.CloseSocket +### Net.InboundGovernor.Local.WaitIdleRemote -*** -IP Subscription: Closed socket to address. -*** From current configuration: @@ -5796,14 +5065,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.ConnectEnd +### Net.InboundGovernor.Remote.DemotedToColdRemote -*** -IP Subscription: Connection Attempt end with destination and outcome. -*** +> All mini-protocols terminated. The boolean is true if this connection was not used by p2p-governor, and thus the connection will be terminated. From current configuration: @@ -5812,14 +5079,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.ConnectException +### Net.InboundGovernor.Remote.DemotedToWarmRemote -*** -IP Subscription: Socket Allocation Exception with destination and the exception. -*** +> All mini-protocols terminated. The boolean is true if this connection was not used by p2p-governor, and thus the connection will be terminated. From current configuration: @@ -5828,14 +5093,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.ConnectStart +### Net.InboundGovernor.Remote.InboundGovernorCounters -*** -IP Subscription: Connection Attempt Start with destination. -*** From current configuration: @@ -5844,14 +5106,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.ConnectionExist +### Net.InboundGovernor.Remote.InboundGovernorError -*** -IP Subscription: Connection exists to destination. -*** From current configuration: @@ -5860,14 +5119,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.MissingLocalAddress +### Net.InboundGovernor.Remote.MuxCleanExit -*** -IP Subscription: Missing local address. -*** From current configuration: @@ -5876,14 +5132,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.Restart +### Net.InboundGovernor.Remote.MuxErrored -*** -IP Subscription: Restarting Subscription after duration with desired valency and current valency. -*** From current configuration: @@ -5892,14 +5145,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.SkippingPeer +### Net.InboundGovernor.Remote.NewConnection -*** -IP Subscription: Skipping peer with address. -*** From current configuration: @@ -5908,14 +5158,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.SocketAllocationException +### Net.InboundGovernor.Remote.PromotedToHotRemote -*** -IP Subscription: Connection Attempt Exception with destination and exception. -*** From current configuration: @@ -5924,14 +5171,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.Start +### Net.InboundGovernor.Remote.PromotedToWarmRemote -*** -IP Subscription: Starting Subscription Worker with a valency. -*** From current configuration: @@ -5940,14 +5184,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.SubscriptionFailed +### Net.InboundGovernor.Remote.RemoteState -*** -IP Subscription: Failed to start all required subscriptions. -*** From current configuration: @@ -5956,14 +5197,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.SubscriptionRunning +### Net.InboundGovernor.Remote.ResponderErrored -*** -IP Subscription: Required subscriptions started. -*** From current configuration: @@ -5972,14 +5210,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.SubscriptionWaiting +### Net.InboundGovernor.Remote.ResponderRestarted -*** -IP Subscription: Waiting on address with active connections. -*** From current configuration: @@ -5988,14 +5223,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.SubscriptionWaitingNewConnection +### Net.InboundGovernor.Remote.ResponderStartFailure -*** -IP Subscription: Waiting delay time before attempting a new connection. -*** From current configuration: @@ -6004,14 +5236,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.TryConnectToPeer +### Net.InboundGovernor.Remote.ResponderStarted -*** -IP Subscription: Trying to connect to peer with address. -*** From current configuration: @@ -6020,14 +5249,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### IpSubscription.IP.UnsupportedRemoteAddr +### Net.InboundGovernor.Remote.ResponderTerminated -*** -IP Subscription: Unsupported remote target address. -*** From current configuration: @@ -6036,14 +5262,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` - -### KeepAliveClient +Filtered by config value: `Notice` +### Net.InboundGovernor.Remote.Transition.InboundGovernorTransition -*** -*** From current configuration: @@ -6054,12 +5277,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.DisabledLedgerPeers +### Net.InboundGovernor.Remote.UnexpectedlyFalseAssertion -*** -Trace for when getting peers from the ledger is disabled, that is DontUseLedger. -*** From current configuration: @@ -6070,12 +5290,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.FallingBackToBootstrapPeers +### Net.InboundGovernor.Remote.WaitIdleRemote -*** - -*** From current configuration: @@ -6086,12 +5303,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.FetchingNewLedgerState +### Net.KeepAliveClient -*** -Trace for fetching a new list of peers from the ledger. Int is the number of peers returned. -*** From current configuration: @@ -6102,12 +5316,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.PickedPeer +### Net.Mux.Local.ChannelRecvEnd -*** -Trace for a peer picked with accumulated and relative stake of its pool. -*** +> Channel receive end. From current configuration: @@ -6118,12 +5330,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.PickedPeers +### Net.Mux.Local.ChannelRecvStart -*** -Trace for the number of peers we wanted to pick and the list of peers picked. -*** +> Channel receive start. From current configuration: @@ -6134,12 +5344,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.RequestForPeers +### Net.Mux.Local.ChannelSendEnd -*** -RequestForPeers (NumberOfPeers 1) -*** +> Channel send end. From current configuration: @@ -6150,12 +5358,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.ReusingLedgerState - +### Net.Mux.Local.ChannelSendStart -*** -*** +> Channel send start. From current configuration: @@ -6166,12 +5372,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.TraceUseLedgerAfter +### Net.Mux.Local.CleanExit -*** -Trace UseLedgerAfter value. -*** +> Miniprotocol terminated cleanly. From current configuration: @@ -6182,12 +5386,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LedgerPeers.WaitingOnRequest +### Net.Mux.Local.ExceptionExit -*** - -*** +> Miniprotocol terminated with exception. From current configuration: @@ -6198,12 +5400,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.Connect - +### Net.Mux.Local.HandshakeClientEnd -*** -*** +> Handshake client end. From current configuration: @@ -6214,12 +5414,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectError +### Net.Mux.Local.HandshakeClientError -*** - -*** +> Handshake client error. From current configuration: @@ -6230,12 +5428,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectionCleanup - +### Net.Mux.Local.HandshakeServerEnd -*** -*** +> Handshake server end. From current configuration: @@ -6246,12 +5442,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectionExists +### Net.Mux.Local.HandshakeServerError -*** - -*** +> Handshake server error. From current configuration: @@ -6262,12 +5456,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectionFailure - +### Net.Mux.Local.HandshakeStart -*** -*** +> Handshake start. From current configuration: @@ -6278,12 +5470,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectionHandler +### Net.Mux.Local.RecvDeltaQObservation -*** - -*** +> Bearer DeltaQ observation. From current configuration: @@ -6294,12 +5484,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectionManagerCounters - +### Net.Mux.Local.RecvDeltaQSample -*** -*** +> Bearer DeltaQ sample. From current configuration: @@ -6310,12 +5498,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectionNotFound +### Net.Mux.Local.RecvEnd -*** - -*** +> Bearer receive end. From current configuration: @@ -6326,12 +5512,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectionTimeWait - +### Net.Mux.Local.RecvHeaderEnd -*** -*** +> Bearer receive header end. From current configuration: @@ -6342,12 +5526,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ConnectionTimeWaitDone +### Net.Mux.Local.RecvHeaderStart -*** - -*** +> Bearer receive header start. From current configuration: @@ -6358,12 +5540,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ForbiddenConnection - +### Net.Mux.Local.RecvStart -*** -*** +> Bearer receive start. From current configuration: @@ -6374,12 +5554,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ForbiddenOperation +### Net.Mux.Local.SDUReadTimeoutException -*** - -*** +> Timed out reading SDU. From current configuration: @@ -6390,12 +5568,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.ImpossibleConnection - +### Net.Mux.Local.SDUWriteTimeoutException -*** -*** +> Timed out writing SDU. From current configuration: @@ -6406,12 +5582,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.IncludeConnection +### Net.Mux.Local.SendEnd -*** - -*** +> Bearer send end. From current configuration: @@ -6422,12 +5596,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.PruneConnections - +### Net.Mux.Local.SendStart -*** -*** +> Bearer send start. From current configuration: @@ -6438,12 +5610,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.Shutdown +### Net.Mux.Local.Shutdown -*** - -*** +> Mux shutdown. From current configuration: @@ -6454,12 +5624,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.State - +### Net.Mux.Local.StartEagerly -*** -*** +> Eagerly started. From current configuration: @@ -6470,12 +5638,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.TerminatedConnection +### Net.Mux.Local.StartOnDemand -*** - -*** +> Preparing to start. From current configuration: @@ -6486,12 +5652,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.TerminatingConnection - +### Net.Mux.Local.StartedOnDemand -*** -*** +> Started on demand. From current configuration: @@ -6502,12 +5666,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.UnexpectedlyFalseAssertion +### Net.Mux.Local.State -*** - -*** +> State. From current configuration: @@ -6518,12 +5680,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.UnknownConnection - +### Net.Mux.Local.TCPInfo -*** -*** +> TCPInfo. From current configuration: @@ -6534,12 +5694,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalConnectionManager.UnregisterConnection +### Net.Mux.Local.Terminating -*** - -*** +> Terminating. From current configuration: @@ -6550,12 +5708,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalErrorPolicy.AcceptException +### Net.Mux.Remote.ChannelRecvEnd -*** -'accept' threw an exception. -*** +> Channel receive end. From current configuration: @@ -6564,14 +5720,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.KeepSuspended +### Net.Mux.Remote.ChannelRecvStart -*** -Consumer was suspended until producer will resume. -*** +> Channel receive start. From current configuration: @@ -6580,14 +5734,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.LocalNodeError +### Net.Mux.Remote.ChannelSendEnd -*** -caught a local exception. -*** +> Channel send end. From current configuration: @@ -6596,14 +5748,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.ResumeConsumer +### Net.Mux.Remote.ChannelSendStart -*** -Resume consumer. -*** +> Channel send start. From current configuration: @@ -6612,14 +5762,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.ResumePeer +### Net.Mux.Remote.CleanExit -*** -Resume a peer (both consumer and producer). -*** +> Miniprotocol terminated cleanly. From current configuration: @@ -6628,14 +5776,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.ResumeProducer +### Net.Mux.Remote.ExceptionExit -*** -Resume producer. -*** +> Miniprotocol terminated with exception. From current configuration: @@ -6644,14 +5790,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.SuspendConsumer +### Net.Mux.Remote.HandshakeClientEnd -*** -Suspending consumer. -*** +> Handshake client end. From current configuration: @@ -6660,14 +5804,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.SuspendPeer +### Net.Mux.Remote.HandshakeClientError -*** -Suspending peer with a given exception. -*** +> Handshake client error. From current configuration: @@ -6676,14 +5818,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.UnhandledApplicationException +### Net.Mux.Remote.HandshakeServerEnd -*** -An application threw an exception, which was not handled. -*** +> Handshake server end. From current configuration: @@ -6692,14 +5832,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalErrorPolicy.UnhandledConnectionException +### Net.Mux.Remote.HandshakeServerError -*** -'connect' threw an exception, which was not handled by any 'ErrorPolicy'. -*** +> Handshake server error. From current configuration: @@ -6708,14 +5846,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### LocalHandshake.Receive.AcceptVersion +### Net.Mux.Remote.HandshakeStart -*** -The remote end decides which version to use and sends chosen version.The server is allowed to modify version parameters. -*** +> Handshake start. From current configuration: @@ -6726,12 +5862,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalHandshake.Receive.ProposeVersions +### Net.Mux.Remote.RecvDeltaQObservation -*** -Propose versions together with version parameters. It must be encoded to a sorted list.. -*** +> Bearer DeltaQ observation. From current configuration: @@ -6742,12 +5876,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalHandshake.Receive.Refuse +### Net.Mux.Remote.RecvDeltaQSample -*** -It refuses to run any version. -*** +> Bearer DeltaQ sample. From current configuration: @@ -6758,12 +5890,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalHandshake.Receive.ReplyVersions +### Net.Mux.Remote.RecvEnd -*** -`MsgReplyVersions` received as a response to 'MsgProposeVersions'. It is not supported to explicitly send this message. It can only be received as a copy of 'MsgProposeVersions' in a simultaneous open scenario. -*** +> Bearer receive end. From current configuration: @@ -6774,12 +5904,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalHandshake.Send.AcceptVersion +### Net.Mux.Remote.RecvHeaderEnd -*** -The remote end decides which version to use and sends chosen version.The server is allowed to modify version parameters. -*** +> Bearer receive header end. From current configuration: @@ -6790,12 +5918,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalHandshake.Send.ProposeVersions +### Net.Mux.Remote.RecvHeaderStart -*** -Propose versions together with version parameters. It must be encoded to a sorted list.. -*** +> Bearer receive header start. From current configuration: @@ -6806,12 +5932,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalHandshake.Send.Refuse +### Net.Mux.Remote.RecvStart -*** -It refuses to run any version. -*** +> Bearer receive start. From current configuration: @@ -6822,12 +5946,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalHandshake.Send.ReplyVersions +### Net.Mux.Remote.SDUReadTimeoutException -*** -`MsgReplyVersions` received as a response to 'MsgProposeVersions'. It is not supported to explicitly send this message. It can only be received as a copy of 'MsgProposeVersions' in a simultaneous open scenario. -*** +> Timed out reading SDU. From current configuration: @@ -6838,12 +5960,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.DemotedToColdRemote +### Net.Mux.Remote.SDUWriteTimeoutException -*** -All mini-protocols terminated. The boolean is true if this connection was not used by p2p-governor, and thus the connection will be terminated. -*** +> Timed out writing SDU. From current configuration: @@ -6854,12 +5974,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.DemotedToWarmRemote +### Net.Mux.Remote.SendEnd -*** -All mini-protocols terminated. The boolean is true if this connection was not used by p2p-governor, and thus the connection will be terminated. -*** +> Bearer send end. From current configuration: @@ -6870,12 +5988,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.InboundGovernorCounters - +### Net.Mux.Remote.SendStart -*** -*** +> Bearer send start. From current configuration: @@ -6886,12 +6002,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.InboundGovernorError +### Net.Mux.Remote.Shutdown -*** - -*** +> Mux shutdown. From current configuration: @@ -6902,12 +6016,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.MuxCleanExit - +### Net.Mux.Remote.StartEagerly -*** -*** +> Eagerly started. From current configuration: @@ -6918,12 +6030,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.MuxErrored +### Net.Mux.Remote.StartOnDemand -*** - -*** +> Preparing to start. From current configuration: @@ -6934,12 +6044,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.NewConnection - +### Net.Mux.Remote.StartedOnDemand -*** -*** +> Started on demand. From current configuration: @@ -6950,12 +6058,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.PromotedToHotRemote +### Net.Mux.Remote.State -*** - -*** +> State. From current configuration: @@ -6966,12 +6072,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.PromotedToWarmRemote - +### Net.Mux.Remote.TCPInfo -*** -*** +> TCPInfo. From current configuration: @@ -6982,12 +6086,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.RemoteState +### Net.Mux.Remote.Terminating -*** - -*** +> Terminating. From current configuration: @@ -6998,12 +6100,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.ResponderErrored - +### Net.PeerSelection.Actions.MonitoringError -*** -*** From current configuration: @@ -7014,12 +6113,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.ResponderRestarted +### Net.PeerSelection.Actions.MonitoringResult -*** - -*** From current configuration: @@ -7030,12 +6126,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.ResponderStartFailure - +### Net.PeerSelection.Actions.StatusChangeFailure -*** -*** From current configuration: @@ -7046,12 +6139,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.ResponderStarted +### Net.PeerSelection.Actions.StatusChanged -*** - -*** From current configuration: @@ -7062,12 +6152,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.ResponderTerminated - +### Net.PeerSelection.Counters -*** -*** +> Counters for cold, warm and hot peers From current configuration: @@ -7078,12 +6166,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.UnexpectedlyFalseAssertion +### Net.PeerSelection.Initiator.GovernorState -*** - -*** From current configuration: @@ -7094,12 +6179,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalInboundGovernor.WaitIdleRemote - +### Net.PeerSelection.Responder.GovernorState -*** -*** From current configuration: @@ -7110,12 +6192,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalRootPeers.LocalRootDomains +### Net.PeerSelection.Selection.ChurnMode -*** - -*** From current configuration: @@ -7126,12 +6205,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalRootPeers.LocalRootError - +### Net.PeerSelection.Selection.ChurnWait -*** -*** From current configuration: @@ -7142,12 +6218,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalRootPeers.LocalRootFailure +### Net.PeerSelection.Selection.DemoteAsynchronous -*** - -*** From current configuration: @@ -7158,12 +6231,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalRootPeers.LocalRootGroups - +### Net.PeerSelection.Selection.DemoteHotDone -*** -*** +> target active, actual active, peer From current configuration: @@ -7174,12 +6245,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalRootPeers.LocalRootResult +### Net.PeerSelection.Selection.DemoteHotFailed -*** - -*** +> target active, actual active, peer, reason From current configuration: @@ -7190,12 +6259,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalRootPeers.LocalRootWaiting - +### Net.PeerSelection.Selection.DemoteHotPeers -*** -*** +> target active, actual active, selected peers From current configuration: @@ -7206,12 +6273,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalServer.AcceptConnection +### Net.PeerSelection.Selection.DemoteLocalHotPeers -*** - -*** +> local per-group (target active, actual active), selected peers From current configuration: @@ -7222,12 +6287,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalServer.AcceptError - +### Net.PeerSelection.Selection.DemoteWarmDone -*** -*** +> target established, actual established, peer From current configuration: @@ -7238,12 +6301,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalServer.AcceptPolicy +### Net.PeerSelection.Selection.DemoteWarmFailed -*** - -*** +> target established, actual established, peer, reason From current configuration: @@ -7254,12 +6315,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalServer.Error - +### Net.PeerSelection.Selection.DemoteWarmPeers -*** -*** +> target established, actual established, selected peers From current configuration: @@ -7270,12 +6329,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalServer.Started +### Net.PeerSelection.Selection.ForgetColdPeers -*** - -*** +> target known peers, actual known peers, selected peers From current configuration: @@ -7286,12 +6343,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalServer.Stopped - +### Net.PeerSelection.Selection.GossipRequests -*** -*** +> target known peers, actual known peers, peers available for gossip, peers selected for gossip From current configuration: @@ -7302,12 +6357,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### LocalTxSubmissionServer.ReceivedTx +### Net.PeerSelection.Selection.GossipResults -*** -A transaction was received. -*** From current configuration: @@ -7318,12 +6370,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mempool.AddedTx +### Net.PeerSelection.Selection.GovernorWakeup -*** -New, valid transaction that was added to the Mempool. -*** From current configuration: @@ -7332,14 +6381,11 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Mempool.ManuallyRemovedTxs +### Net.PeerSelection.Selection.LocalRootPeersChanged -*** -Transactions that have been manually removed from the Mempool. -*** From current configuration: @@ -7348,14 +6394,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Mempool.RejectedTx +### Net.PeerSelection.Selection.PromoteColdDone -*** -New, invalid transaction thas was rejected and thus not added to the Mempool. -*** +> target active, actual active, selected peers From current configuration: @@ -7364,14 +6408,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Mempool.RemoveTxs +### Net.PeerSelection.Selection.PromoteColdFailed -*** -Previously valid transactions that are no longer valid because of changes in the ledger state. These transactions have been removed from the Mempool. -*** +> target established, actual established, peer, delay until next promotion, reason From current configuration: @@ -7380,14 +6422,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` +Filtered by config value: `Notice` -### Mux.ChannelRecvEnd +### Net.PeerSelection.Selection.PromoteColdLocalPeers -*** -Channel receive end. -*** +> target local established, actual local established, selected peers From current configuration: @@ -7398,12 +6438,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.ChannelRecvStart +### Net.PeerSelection.Selection.PromoteColdPeers -*** -Channel receive start. -*** +> target established, actual established, selected peers From current configuration: @@ -7414,12 +6452,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.ChannelSendEnd +### Net.PeerSelection.Selection.PromoteWarmAborted -*** -Channel send end. -*** From current configuration: @@ -7430,12 +6465,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.ChannelSendStart +### Net.PeerSelection.Selection.PromoteWarmDone -*** -Channel send start. -*** +> target active, actual active, peer From current configuration: @@ -7446,12 +6479,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.CleanExit +### Net.PeerSelection.Selection.PromoteWarmFailed -*** -Miniprotocol terminated cleanly. -*** +> target active, actual active, peer, reason From current configuration: @@ -7462,12 +6493,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.ExceptionExit +### Net.PeerSelection.Selection.PromoteWarmLocalPeers -*** -Miniprotocol terminated with exception. -*** +> local per-group (target active, actual active), selected peers From current configuration: @@ -7478,12 +6507,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.HandshakeClientEnd +### Net.PeerSelection.Selection.PromoteWarmPeers -*** -Handshake client end. -*** +> target active, actual active, selected peers From current configuration: @@ -7494,12 +6521,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.HandshakeClientError +### Net.PeerSelection.Selection.PublicRootsFailure -*** -Handshake client error. -*** From current configuration: @@ -7510,12 +6534,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.HandshakeServerEnd +### Net.PeerSelection.Selection.PublicRootsRequest -*** -Handshake server end. -*** From current configuration: @@ -7526,12 +6547,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.HandshakeServerError +### Net.PeerSelection.Selection.PublicRootsResults -*** -Handshake server error. -*** From current configuration: @@ -7542,12 +6560,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.HandshakeStart +### Net.PeerSelection.Selection.TargetsChanged -*** -Handshake start. -*** From current configuration: @@ -7558,12 +6573,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.RecvDeltaQObservation +### Net.Peers.Ledger.DisabledLedgerPeers -*** -Bearer DeltaQ observation. -*** +> Trace for when getting peers from the ledger is disabled, that is DontUseLedger. From current configuration: @@ -7574,12 +6587,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.RecvDeltaQSample +### Net.Peers.Ledger.FallingBackToBootstrapPeers -*** -Bearer DeltaQ sample. -*** From current configuration: @@ -7590,12 +6600,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.RecvEnd +### Net.Peers.Ledger.FetchingNewLedgerState -*** -Bearer receive end. -*** +> Trace for fetching a new list of peers from the ledger. Int is the number of peers returned. From current configuration: @@ -7606,12 +6614,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.RecvHeaderEnd +### Net.Peers.Ledger.PickedPeer -*** -Bearer receive header end. -*** +> Trace for a peer picked with accumulated and relative stake of its pool. From current configuration: @@ -7622,12 +6628,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.RecvHeaderStart +### Net.Peers.Ledger.PickedPeers -*** -Bearer receive header start. -*** +> Trace for the number of peers we wanted to pick and the list of peers picked. From current configuration: @@ -7638,12 +6642,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.RecvStart +### Net.Peers.Ledger.RequestForPeers -*** -Bearer receive start. -*** +> RequestForPeers (NumberOfPeers 1) From current configuration: @@ -7654,12 +6656,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.SDUReadTimeoutException +### Net.Peers.Ledger.ReusingLedgerState -*** -Timed out reading SDU. -*** From current configuration: @@ -7670,12 +6669,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.SDUWriteTimeoutException +### Net.Peers.Ledger.TraceUseLedgerAfter -*** -Timed out writing SDU. -*** +> Trace UseLedgerAfter value. From current configuration: @@ -7686,12 +6683,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.SendEnd +### Net.Peers.Ledger.WaitingOnRequest -*** -Bearer send end. -*** From current configuration: @@ -7702,12 +6696,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.SendStart +### Net.Peers.List -*** -Bearer send start. -*** From current configuration: @@ -7718,12 +6709,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.Shutdown +### Net.Peers.LocalRoot.LocalRootDomains -*** -Mux shutdown. -*** From current configuration: @@ -7734,12 +6722,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.StartEagerly +### Net.Peers.LocalRoot.LocalRootError -*** -Eagerly started. -*** From current configuration: @@ -7750,12 +6735,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.StartOnDemand +### Net.Peers.LocalRoot.LocalRootFailure -*** -Preparing to start. -*** From current configuration: @@ -7766,12 +6748,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.StartedOnDemand +### Net.Peers.LocalRoot.LocalRootGroups -*** -Started on demand. -*** From current configuration: @@ -7782,12 +6761,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.State +### Net.Peers.LocalRoot.LocalRootResult -*** -State. -*** From current configuration: @@ -7798,12 +6774,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.TCPInfo +### Net.Peers.LocalRoot.LocalRootWaiting -*** -TCPInfo. -*** From current configuration: @@ -7814,12 +6787,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Mux.Terminating +### Net.Peers.PublicRoot.PublicRootDomains -*** -Terminating. -*** From current configuration: @@ -7830,12 +6800,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.ChannelRecvEnd +### Net.Peers.PublicRoot.PublicRootFailure -*** -Channel receive end. -*** From current configuration: @@ -7846,12 +6813,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.ChannelRecvStart +### Net.Peers.PublicRoot.PublicRootRelayAccessPoint -*** -Channel receive start. -*** From current configuration: @@ -7862,12 +6826,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.ChannelSendEnd +### Net.Peers.PublicRoot.PublicRootResult -*** -Channel send end. -*** From current configuration: @@ -7878,12 +6839,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.ChannelSendStart +### Net.Server.Local.AcceptConnection -*** -Channel send start. -*** From current configuration: @@ -7894,12 +6852,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.CleanExit +### Net.Server.Local.AcceptError -*** -Miniprotocol terminated cleanly. -*** From current configuration: @@ -7910,12 +6865,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.ExceptionExit +### Net.Server.Local.AcceptPolicy -*** -Miniprotocol terminated with exception. -*** From current configuration: @@ -7926,12 +6878,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.HandshakeClientEnd +### Net.Server.Local.Error -*** -Handshake client end. -*** From current configuration: @@ -7942,12 +6891,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.HandshakeClientError +### Net.Server.Local.Started -*** -Handshake client error. -*** From current configuration: @@ -7958,12 +6904,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.HandshakeServerEnd +### Net.Server.Local.Stopped -*** -Handshake server end. -*** From current configuration: @@ -7974,12 +6917,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.HandshakeServerError +### Net.Server.Remote.AcceptConnection -*** -Handshake server error. -*** From current configuration: @@ -7990,12 +6930,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.HandshakeStart +### Net.Server.Remote.AcceptError -*** -Handshake start. -*** From current configuration: @@ -8006,12 +6943,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.RecvDeltaQObservation +### Net.Server.Remote.AcceptPolicy -*** -Bearer DeltaQ observation. -*** From current configuration: @@ -8022,12 +6956,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.RecvDeltaQSample +### Net.Server.Remote.Error -*** -Bearer DeltaQ sample. -*** From current configuration: @@ -8038,12 +6969,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.RecvEnd +### Net.Server.Remote.Started -*** -Bearer receive end. -*** From current configuration: @@ -8054,12 +6982,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.RecvHeaderEnd +### Net.Server.Remote.Stopped -*** -Bearer receive header end. -*** From current configuration: @@ -8070,12 +6995,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.RecvHeaderStart +### Net.Subscription.DNS.AllocateSocket -*** -Bearer receive header start. -*** +> DNS Subscription: Allocate socket to address. From current configuration: @@ -8086,12 +7009,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.RecvStart +### Net.Subscription.DNS.ApplicationException -*** -Bearer receive start. -*** +> DNS Subscription: Application Exception occurred. From current configuration: @@ -8102,12 +7023,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.SDUReadTimeoutException +### Net.Subscription.DNS.CloseSocket -*** -Timed out reading SDU. -*** +> DNS Subscription: Closed socket to address. From current configuration: @@ -8118,12 +7037,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.SDUWriteTimeoutException +### Net.Subscription.DNS.ConnectEnd -*** -Timed out writing SDU. -*** +> DNS Subscription: Connection Attempt end with destination and outcome. From current configuration: @@ -8134,12 +7051,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.SendEnd +### Net.Subscription.DNS.ConnectException -*** -Bearer send end. -*** +> DNS Subscription: Socket Allocation Exception with destination and the exception. From current configuration: @@ -8150,12 +7065,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.SendStart +### Net.Subscription.DNS.ConnectStart -*** -Bearer send start. -*** +> DNS Subscription: Connection Attempt Start with destination. From current configuration: @@ -8166,12 +7079,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.Shutdown +### Net.Subscription.DNS.ConnectionExist -*** -Mux shutdown. -*** +> DNS Subscription: Connection exists to destination. From current configuration: @@ -8182,12 +7093,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.StartEagerly +### Net.Subscription.DNS.MissingLocalAddress -*** -Eagerly started. -*** +> DNS Subscription: Missing local address. From current configuration: @@ -8198,12 +7107,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.StartOnDemand +### Net.Subscription.DNS.Restart -*** -Preparing to start. -*** +> DNS Subscription: Restarting Subscription after duration with desired valency and current valency. From current configuration: @@ -8214,12 +7121,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.StartedOnDemand +### Net.Subscription.DNS.SkippingPeer -*** -Started on demand. -*** +> DNS Subscription: Skipping peer with address. From current configuration: @@ -8230,12 +7135,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.State +### Net.Subscription.DNS.SocketAllocationException -*** -State. -*** +> DNS Subscription: Connection Attempt Exception with destination and exception. From current configuration: @@ -8246,12 +7149,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.TCPInfo +### Net.Subscription.DNS.Start -*** -TCPInfo. -*** +> DNS Subscription: Starting Subscription Worker with a valency. From current configuration: @@ -8262,12 +7163,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### MuxLocal.Terminating +### Net.Subscription.DNS.SubscriptionFailed -*** -Terminating. -*** +> DNS Subscription: Failed to start all required subscriptions. From current configuration: @@ -8278,12 +7177,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.ChurnMode +### Net.Subscription.DNS.SubscriptionRunning -*** - -*** +> DNS Subscription: Required subscriptions started. From current configuration: @@ -8294,12 +7191,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.ChurnWait - +### Net.Subscription.DNS.SubscriptionWaiting -*** -*** +> DNS Subscription: Waiting on address with active connections. From current configuration: @@ -8310,12 +7205,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.DemoteAsynchronous +### Net.Subscription.DNS.SubscriptionWaitingNewConnection -*** - -*** +> DNS Subscription: Waiting delay time before attempting a new connection. From current configuration: @@ -8326,12 +7219,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.DemoteHotDone +### Net.Subscription.DNS.TryConnectToPeer -*** -target active, actual active, peer -*** +> DNS Subscription: Trying to connect to peer with address. From current configuration: @@ -8342,12 +7233,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.DemoteHotFailed +### Net.Subscription.DNS.UnsupportedRemoteAddr -*** -target active, actual active, peer, reason -*** +> DNS Subscription: Unsupported remote target address. From current configuration: @@ -8358,12 +7247,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.DemoteHotPeers +### Net.Subscription.IP.AllocateSocket -*** -target active, actual active, selected peers -*** +> IP Subscription: Allocate socket to address. From current configuration: @@ -8374,12 +7261,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.DemoteLocalHotPeers +### Net.Subscription.IP.ApplicationException -*** -local per-group (target active, actual active), selected peers -*** +> IP Subscription: Application Exception occurred. From current configuration: @@ -8390,12 +7275,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.DemoteWarmDone +### Net.Subscription.IP.CloseSocket -*** -target established, actual established, peer -*** +> IP Subscription: Closed socket to address. From current configuration: @@ -8406,12 +7289,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.DemoteWarmFailed +### Net.Subscription.IP.ConnectEnd -*** -target established, actual established, peer, reason -*** +> IP Subscription: Connection Attempt end with destination and outcome. From current configuration: @@ -8422,12 +7303,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.DemoteWarmPeers +### Net.Subscription.IP.ConnectException -*** -target established, actual established, selected peers -*** +> IP Subscription: Socket Allocation Exception with destination and the exception. From current configuration: @@ -8438,12 +7317,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.ForgetColdPeers +### Net.Subscription.IP.ConnectStart -*** -target known peers, actual known peers, selected peers -*** +> IP Subscription: Connection Attempt Start with destination. From current configuration: @@ -8454,12 +7331,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.GossipRequests +### Net.Subscription.IP.ConnectionExist -*** -target known peers, actual known peers, peers available for gossip, peers selected for gossip -*** +> IP Subscription: Connection exists to destination. From current configuration: @@ -8470,12 +7345,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.GossipResults - +### Net.Subscription.IP.MissingLocalAddress -*** -*** +> IP Subscription: Missing local address. From current configuration: @@ -8486,12 +7359,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.GovernorWakeup +### Net.Subscription.IP.Restart -*** - -*** +> IP Subscription: Restarting Subscription after duration with desired valency and current valency. From current configuration: @@ -8502,12 +7373,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.LocalRootPeersChanged - +### Net.Subscription.IP.SkippingPeer -*** -*** +> IP Subscription: Skipping peer with address. From current configuration: @@ -8518,12 +7387,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteColdDone +### Net.Subscription.IP.SocketAllocationException -*** -target active, actual active, selected peers -*** +> IP Subscription: Connection Attempt Exception with destination and exception. From current configuration: @@ -8534,12 +7401,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteColdFailed +### Net.Subscription.IP.Start -*** -target established, actual established, peer, delay until next promotion, reason -*** +> IP Subscription: Starting Subscription Worker with a valency. From current configuration: @@ -8550,12 +7415,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteColdLocalPeers +### Net.Subscription.IP.SubscriptionFailed -*** -target local established, actual local established, selected peers -*** +> IP Subscription: Failed to start all required subscriptions. From current configuration: @@ -8566,12 +7429,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteColdPeers +### Net.Subscription.IP.SubscriptionRunning -*** -target established, actual established, selected peers -*** +> IP Subscription: Required subscriptions started. From current configuration: @@ -8582,12 +7443,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteWarmAborted +### Net.Subscription.IP.SubscriptionWaiting -*** - -*** +> IP Subscription: Waiting on address with active connections. From current configuration: @@ -8598,12 +7457,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteWarmDone +### Net.Subscription.IP.SubscriptionWaitingNewConnection -*** -target active, actual active, peer -*** +> IP Subscription: Waiting delay time before attempting a new connection. From current configuration: @@ -8614,12 +7471,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteWarmFailed +### Net.Subscription.IP.TryConnectToPeer -*** -target active, actual active, peer, reason -*** +> IP Subscription: Trying to connect to peer with address. From current configuration: @@ -8630,12 +7485,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteWarmLocalPeers +### Net.Subscription.IP.UnsupportedRemoteAddr -*** -local per-group (target active, actual active), selected peers -*** +> IP Subscription: Unsupported remote target address. From current configuration: @@ -8646,12 +7499,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PromoteWarmPeers +### NodeState.NodeAddBlock -*** -target active, actual active, selected peers -*** +> Applying block From current configuration: @@ -8662,12 +7513,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PublicRootsFailure - +### NodeState.NodeInitChainSelection -*** -*** +> Performing initial chain selection From current configuration: @@ -8678,12 +7527,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PublicRootsRequest +### NodeState.NodeKernelOnline -*** - -*** +> Node kernel online From current configuration: @@ -8694,12 +7541,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.PublicRootsResults - +### NodeState.NodeOpeningDbs -*** -*** +> ChainDB components being opened From current configuration: @@ -8710,12 +7555,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelection.TargetsChanged +### NodeState.NodeReplays -*** - -*** +> Replaying chain From current configuration: @@ -8726,12 +7569,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelectionActions.MonitoringError - +### NodeState.NodeShutdown -*** -*** +> Node shutting down From current configuration: @@ -8742,12 +7583,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelectionActions.MonitoringResult +### NodeState.NodeStartup -*** - -*** +> Node startup From current configuration: @@ -8758,12 +7597,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelectionActions.StatusChangeFailure - +### NodeState.NodeTracingOnlineConfiguring -*** -*** +> Tracing system came online, system configuring now From current configuration: @@ -8774,12 +7611,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PeerSelectionActions.StatusChanged - +### Resources -*** -*** From current configuration: @@ -8788,14 +7622,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Notice` +Filtered by config value: `Info` -### PeerSelectionCounters.PeerSelectionCounters +### Shutdown.Abnormal -*** -Counters for cold, warm and hot peers -*** +> non-isEOFerror shutdown request From current configuration: @@ -8806,12 +7638,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Peers +### Shutdown.ArmedAt -*** -TODO Doc -*** +> Setting up node shutdown at given slot / block. From current configuration: @@ -8822,12 +7652,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PublicRootPeers.PublicRootPeers.PublicRootDomains +### Shutdown.Requested -*** - -*** +> Node shutdown was requested. From current configuration: @@ -8838,12 +7666,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PublicRootPeers.PublicRootPeers.PublicRootFailure - +### Shutdown.Requesting -*** -*** +> Ringing the node shutdown doorbell From current configuration: @@ -8854,12 +7680,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PublicRootPeers.PublicRootPeers.PublicRootRelayAccessPoint +### Shutdown.UnexpectedInput -*** - -*** +> Received shutdown request but found unexpected input in --shutdown-ipc FD: From current configuration: @@ -8870,12 +7694,12 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### PublicRootPeers.PublicRootPeers.PublicRootResult - +### Startup.Byron -*** -*** +> _bibSystemStartTime_: TODO JNF +> _bibSlotLength_: gives the length of a slot as time interval. +> _bibEpochLength_: gives the number of slots which forms an epoch. From current configuration: @@ -8886,12 +7710,14 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ReplayBlock.LedgerReplay +### Startup.Common -*** -Counts up the percent of a block replay. -*** +> _biConfigPath_: is the path to the config in use. +> _biProtocol_: is the name of the protocol, e.g. "Byron", "Shelley" or "Byron; Shelley". +> _biVersion_: is the version of the node software running. +> _biCommit_: is the commit revision of the software running. +> _biNodeStartTime_: gives the time this node was started. From current configuration: @@ -8902,12 +7728,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Resources +### Startup.DBValidation -*** -TODO JNF -*** From current configuration: @@ -8916,14 +7739,12 @@ Backends: `EKGBackend`, `Stdout MachineFormat`, `Forwarder` -Filtered by config value: `Info` - -### Server.AcceptConnection +Filtered by config value: `Notice` +### Startup.DiffusionInit.ConfiguringLocalSocket -*** -*** +> ConfiguringLocalSocket From current configuration: @@ -8934,12 +7755,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Server.AcceptError +### Startup.DiffusionInit.ConfiguringServerSocket -*** - -*** +> ConfiguringServerSocket From current configuration: @@ -8950,12 +7769,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Server.AcceptPolicy - +### Startup.DiffusionInit.CreateSystemdSocketForSnocketPath -*** -*** +> CreateSystemdSocketForSnocketPath From current configuration: @@ -8966,12 +7783,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Server.Error +### Startup.DiffusionInit.CreatedLocalSocket -*** - -*** +> CreatedLocalSocket From current configuration: @@ -8982,12 +7797,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Server.Started - +### Startup.DiffusionInit.CreatingServerSocket -*** -*** +> CreatingServerSocket From current configuration: @@ -8998,12 +7811,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Server.Stopped +### Startup.DiffusionInit.DiffusionErrored -*** - -*** +> DiffusionErrored From current configuration: @@ -9014,12 +7825,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Shutdown.AbnormalShutdown +### Startup.DiffusionInit.ListeningLocalSocket -*** -non-isEOFerror shutdown request -*** +> ListeningLocalSocket From current configuration: @@ -9030,12 +7839,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Shutdown.RequestingShutdown +### Startup.DiffusionInit.ListeningServerSocket -*** -Ringing the node shutdown doorbell -*** +> ListeningServerSocket From current configuration: @@ -9046,12 +7853,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Shutdown.ShutdownArmedAtSlot +### Startup.DiffusionInit.LocalSocketUp -*** -Setting up node shutdown at given slot / block. -*** +> LocalSocketUp From current configuration: @@ -9062,12 +7867,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Shutdown.ShutdownRequested +### Startup.DiffusionInit.RunLocalServer -*** -Node shutdown was requested. -*** +> RunLocalServer From current configuration: @@ -9078,12 +7881,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Shutdown.ShutdownUnexpectedInput +### Startup.DiffusionInit.RunServer -*** -Received shutdown request but found unexpected input in --shutdown-ipc FD: -*** +> RunServer From current configuration: @@ -9094,14 +7895,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.Byron +### Startup.DiffusionInit.ServerSocketUp -*** -_bibSystemStartTime_: TODO JNF -_bibSlotLength_: gives the length of a slot as time interval. -_bibEpochLength_: gives the number of slots which forms an epoch. -*** +> ServerSocketUp From current configuration: @@ -9112,16 +7909,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.Common +### Startup.DiffusionInit.UnsupportedLocalSystemdSocket -*** -_biConfigPath_: is the path to the config in use. -_biProtocol_: is the name of the protocol, e.g. "Byron", "Shelley" or "Byron; Shelley". -_biVersion_: is the version of the node software running. -_biCommit_: is the commit revision of the software running. -_biNodeStartTime_: gives the time this node was started. -*** +> UnsupportedLocalSystemdSocket From current configuration: @@ -9132,15 +7923,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.Network +### Startup.DiffusionInit.UnsupportedReadySocketCase -*** -_niAddresses_: IPv4 or IPv6 socket ready to accept connectionsor diffusion addresses. -_niDiffusionMode_: shows if the node runs only initiator or bothinitiator or responder node. -_niDnsProducers_: shows the list of domain names to subscribe to. -_niIpProducers_: shows the list of ip subscription addresses. -*** +> UnsupportedReadySocketCase From current configuration: @@ -9151,12 +7937,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.NetworkConfig - +### Startup.DiffusionInit.UsingSystemdSocket -*** -*** +> UsingSystemdSocket From current configuration: @@ -9167,12 +7951,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.NetworkConfigUpdate - +### Startup.Info -*** -*** From current configuration: @@ -9183,12 +7964,13 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.NetworkConfigUpdateError - +### Startup.Network -*** -*** +> _niAddresses_: IPv4 or IPv6 socket ready to accept connectionsor diffusion addresses. +> _niDiffusionMode_: shows if the node runs only initiator or bothinitiator or responder node. +> _niDnsProducers_: shows the list of domain names to subscribe to. +> _niIpProducers_: shows the list of ip subscription addresses. From current configuration: @@ -9199,12 +7981,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.P2PWarning - +### Startup.NetworkConfig -*** -*** From current configuration: @@ -9215,12 +7994,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.P2PWarningDevelopementNetworkProtocols - +### Startup.NetworkConfigUpdate -*** -*** From current configuration: @@ -9231,16 +8007,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.ShelleyBased +### Startup.NetworkConfigUpdateError -*** -bisEra is the current era, e.g. "Shelley", "Allegra", "Mary" or "Alonzo". -_bisSystemStartTime_: TODO JNF -_bisSlotLength_: gives the length of a slot as time interval. -_bisEpochLength_: gives the number of slots which forms an epoch. -_bisSlotsPerKESPeriod_: gives the slots per KES period. -*** From current configuration: @@ -9251,12 +8020,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.StartupDBValidation - +### Startup.NetworkMagic -*** -*** From current configuration: @@ -9267,12 +8033,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.StartupInfo +### Startup.P2PInfo -*** - -*** From current configuration: @@ -9283,12 +8046,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.StartupNetworkMagic - +### Startup.P2PWarning -*** -*** From current configuration: @@ -9299,12 +8059,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.StartupP2PInfo - +### Startup.P2PWarningDevelopementNetworkProtocols -*** -*** From current configuration: @@ -9315,12 +8072,14 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.StartupSocketConfigError - +### Startup.ShelleyBased -*** -*** +> bisEra is the current era, e.g. "Shelley", "Allegra", "Mary" or "Alonzo". +> _bisSystemStartTime_: TODO JNF +> _bisSlotLength_: gives the length of a slot as time interval. +> _bisEpochLength_: gives the number of slots which forms an epoch. +> _bisSlotsPerKESPeriod_: gives the slots per KES period. From current configuration: @@ -9331,12 +8090,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.StartupTime - +### Startup.SocketConfigError -*** -*** From current configuration: @@ -9347,12 +8103,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### Startup.WarningDevelopmentNetworkProtocols - +### Startup.Time -*** -*** From current configuration: @@ -9363,13 +8116,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Recieve.Acquire +### Startup.WarningDevelopmentNetworkProtocols -*** -The client requests that the state as of a particular recent point onthe server's chain (within K of the tip) be made available to query,and waits for confirmation or failure. -From 'NodeToClient_V8' onwards if the point is not specified, current tipwill be acquired. For previous versions of the protocol 'point' must begiven. -*** From current configuration: @@ -9380,12 +8129,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Recieve.Acquired +### StateQueryServer.Receive.Acquire -*** -The server can confirm that it has the state at the requested point. -*** +> The client requests that the state as of a particular recent point on the server's chain (within K of the tip) be made available to query, and waits for confirmation or failure. +> From 'NodeToClient_V8' onwards if the point is not specified, current tip will be acquired. For previous versions of the protocol 'point' must be given. From current configuration: @@ -9396,12 +8144,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Recieve.Done +### StateQueryServer.Receive.Acquired -*** -The client can terminate the protocol. -*** +> The server can confirm that it has the state at the requested point. From current configuration: @@ -9412,12 +8158,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Recieve.Failure +### StateQueryServer.Receive.Done -*** -The server can report that it cannot obtain the state for therequested point. -*** +> The client can terminate the protocol. From current configuration: @@ -9428,12 +8172,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Recieve.Query +### StateQueryServer.Receive.Failure -*** -The client can perform queries on the current acquired state. -*** +> The server can report that it cannot obtain the state for the requested point. From current configuration: @@ -9444,14 +8186,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Recieve.ReAcquire +### StateQueryServer.Receive.Query -*** -This is like 'MsgAcquire' but for when the client already has astate. By moveing to another state directly without a 'MsgRelease' itenables optimisations on the server side (e.g. moving to the state forthe immediate next block). -Note that failure to re-acquire is equivalent to 'MsgRelease',rather than keeping the exiting acquired state. -From 'NodeToClient_V8' onwards if the point is not specified, current tipwill be acquired. For previous versions of the protocol 'point' must begiven. -*** +> The client can perform queries on the current acquired state. From current configuration: @@ -9462,12 +8200,12 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Recieve.Release +### StateQueryServer.Receive.ReAcquire -*** -The client can instruct the server to release the state. This letsthe server free resources. -*** +> This is like 'MsgAcquire' but for when the client already has a state. By moveing to another state directly without a 'MsgRelease' it enables optimisations on the server side (e.g. moving to the state for the immediate next block). +> Note that failure to re-acquire is equivalent to 'MsgRelease', rather than keeping the exiting acquired state. +> From 'NodeToClient_V8' onwards if the point is not specified, current tip will be acquired. For previous versions of the protocol 'point' must be given. From current configuration: @@ -9478,12 +8216,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Recieve.Result +### StateQueryServer.Receive.Release -*** -The server must reply with the queries. -*** +> The client can instruct the server to release the state. This lets the server free resources. From current configuration: @@ -9494,13 +8230,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Send.Acquire +### StateQueryServer.Receive.Result -*** -The client requests that the state as of a particular recent point onthe server's chain (within K of the tip) be made available to query,and waits for confirmation or failure. -From 'NodeToClient_V8' onwards if the point is not specified, current tipwill be acquired. For previous versions of the protocol 'point' must begiven. -*** +> The server must reply with the queries. From current configuration: @@ -9511,12 +8244,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Send.Acquired +### StateQueryServer.Send.Acquire -*** -The server can confirm that it has the state at the requested point. -*** +> The client requests that the state as of a particular recent point on the server's chain (within K of the tip) be made available to query, and waits for confirmation or failure. +> From 'NodeToClient_V8' onwards if the point is not specified, current tip will be acquired. For previous versions of the protocol 'point' must be given. From current configuration: @@ -9527,12 +8259,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Send.Done +### StateQueryServer.Send.Acquired -*** -The client can terminate the protocol. -*** +> The server can confirm that it has the state at the requested point. From current configuration: @@ -9543,12 +8273,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Send.Failure +### StateQueryServer.Send.Done -*** -The server can report that it cannot obtain the state for therequested point. -*** +> The client can terminate the protocol. From current configuration: @@ -9559,12 +8287,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Send.Query +### StateQueryServer.Send.Failure -*** -The client can perform queries on the current acquired state. -*** +> The server can report that it cannot obtain the state for the requested point. From current configuration: @@ -9575,14 +8301,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Send.ReAcquire +### StateQueryServer.Send.Query -*** -This is like 'MsgAcquire' but for when the client already has astate. By moveing to another state directly without a 'MsgRelease' itenables optimisations on the server side (e.g. moving to the state forthe immediate next block). -Note that failure to re-acquire is equivalent to 'MsgRelease',rather than keeping the exiting acquired state. -From 'NodeToClient_V8' onwards if the point is not specified, current tipwill be acquired. For previous versions of the protocol 'point' must begiven. -*** +> The client can perform queries on the current acquired state. From current configuration: @@ -9593,12 +8315,12 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Send.Release +### StateQueryServer.Send.ReAcquire -*** -The client can instruct the server to release the state. This letsthe server free resources. -*** +> This is like 'MsgAcquire' but for when the client already has a state. By moveing to another state directly without a 'MsgRelease' it enables optimisations on the server side (e.g. moving to the state for the immediate next block). +> Note that failure to re-acquire is equivalent to 'MsgRelease', rather than keeping the exiting acquired state. +> From 'NodeToClient_V8' onwards if the point is not specified, current tip will be acquired. For previous versions of the protocol 'point' must be given. From current configuration: @@ -9609,12 +8331,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### StateQueryClient.Send.Result +### StateQueryServer.Send.Release -*** -The server must reply with the queries. -*** +> The client can instruct the server to release the state. This lets the server free resources. From current configuration: @@ -9625,12 +8345,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxInbound.TxInboundCanRequestMoreTxs +### StateQueryServer.Send.Result -*** -There are no replies in flight, but we do know some more txs we can ask for, so lets ask for them and more txids. -*** +> The server must reply with the queries. From current configuration: @@ -9641,12 +8359,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxInbound.TxInboundCannotRequestMoreTxs +### TxSubmission.Local.Receive.AcceptTx -*** -There's no replies in flight, and we have no more txs we can ask for so the only remaining thing to do is to ask for more txids. Since this is the only thing to do now, we make this a blocking call. -*** +> The server can reply to inform the client that it has accepted the transaction. From current configuration: @@ -9657,12 +8373,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxInbound.TxInboundTerminated +### TxSubmission.Local.Receive.Done -*** -Server received 'MsgDone'. -*** +> The client can terminate the protocol. From current configuration: @@ -9673,12 +8387,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxInbound.TxSubmissionCollected +### TxSubmission.Local.Receive.RejectTx -*** -Number of transactions just about to be inserted. -*** +> The server can reply to inform the client that it has rejected the transaction. A reason for the rejection is included. From current configuration: @@ -9689,12 +8401,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxInbound.TxSubmissionProcessed +### TxSubmission.Local.Receive.SubmitTx -*** -Just processed transaction pass/fail breakdown. -*** +> The client submits a single transaction and waits a reply. From current configuration: @@ -9705,13 +8415,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Recieve.Acquire +### TxSubmission.Local.Send.AcceptTx -*** -The client requests that the state as of a particular recent point onthe server's chain (within K of the tip) be made available to query,and waits for confirmation or failure. -From 'NodeToClient_V8' onwards if the point is not specified, current tipwill be acquired. For previous versions of the protocol 'point' must begiven. -*** +> The server can reply to inform the client that it has accepted the transaction. From current configuration: @@ -9722,12 +8429,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Recieve.Acquired +### TxSubmission.Local.Send.Done -*** -The server can confirm that it has the state at the requested point. -*** +> The client can terminate the protocol. From current configuration: @@ -9738,12 +8443,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Recieve.Done +### TxSubmission.Local.Send.RejectTx -*** -The client can terminate the protocol. -*** +> The server can reply to inform the client that it has rejected the transaction. A reason for the rejection is included. From current configuration: @@ -9754,12 +8457,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Recieve.Failure +### TxSubmission.Local.Send.SubmitTx -*** -The server can report that it cannot obtain the state for therequested point. -*** +> The client submits a single transaction and waits a reply. From current configuration: @@ -9770,12 +8471,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Recieve.Query +### TxSubmission.LocalServer.ReceivedTx -*** -The client can perform queries on the current acquired state. -*** +> A transaction was received. From current configuration: @@ -9786,14 +8485,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Recieve.ReAcquire +### TxSubmission.MonitorClient.Receive.Acquire -*** -This is like 'MsgAcquire' but for when the client already has astate. By moveing to another state directly without a 'MsgRelease' itenables optimisations on the server side (e.g. moving to the state forthe immediate next block). -Note that failure to re-acquire is equivalent to 'MsgRelease',rather than keeping the exiting acquired state. -From 'NodeToClient_V8' onwards if the point is not specified, current tipwill be acquired. For previous versions of the protocol 'point' must begiven. -*** +> The client requests that the state as of a particular recent point on the server's chain (within K of the tip) be made available to query, and waits for confirmation or failure. +> From 'NodeToClient_V8' onwards if the point is not specified, current tip will be acquired. For previous versions of the protocol 'point' must be given. From current configuration: @@ -9804,12 +8500,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Recieve.Release +### TxSubmission.MonitorClient.Receive.Acquired -*** -The client can instruct the server to release the state. This letsthe server free resources. -*** +> The server can confirm that it has the state at the requested point. From current configuration: @@ -9820,12 +8514,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Recieve.Result +### TxSubmission.MonitorClient.Receive.Done -*** -The server must reply with the queries. -*** +> The client can terminate the protocol. From current configuration: @@ -9836,13 +8528,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Send.Acquire +### TxSubmission.MonitorClient.Receive.Failure -*** -The client requests that the state as of a particular recent point onthe server's chain (within K of the tip) be made available to query,and waits for confirmation or failure. -From 'NodeToClient_V8' onwards if the point is not specified, current tipwill be acquired. For previous versions of the protocol 'point' must begiven. -*** +> The server can report that it cannot obtain the state for the requested point. From current configuration: @@ -9853,12 +8542,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Send.Acquired +### TxSubmission.MonitorClient.Receive.Query -*** -The server can confirm that it has the state at the requested point. -*** +> The client can perform queries on the current acquired state. From current configuration: @@ -9869,12 +8556,12 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Send.Done +### TxSubmission.MonitorClient.Receive.ReAcquire -*** -The client can terminate the protocol. -*** +> This is like 'MsgAcquire' but for when the client already has a state. By moveing to another state directly without a 'MsgRelease' it enables optimisations on the server side (e.g. moving to the state for the immediate next block). +> Note that failure to re-acquire is equivalent to 'MsgRelease', rather than keeping the exiting acquired state. +> From 'NodeToClient_V8' onwards if the point is not specified, current tip will be acquired. For previous versions of the protocol 'point' must be given. From current configuration: @@ -9885,12 +8572,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Send.Failure +### TxSubmission.MonitorClient.Receive.Release -*** -The server can report that it cannot obtain the state for therequested point. -*** +> The client can instruct the server to release the state. This lets the server free resources. From current configuration: @@ -9901,12 +8586,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Send.Query +### TxSubmission.MonitorClient.Receive.Result -*** -The client can perform queries on the current acquired state. -*** +> The server must reply with the queries. From current configuration: @@ -9917,14 +8600,11 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Send.ReAcquire +### TxSubmission.MonitorClient.Send.Acquire -*** -This is like 'MsgAcquire' but for when the client already has astate. By moveing to another state directly without a 'MsgRelease' itenables optimisations on the server side (e.g. moving to the state forthe immediate next block). -Note that failure to re-acquire is equivalent to 'MsgRelease',rather than keeping the exiting acquired state. -From 'NodeToClient_V8' onwards if the point is not specified, current tipwill be acquired. For previous versions of the protocol 'point' must begiven. -*** +> The client requests that the state as of a particular recent point on the server's chain (within K of the tip) be made available to query, and waits for confirmation or failure. +> From 'NodeToClient_V8' onwards if the point is not specified, current tip will be acquired. For previous versions of the protocol 'point' must be given. From current configuration: @@ -9935,12 +8615,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Send.Release +### TxSubmission.MonitorClient.Send.Acquired -*** -The client can instruct the server to release the state. This letsthe server free resources. -*** +> The server can confirm that it has the state at the requested point. From current configuration: @@ -9951,12 +8629,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxMonitorClient.Send.Result +### TxSubmission.MonitorClient.Send.Done -*** -The server must reply with the queries. -*** +> The client can terminate the protocol. From current configuration: @@ -9967,12 +8643,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxOutbound.ControlMessage - +### TxSubmission.MonitorClient.Send.Failure -*** -*** +> The server can report that it cannot obtain the state for the requested point. From current configuration: @@ -9983,12 +8657,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxOutbound.RecvMsgRequest +### TxSubmission.MonitorClient.Send.Query -*** -The IDs of the transactions requested. -*** +> The client can perform queries on the current acquired state. From current configuration: @@ -9999,12 +8671,12 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxOutbound.SendMsgReply +### TxSubmission.MonitorClient.Send.ReAcquire -*** -The transactions to be sent in the response. -*** +> This is like 'MsgAcquire' but for when the client already has a state. By moveing to another state directly without a 'MsgRelease' it enables optimisations on the server side (e.g. moving to the state for the immediate next block). +> Note that failure to re-acquire is equivalent to 'MsgRelease', rather than keeping the exiting acquired state. +> From 'NodeToClient_V8' onwards if the point is not specified, current tip will be acquired. For previous versions of the protocol 'point' must be given. From current configuration: @@ -10015,12 +8687,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Recieve.Done +### TxSubmission.MonitorClient.Send.Release -*** -Termination message, initiated by the client when the server ismaking a blocking call for more transaction identifiers. -*** +> The client can instruct the server to release the state. This lets the server free resources. From current configuration: @@ -10031,12 +8701,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Recieve.MsgHello +### TxSubmission.MonitorClient.Send.Result -*** -Client side hello message. -*** +> The server must reply with the queries. From current configuration: @@ -10047,16 +8715,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Recieve.ReplyTxIds +### TxSubmission.Remote.Receive.Done -*** -Reply with a list of transaction identifiers for availabletransactions, along with the size of each transaction. -The list must not be longer than the maximum number requested. -In the 'StTxIds' 'StBlocking' state the list must be non-empty whilein the 'StTxIds' 'StNonBlocking' state the list may be empty. -These transactions are added to the notional FIFO of outstandingtransaction identifiers for the protocol. -The order in which these transaction identifiers are returned must bethe order in which they are submitted to the mempool, to preservedependent transactions. -*** +> Termination message, initiated by the client when the server is making a blocking call for more transaction identifiers. From current configuration: @@ -10067,14 +8729,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Recieve.ReplyTxs +### TxSubmission.Remote.Receive.MsgHello -*** -Reply with the requested transactions, or implicitly discard. -Transactions can become invalid between the time the transactionidentifier was sent and the transaction being requested. Invalid(including committed) transactions do not need to be sent. -Any transaction identifiers requested but not provided in this replyshould be considered as if this peer had never announced them. (Notethat this is no guarantee that the transaction is invalid, it may stillbe valid and available from another peer). -*** +> Client side hello message. From current configuration: @@ -10085,19 +8743,14 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Recieve.RequestTxIds +### TxSubmission.Remote.Receive.ReplyTxIds -*** -Request a non-empty list of transaction identifiers from the client, and confirm a number of outstanding transaction identifiers. -With 'TokBlocking' this is a a blocking operation: the response will always have at least one transaction identifier, and it does not expect a prompt response: there is no timeout. This covers the case when there is nothing else to do but wait. For example this covers leaf nodes that rarely, if ever, create and submit a transaction. -With 'TokNonBlocking' this is a non-blocking operation: the response may be an empty list and this does expect a prompt response. This covers high throughput use cases where we wish to pipeline, by interleaving requests for additional transaction identifiers with requests for transactions, which requires these requests not block. -The request gives the maximum number of transaction identifiers that can be accepted in the response. This must be greater than zero in the 'TokBlocking' case. In the 'TokNonBlocking' case either the numbers acknowledged or the number requested must be non-zero. In either case, the number requested must not put the total outstanding over the fixed protocol limit. -The request also gives the number of outstanding transaction identifiers that can now be acknowledged. The actual transactions to acknowledge are known to the peer based on the FIFO order in which they were provided. -There is no choice about when to use the blocking case versus the non-blocking case, it depends on whether there are any remaining unacknowledged transactions (after taking into account the ones acknowledged in this message): -* The blocking case must be used when there are zero remaining unacknowledged transactions. -* The non-blocking case must be used when there are non-zero remaining unacknowledged transactions. -*** +> Reply with a list of transaction identifiers for available transactions, along with the size of each transaction. +> The list must not be longer than the maximum number requested. +> In the 'StTxIds' 'StBlocking' state the list must be non-empty while in the 'StTxIds' 'StNonBlocking' state the list may be empty. +> These transactions are added to the notional FIFO of outstanding transaction identifiers for the protocol. +> The order in which these transaction identifiers are returned must be the order in which they are submitted to the mempool, to preserve dependent transactions. From current configuration: @@ -10108,15 +8761,12 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Recieve.RequestTxs +### TxSubmission.Remote.Receive.ReplyTxs -*** -Request one or more transactions corresponding to the given transaction identifiers. -While it is the responsibility of the replying peer to keep withinpipelining in-flight limits, the sender must also cooperate by keepingthe total requested across all in-flight requests within the limits. -It is an error to ask for transaction identifiers that were notpreviously announced (via 'MsgReplyTxIds'). -It is an error to ask for transaction identifiers that are notoutstanding or that were already asked for. -*** +> Reply with the requested transactions, or implicitly discard. +> Transactions can become invalid between the time the transaction identifier was sent and the transaction being requested. Invalid (including committed) transactions do not need to be sent. +> Any transaction identifiers requested but not provided in this reply should be considered as if this peer had never announced them. (Note that this is no guarantee that the transaction is invalid, it may still be valid and available from another peer). From current configuration: @@ -10127,12 +8777,17 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Send.Done +### TxSubmission.Remote.Receive.RequestTxIds -*** -Termination message, initiated by the client when the server ismaking a blocking call for more transaction identifiers. -*** +> Request a non-empty list of transaction identifiers from the client, and confirm a number of outstanding transaction identifiers. +> With 'TokBlocking' this is a a blocking operation: the response will always have at least one transaction identifier, and it does not expect a prompt response: there is no timeout. This covers the case when there is nothing else to do but wait. For example this covers leaf nodes that rarely, if ever, create and submit a transaction. +> With 'TokNonBlocking' this is a non-blocking operation: the response may be an empty list and this does expect a prompt response. This covers high throughput use cases where we wish to pipeline, by interleaving requests for additional transaction identifiers with requests for transactions, which requires these requests not block. +> The request gives the maximum number of transaction identifiers that can be accepted in the response. This must be greater than zero in the 'TokBlocking' case. In the 'TokNonBlocking' case either the numbers acknowledged or the number requested must be non-zero. In either case, the number requested must not put the total outstanding over the fixed protocol limit. +> The request also gives the number of outstanding transaction identifiers that can now be acknowledged. The actual transactions to acknowledge are known to the peer based on the FIFO order in which they were provided. +> There is no choice about when to use the blocking case versus the non-blocking case, it depends on whether there are any remaining unacknowledged transactions (after taking into account the ones acknowledged in this message): +> * The blocking case must be used when there are zero remaining unacknowledged transactions. +> * The non-blocking case must be used when there are non-zero remaining unacknowledged transactions. From current configuration: @@ -10143,12 +8798,13 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Send.MsgHello +### TxSubmission.Remote.Receive.RequestTxs -*** -Client side hello message. -*** +> Request one or more transactions corresponding to the given transaction identifiers. +> While it is the responsibility of the replying peer to keep within pipelining in-flight limits, the sender must also cooperate by keeping the total requested across all in-flight requests within the limits. +> It is an error to ask for transaction identifiers that were not previously announced (via 'MsgReplyTxIds'). +> It is an error to ask for transaction identifiers that are not outstanding or that were already asked for. From current configuration: @@ -10159,16 +8815,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Send.ReplyTxIds +### TxSubmission.Remote.Send.Done -*** -Reply with a list of transaction identifiers for availabletransactions, along with the size of each transaction. -The list must not be longer than the maximum number requested. -In the 'StTxIds' 'StBlocking' state the list must be non-empty whilein the 'StTxIds' 'StNonBlocking' state the list may be empty. -These transactions are added to the notional FIFO of outstandingtransaction identifiers for the protocol. -The order in which these transaction identifiers are returned must bethe order in which they are submitted to the mempool, to preservedependent transactions. -*** +> Termination message, initiated by the client when the server is making a blocking call for more transaction identifiers. From current configuration: @@ -10179,14 +8829,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Send.ReplyTxs +### TxSubmission.Remote.Send.MsgHello -*** -Reply with the requested transactions, or implicitly discard. -Transactions can become invalid between the time the transactionidentifier was sent and the transaction being requested. Invalid(including committed) transactions do not need to be sent. -Any transaction identifiers requested but not provided in this replyshould be considered as if this peer had never announced them. (Notethat this is no guarantee that the transaction is invalid, it may stillbe valid and available from another peer). -*** +> Client side hello message. From current configuration: @@ -10197,19 +8843,14 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Send.RequestTxIds +### TxSubmission.Remote.Send.ReplyTxIds -*** -Request a non-empty list of transaction identifiers from the client, and confirm a number of outstanding transaction identifiers. -With 'TokBlocking' this is a a blocking operation: the response will always have at least one transaction identifier, and it does not expect a prompt response: there is no timeout. This covers the case when there is nothing else to do but wait. For example this covers leaf nodes that rarely, if ever, create and submit a transaction. -With 'TokNonBlocking' this is a non-blocking operation: the response may be an empty list and this does expect a prompt response. This covers high throughput use cases where we wish to pipeline, by interleaving requests for additional transaction identifiers with requests for transactions, which requires these requests not block. -The request gives the maximum number of transaction identifiers that can be accepted in the response. This must be greater than zero in the 'TokBlocking' case. In the 'TokNonBlocking' case either the numbers acknowledged or the number requested must be non-zero. In either case, the number requested must not put the total outstanding over the fixed protocol limit. -The request also gives the number of outstanding transaction identifiers that can now be acknowledged. The actual transactions to acknowledge are known to the peer based on the FIFO order in which they were provided. -There is no choice about when to use the blocking case versus the non-blocking case, it depends on whether there are any remaining unacknowledged transactions (after taking into account the ones acknowledged in this message): -* The blocking case must be used when there are zero remaining unacknowledged transactions. -* The non-blocking case must be used when there are non-zero remaining unacknowledged transactions. -*** +> Reply with a list of transaction identifiers for available transactions, along with the size of each transaction. +> The list must not be longer than the maximum number requested. +> In the 'StTxIds' 'StBlocking' state the list must be non-empty while in the 'StTxIds' 'StNonBlocking' state the list may be empty. +> These transactions are added to the notional FIFO of outstanding transaction identifiers for the protocol. +> The order in which these transaction identifiers are returned must be the order in which they are submitted to the mempool, to preserve dependent transactions. From current configuration: @@ -10220,15 +8861,12 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmission2.NodeToNode.Send.RequestTxs +### TxSubmission.Remote.Send.ReplyTxs -*** -Request one or more transactions corresponding to the given transaction identifiers. -While it is the responsibility of the replying peer to keep withinpipelining in-flight limits, the sender must also cooperate by keepingthe total requested across all in-flight requests within the limits. -It is an error to ask for transaction identifiers that were notpreviously announced (via 'MsgReplyTxIds'). -It is an error to ask for transaction identifiers that are notoutstanding or that were already asked for. -*** +> Reply with the requested transactions, or implicitly discard. +> Transactions can become invalid between the time the transaction identifier was sent and the transaction being requested. Invalid (including committed) transactions do not need to be sent. +> Any transaction identifiers requested but not provided in this reply should be considered as if this peer had never announced them. (Note that this is no guarantee that the transaction is invalid, it may still be valid and available from another peer). From current configuration: @@ -10239,12 +8877,17 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmissionClient.Recieve.AcceptTx +### TxSubmission.Remote.Send.RequestTxIds -*** -The server can reply to inform the client that it has accepted thetransaction. -*** +> Request a non-empty list of transaction identifiers from the client, and confirm a number of outstanding transaction identifiers. +> With 'TokBlocking' this is a a blocking operation: the response will always have at least one transaction identifier, and it does not expect a prompt response: there is no timeout. This covers the case when there is nothing else to do but wait. For example this covers leaf nodes that rarely, if ever, create and submit a transaction. +> With 'TokNonBlocking' this is a non-blocking operation: the response may be an empty list and this does expect a prompt response. This covers high throughput use cases where we wish to pipeline, by interleaving requests for additional transaction identifiers with requests for transactions, which requires these requests not block. +> The request gives the maximum number of transaction identifiers that can be accepted in the response. This must be greater than zero in the 'TokBlocking' case. In the 'TokNonBlocking' case either the numbers acknowledged or the number requested must be non-zero. In either case, the number requested must not put the total outstanding over the fixed protocol limit. +> The request also gives the number of outstanding transaction identifiers that can now be acknowledged. The actual transactions to acknowledge are known to the peer based on the FIFO order in which they were provided. +> There is no choice about when to use the blocking case versus the non-blocking case, it depends on whether there are any remaining unacknowledged transactions (after taking into account the ones acknowledged in this message): +> * The blocking case must be used when there are zero remaining unacknowledged transactions. +> * The non-blocking case must be used when there are non-zero remaining unacknowledged transactions. From current configuration: @@ -10255,12 +8898,13 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmissionClient.Recieve.Done +### TxSubmission.Remote.Send.RequestTxs -*** -The client can terminate the protocol. -*** +> Request one or more transactions corresponding to the given transaction identifiers. +> While it is the responsibility of the replying peer to keep within pipelining in-flight limits, the sender must also cooperate by keeping the total requested across all in-flight requests within the limits. +> It is an error to ask for transaction identifiers that were not previously announced (via 'MsgReplyTxIds'). +> It is an error to ask for transaction identifiers that are not outstanding or that were already asked for. From current configuration: @@ -10271,12 +8915,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmissionClient.Recieve.RejectTx +### TxSubmission.TxInbound.CanRequestMoreTxs -*** -The server can reply to inform the client that it has rejected thetransaction. A reason for the rejection is included. -*** +> There are no replies in flight, but we do know some more txs we can ask for, so lets ask for them and more txids. From current configuration: @@ -10287,12 +8929,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmissionClient.Recieve.SubmitTx +### TxSubmission.TxInbound.CannotRequestMoreTxs -*** -The client submits a single transaction and waits a reply. -*** +> There's no replies in flight, and we have no more txs we can ask for so the only remaining thing to do is to ask for more txids. Since this is the only thing to do now, we make this a blocking call. From current configuration: @@ -10303,12 +8943,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmissionClient.Send.AcceptTx +### TxSubmission.TxInbound.Collected -*** -The server can reply to inform the client that it has accepted thetransaction. -*** +> Number of transactions just about to be inserted. From current configuration: @@ -10319,12 +8957,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmissionClient.Send.Done +### TxSubmission.TxInbound.Processed -*** -The client can terminate the protocol. -*** +> Just processed transaction pass/fail breakdown. From current configuration: @@ -10335,12 +8971,10 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmissionClient.Send.RejectTx +### TxSubmission.TxInbound.Terminated -*** -The server can reply to inform the client that it has rejected thetransaction. A reason for the rejection is included. -*** +> Server received 'MsgDone'. From current configuration: @@ -10351,12 +8985,9 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### TxSubmissionClient.Send.SubmitTx +### TxSubmission.TxOutbound.ControlMessage -*** -The client submits a single transaction and waits a reply. -*** From current configuration: @@ -10367,1128 +8998,570 @@ Backends: `Forwarder` Filtered by config value: `Notice` -## Metrics -### Block replay progress (%) +### TxSubmission.TxOutbound.RecvMsgRequest -*** -Progress in percent -*** +> The IDs of the transactions requested. -Dispatched by: -ReplayBlock.LedgerReplay From current configuration: +Details: `DNormal` +Backends: + `EKGBackend`, + `Stdout MachineFormat`, + `Forwarder` Filtered by config value: `Notice` -### blocksForgedNum +### TxSubmission.TxOutbound.SendMsgReply -*** -How many blocks did forge in this node? -*** +> The transactions to be sent in the response. -Dispatched by: -ForgeStats From current configuration: +Details: `DNormal` +Backends: + `EKGBackend`, + `Stdout MachineFormat`, + `Forwarder` Filtered by config value: `Notice` -### cardano.node.aboutToLeadSlotLast - -*** - -*** - - -Dispatched by: -Forge.StartLeadershipCheck - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.aboutToLeadSlotLast - -*** - -*** - - -Dispatched by: -Forge.StartLeadershipCheckPlus - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.adoptedSlotLast - -*** +## Metrics +### BlockFetch.BlocksServed -*** Dispatched by: -Forge.AdoptedBlock +BlockFetch.ServerBlock.SendBlock -From current configuration: -Filtered by config value: `Info` +### BlockFetch.ConnectedPeers -### cardano.node.blockContext - -*** - -*** +> Number of connected peers Dispatched by: -Forge.BlockContext - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.blockFromFuture +BlockFetch.Decision -*** +### ChainDB.BlockReplayProgress -*** +> Progress in percent Dispatched by: -Forge.BlockFromFuture +ChainDB.ReplayBlock.LedgerReplay -From current configuration: -Filtered by config value: `Info` +### ChainDB.Blocks -### cardano.node.blocks - -*** -Number of blocks in this chain fragment. -*** +> Number of blocks in this chain fragment. Dispatched by: ChainDB.AddBlockEvent.AddedToCurrentChain - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.blocks - -*** -Number of blocks in this chain fragment. -*** - - -Dispatched by: ChainDB.AddBlockEvent.SwitchedToAFork -From current configuration: -Filtered by config value: `Info` +### ChainDB.Density -### cardano.node.connectedPeers - -*** -Number of connected peers -*** +> The actual number of blocks created over the maximum expected number of blocks that could be created over the span of the last @k@ blocks. Dispatched by: -BlockFetchDecision - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.connectionManager.duplexConns - -*** - -*** - - -Dispatched by: -ConnectionManager.ConnectionManagerCounters - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.connectionManager.duplexConns +ChainDB.AddBlockEvent.AddedToCurrentChain +ChainDB.AddBlockEvent.SwitchedToAFork -*** +### ChainDB.Epoch -*** +> In which epoch is the tip of the current chain. Dispatched by: -LocalConnectionManager.ConnectionManagerCounters - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.connectionManager.fullDuplexConns +ChainDB.AddBlockEvent.AddedToCurrentChain +ChainDB.AddBlockEvent.SwitchedToAFork -*** +### ChainDB.SlotInEpoch -*** +> Relative slot number of the tip of the current chain within theepoch.. Dispatched by: -ConnectionManager.ConnectionManagerCounters - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.connectionManager.fullDuplexConns +ChainDB.AddBlockEvent.AddedToCurrentChain +ChainDB.AddBlockEvent.SwitchedToAFork -*** +### ChainDB.Slots -*** +> Number of slots in this chain fragment. Dispatched by: -LocalConnectionManager.ConnectionManagerCounters - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.connectionManager.inboundConns +ChainDB.AddBlockEvent.AddedToCurrentChain +ChainDB.AddBlockEvent.SwitchedToAFork -*** +### ChainSync.HeadersServed -*** +> A counter triggered only on header event Dispatched by: -ConnectionManager.ConnectionManagerCounters - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.connectionManager.inboundConns +ChainSync.ServerHeader.Update -*** +### Forge.AboutToLeadSlotLast -*** Dispatched by: -LocalConnectionManager.ConnectionManagerCounters +Forge.StateInfo.StartLeadershipCheck +Forge.StateInfo.StartLeadershipCheckPlus -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.connectionManager.outboundConns - -*** +### Forge.AdoptedOwnBlockSlotLast -*** Dispatched by: -ConnectionManager.ConnectionManagerCounters - -From current configuration: -Filtered by config value: `Notice` +Forge.StateInfo.AdoptedBlock -### cardano.node.connectionManager.outboundConns - -*** +### Forge.BlockContext -*** Dispatched by: -LocalConnectionManager.ConnectionManagerCounters - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.connectionManager.unidirectionalConns +Forge.StateInfo.BlockContext -*** +### Forge.BlockFromFuture -*** Dispatched by: -ConnectionManager.ConnectionManagerCounters - -From current configuration: -Filtered by config value: `Notice` +Forge.StateInfo.BlockFromFuture -### cardano.node.connectionManager.unidirectionalConns +### Forge.BlocksForgedNum -*** - -*** +> How many blocks did forge in this node? Dispatched by: -LocalConnectionManager.ConnectionManagerCounters +Forge.Stats -From current configuration: -Filtered by config value: `Notice` +### Forge.CouldNotForgeSlotLast -### cardano.node.couldNotForgeSlotLast - -*** - -*** Dispatched by: -Forge.NoLedgerState - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.couldNotForgeSlotLast +Forge.StateInfo.NoLedgerState +Forge.StateInfo.NoLedgerView -*** +### Forge.CurrentKESPeriod -*** Dispatched by: -Forge.NoLedgerView +Forge.StateInfo.ForgeStateUpdateError -From current configuration: -Filtered by config value: `Info` - -### cardano.node.currentKESPeriod - -*** +### Forge.DelegMapSize -*** Dispatched by: -Forge.ForgeStateUpdateError - -From current configuration: -Filtered by config value: `Info` +Forge.StateInfo.StartLeadershipCheckPlus -### cardano.node.delegMapSize +### Forge.ForgedInvalidSlotLast -*** - -*** Dispatched by: -Forge.StartLeadershipCheckPlus - -From current configuration: -Filtered by config value: `Info` +Forge.StateInfo.ForgedInvalidBlock -### cardano.node.density +### Forge.ForgedSlotLast -*** -The actual number of blocks created over the maximum expected number of blocks that could be created over the span of the last @k@ blocks. -*** Dispatched by: -ChainDB.AddBlockEvent.AddedToCurrentChain +Forge.StateInfo.ForgedBlock -From current configuration: -Filtered by config value: `Info` - -### cardano.node.density +### Forge.LastSlot -*** -The actual number of blocks created over the maximum expected number of blocks that could be created over the span of the last @k@ blocks. -*** Dispatched by: -ChainDB.AddBlockEvent.SwitchedToAFork +Forge.Stats -From current configuration: -Filtered by config value: `Info` - -### cardano.node.epoch +### Forge.LedgerState -*** -In which epoch is the tip of the current chain. -*** Dispatched by: -ChainDB.AddBlockEvent.AddedToCurrentChain - -From current configuration: -Filtered by config value: `Info` +Forge.StateInfo.LedgerState -### cardano.node.epoch +### Forge.LedgerView -*** -In which epoch is the tip of the current chain. -*** Dispatched by: -ChainDB.AddBlockEvent.SwitchedToAFork +Forge.StateInfo.LedgerView -From current configuration: -Filtered by config value: `Info` - -### cardano.node.forgedInvalidSlotLast - -*** +### Forge.NodeCannotForge -*** Dispatched by: -Forge.ForgedInvalidBlock - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.forgedSlotLast +Forge.StateInfo.NodeCannotForge -*** +### Forge.NodeCannotForgeNum -*** +> How many times this node could not forge? Dispatched by: -Forge.ForgedBlock - -From current configuration: -Filtered by config value: `Info` +Forge.Stats -### cardano.node.inbound-governor.cold - -*** +### Forge.NodeIsLeader -*** Dispatched by: -InboundGovernor.InboundGovernorCounters +Forge.StateInfo.NodeIsLeader -From current configuration: -Filtered by config value: `Notice` +### Forge.NodeIsLeaderNum -### cardano.node.inbound-governor.cold - -*** - -*** +> How many times this node was leader? Dispatched by: -LocalInboundGovernor.InboundGovernorCounters +Forge.Stats -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.inbound-governor.hot - -*** +### Forge.NodeNotLeader -*** Dispatched by: -InboundGovernor.InboundGovernorCounters - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.inbound-governor.hot +Forge.StateInfo.NodeNotLeader -*** +### Forge.NotAdoptedSlotLast -*** Dispatched by: -LocalInboundGovernor.InboundGovernorCounters +Forge.StateInfo.DidntAdoptBlock -From current configuration: -Filtered by config value: `Notice` +### Forge.OperationalCertificateExpiryKESPeriod -### cardano.node.inbound-governor.idle - -*** - -*** Dispatched by: -InboundGovernor.InboundGovernorCounters +Forge.StateInfo.ForgeStateUpdateError -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.inbound-governor.idle - -*** +### Forge.OperationalCertificateStartKESPeriod -*** Dispatched by: -LocalInboundGovernor.InboundGovernorCounters - -From current configuration: -Filtered by config value: `Notice` +Forge.StateInfo.ForgeStateUpdateError -### cardano.node.inbound-governor.warm +### Forge.RemainingKESPeriods -*** - -*** Dispatched by: -InboundGovernor.InboundGovernorCounters - -From current configuration: -Filtered by config value: `Notice` +Forge.StateInfo.ForgeStateUpdateError -### cardano.node.inbound-governor.warm - -*** +### Forge.SlotIsImmutable -*** Dispatched by: -LocalInboundGovernor.InboundGovernorCounters +Forge.StateInfo.SlotIsImmutable -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.ledgerState - -*** +### Forge.SlotsMissed -*** +> How many slots were missed in this node? Dispatched by: -Forge.LedgerState - -From current configuration: -Filtered by config value: `Info` +Forge.Stats -### cardano.node.ledgerView +### Forge.UtxoSize -*** - -*** Dispatched by: -Forge.LedgerView - -From current configuration: -Filtered by config value: `Info` +Forge.StateInfo.StartLeadershipCheckPlus -### cardano.node.mempoolBytes +### Mempool.MempoolBytes -*** -Byte size of the mempool -*** +> Byte size of the mempool Dispatched by: Mempool.AddedTx - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.mempoolBytes - -*** -Byte size of the mempool -*** - - -Dispatched by: Mempool.ManuallyRemovedTxs - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.mempoolBytes - -*** -Byte size of the mempool -*** - - -Dispatched by: Mempool.RejectedTx +Mempool.RemoveTxs -From current configuration: -Filtered by config value: `Info` - -### cardano.node.mempoolBytes +### Mempool.TxsInMempool -*** -Byte size of the mempool -*** +> Transactions in mempool Dispatched by: +Mempool.AddedTx +Mempool.ManuallyRemovedTxs +Mempool.RejectedTx Mempool.RemoveTxs -From current configuration: -Filtered by config value: `Info` +### Mempool.TxsProcessedNum -### cardano.node.metrics.served.header - -*** -A counter triggered ony on header event -*** Dispatched by: -ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.RollBackward - -From current configuration: -Filtered by config value: `Notice` +Mempool.ManuallyRemovedTxs -### cardano.node.metrics.served.header +### Net.ConnectionManager.DuplexConns -*** -A counter triggered ony on header event -*** Dispatched by: -ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.RollForward - -From current configuration: -Filtered by config value: `Notice` +Net.ConnectionManager.Remote.ConnectionManagerCounters -### cardano.node.metrics.served.header +### Net.ConnectionManager.DuplexConns -*** -A counter triggered ony on header event -*** Dispatched by: -ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.ServerRead - -From current configuration: -Filtered by config value: `Notice` +Net.ConnectionManager.Local.ConnectionManagerCounters -### cardano.node.metrics.served.header +### Net.ConnectionManager.FullDuplexConns -*** -A counter triggered ony on header event -*** Dispatched by: -ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.ServerReadBlocked +Net.ConnectionManager.Remote.ConnectionManagerCounters -From current configuration: -Filtered by config value: `Notice` +### Net.ConnectionManager.FullDuplexConns -### cardano.node.nodeCannotForge - -*** - -*** Dispatched by: -Forge.NodeCannotForge +Net.ConnectionManager.Local.ConnectionManagerCounters -From current configuration: -Filtered by config value: `Info` - -### cardano.node.nodeIsLeader - -*** +### Net.ConnectionManager.InboundConns -*** Dispatched by: -Forge.NodeIsLeader - -From current configuration: -Filtered by config value: `Info` +Net.ConnectionManager.Remote.ConnectionManagerCounters -### cardano.node.nodeNotLeader +### Net.ConnectionManager.InboundConns -*** - -*** Dispatched by: -Forge.NodeNotLeader - -From current configuration: -Filtered by config value: `Info` +Net.ConnectionManager.Local.ConnectionManagerCounters -### cardano.node.notAdoptedSlotLast +### Net.ConnectionManager.OutboundConns -*** - -*** Dispatched by: -Forge.DidntAdoptBlock +Net.ConnectionManager.Remote.ConnectionManagerCounters -From current configuration: -Filtered by config value: `Info` +### Net.ConnectionManager.OutboundConns -### cardano.node.operationalCertificateExpiryKESPeriod - -*** - -*** Dispatched by: -Forge.ForgeStateUpdateError - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.operationalCertificateStartKESPeriod +Net.ConnectionManager.Local.ConnectionManagerCounters -*** +### Net.ConnectionManager.UnidirectionalConns -*** Dispatched by: -Forge.ForgeStateUpdateError +Net.ConnectionManager.Remote.ConnectionManagerCounters -From current configuration: -Filtered by config value: `Info` +### Net.ConnectionManager.UnidirectionalConns -### cardano.node.peerSelection.cold - -*** -Number of cold peers -*** Dispatched by: -PeerSelectionCounters.PeerSelectionCounters +Net.ConnectionManager.Local.ConnectionManagerCounters -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.peerSelection.hot +### Net.InboundGovernor.Cold -*** -Number of hot peers -*** Dispatched by: -PeerSelectionCounters.PeerSelectionCounters +Net.InboundGovernor.Remote.InboundGovernorCounters -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.peerSelection.warm +### Net.InboundGovernor.Hot -*** -Number of warm peers -*** Dispatched by: -PeerSelectionCounters.PeerSelectionCounters - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.remainingKESPeriods +Net.InboundGovernor.Remote.InboundGovernorCounters -*** +### Net.InboundGovernor.Idle -*** Dispatched by: -Forge.ForgeStateUpdateError +Net.InboundGovernor.Remote.InboundGovernorCounters -From current configuration: -Filtered by config value: `Info` - -### cardano.node.served.block - -*** +### Net.InboundGovernor.Warm -*** Dispatched by: -BlockFetchServer.SendBlock - -From current configuration: -Filtered by config value: `Notice` +Net.InboundGovernor.Remote.InboundGovernorCounters -### cardano.node.slotInEpoch +### Net.LocalInboundGovernor.Cold -*** -Relative slot number of the tip of the current chain within theepoch.. -*** Dispatched by: -ChainDB.AddBlockEvent.AddedToCurrentChain - -From current configuration: -Filtered by config value: `Info` +Net.InboundGovernor.Local.InboundGovernorCounters -### cardano.node.slotInEpoch +### Net.LocalInboundGovernor.Hot -*** -Relative slot number of the tip of the current chain within theepoch.. -*** Dispatched by: -ChainDB.AddBlockEvent.SwitchedToAFork +Net.InboundGovernor.Local.InboundGovernorCounters -From current configuration: -Filtered by config value: `Info` - -### cardano.node.slotIsImmutable +### Net.LocalInboundGovernor.Idle -*** - -*** Dispatched by: -Forge.SlotIsImmutable +Net.InboundGovernor.Local.InboundGovernorCounters -From current configuration: -Filtered by config value: `Info` - -### cardano.node.slots +### Net.LocalInboundGovernor.Warm -*** -Number of slots in this chain fragment. -*** Dispatched by: -ChainDB.AddBlockEvent.AddedToCurrentChain +Net.InboundGovernor.Local.InboundGovernorCounters -From current configuration: -Filtered by config value: `Info` - -### cardano.node.slots +### Net.PeerSelection.Cold -*** -Number of slots in this chain fragment. -*** +> Number of cold peers Dispatched by: -ChainDB.AddBlockEvent.SwitchedToAFork +Net.PeerSelection.Counters -From current configuration: -Filtered by config value: `Info` +### Net.PeerSelection.Hot -### cardano.node.submissions.accepted - -*** - -*** +> Number of hot peers Dispatched by: -TxInbound.TxSubmissionProcessed - -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.submissions.rejected +Net.PeerSelection.Counters -*** +### Net.PeerSelection.Warm -*** +> Number of warm peers Dispatched by: -TxInbound.TxSubmissionProcessed +Net.PeerSelection.Counters -From current configuration: -Filtered by config value: `Notice` - -### cardano.node.submissions.submitted +### Net.PeersFromNodeKernel -*** - -*** Dispatched by: -TxInbound.TxSubmissionCollected +Net.Peers.List -From current configuration: -Filtered by config value: `Notice` +### Resources.Mem.Resident -### cardano.node.txsInMempool - -*** -Transactions in mempool -*** - - -Dispatched by: -Mempool.AddedTx - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.txsInMempool - -*** -Transactions in mempool -*** - - -Dispatched by: -Mempool.ManuallyRemovedTxs - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.txsInMempool - -*** -Transactions in mempool -*** - - -Dispatched by: -Mempool.RejectedTx - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.txsInMempool - -*** -Transactions in mempool -*** - - -Dispatched by: -Mempool.RemoveTxs - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.txsProcessedNum - -*** - -*** - - -Dispatched by: -Mempool.ManuallyRemovedTxs - -From current configuration: -Filtered by config value: `Info` - -### cardano.node.utxoSize - -*** - -*** - - -Dispatched by: -Forge.StartLeadershipCheckPlus - -From current configuration: -Filtered by config value: `Info` - -### mem.resident - -*** -TODO JNF -*** Dispatched by: Resources -From current configuration: -Filtered by config value: `Info` - -### nodeCannotForgeNum - -*** -How many times this node could not forge? -*** - - -Dispatched by: -ForgeStats - -From current configuration: -Filtered by config value: `Notice` +### Resources.RTS.GcLiveBytes -### nodeIsLeaderNum - -*** -How many times this node was leader? -*** Dispatched by: -ForgeStats - -From current configuration: -Filtered by config value: `Notice` +Resources -### peersFromNodeKernel +### Resources.RTS.GcMajorNum -*** -TODO Doc -*** Dispatched by: -Peers - -From current configuration: -Filtered by config value: `Notice` +Resources -### rts.gcLiveBytes +### Resources.RTS.GcMinorNum -*** -TODO JNF -*** Dispatched by: Resources -From current configuration: -Filtered by config value: `Info` +### Resources.RTS.Gcticks -### rts.gcMajorNum - -*** -TODO JNF -*** Dispatched by: Resources -From current configuration: -Filtered by config value: `Info` - -### rts.gcMinorNum +### Resources.RTS.Mutticks -*** -TODO JNF -*** Dispatched by: Resources -From current configuration: -Filtered by config value: `Info` - -### rts.gcticks +### Resources.RTS.Threads -*** -TODO JNF -*** Dispatched by: Resources -From current configuration: -Filtered by config value: `Info` - -### rts.mutticks +### Resources.Stat.Cputicks -*** -TODO JNF -*** +> Reports the CPU ticks, sice the process was started Dispatched by: Resources -From current configuration: -Filtered by config value: `Info` - -### rts.threads +### TxSubmission.Accepted -*** -TODO JNF -*** Dispatched by: -Resources - -From current configuration: -Filtered by config value: `Info` +TxSubmission.TxInbound.Processed -### slotsMissed +### TxSubmission.Rejected -*** -How many slots were missed in this node? -*** Dispatched by: -ForgeStats - -From current configuration: -Filtered by config value: `Notice` +TxSubmission.TxInbound.Processed -### stat.cputicks +### TxSubmission.Submitted -*** -Reports the CPU ticks, sice the process was started -*** Dispatched by: -Resources - -From current configuration: -Filtered by config value: `Info` +TxSubmission.TxInbound.Collected ## Datapoints ### NodeInfo -*** -Basic information about this node collected at startup - - _niName_: Name of the node. - _niProtocol_: Protocol which this nodes uses. - _niVersion_: Software version which this node is using. - _niStartTime_: Start time of this node. - _niSystemStartTime_: How long did the start of the node took. -*** +> Basic information about this node collected at startup +> +> _niName_: Name of the node. +> _niProtocol_: Protocol which this nodes uses. +> _niVersion_: Software version which this node is using. +> _niStartTime_: Start time of this node. +> _niSystemStartTime_: How long did the start of the node took. -Configuration: TraceConfig {tcOptions = fromList [([],[ConfSeverity {severity = Notice},ConfDetail {detail = DNormal},ConfBackend {backends = [Stdout MachineFormat,EKGBackend,Forwarder]}]),(["AcceptPolicy"],[ConfSeverity {severity = Info}]),(["BlockFetchClient","CompletedBlockFetch"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB"],[ConfSeverity {severity = Info}]),(["ChainDB","AddBlockEvent","AddBlockValidation","ValidCandidate"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","AddBlockEvent","AddedBlockToQueue"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","AddBlockEvent","AddedBlockToVolatileDB"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","CopyToImmutableDBEvent","CopiedBlockToImmutableDB"],[ConfLimiter {maxFrequency = 2.0}]),(["DNSResolver"],[ConfSeverity {severity = Info}]),(["DNSSubscription"],[ConfSeverity {severity = Info}]),(["DiffusionInit"],[ConfSeverity {severity = Info}]),(["ErrorPolicy"],[ConfSeverity {severity = Info}]),(["Forge"],[ConfSeverity {severity = Info}]),(["IpSubscription"],[ConfSeverity {severity = Info}]),(["LocalErrorPolicy"],[ConfSeverity {severity = Info}]),(["Mempool"],[ConfSeverity {severity = Info}]),(["Resources"],[ConfSeverity {severity = Info}])], tcForwarder = TraceOptionForwarder {tofAddress = LocalSocket "/tmp/forwarder.sock", tofMode = Initiator, tofConnQueueSize = 2000, tofDisconnQueueSize = 200000, tofVerbosity = Minimum}, tcNodeName = Nothing, tcPeerFrequency = Just 2000, tcResourceFrequency = Just 5000} +Configuration: TraceConfig {tcOptions = fromList [([],[ConfSeverity {severity = Notice},ConfDetail {detail = DNormal},ConfBackend {backends = [Stdout MachineFormat,EKGBackend,Forwarder]}]),(["AcceptPolicy"],[ConfSeverity {severity = Info}]),(["BlockFetchClient","CompletedBlockFetch"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB"],[ConfSeverity {severity = Info}]),(["ChainDB","AddBlockEvent","AddBlockValidation","ValidCandidate"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","AddBlockEvent","AddedBlockToQueue"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","AddBlockEvent","AddedBlockToVolatileDB"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","CopyToImmutableDBEvent","CopiedBlockToImmutableDB"],[ConfLimiter {maxFrequency = 2.0}]),(["DNSResolver"],[ConfSeverity {severity = Info}]),(["DNSSubscription"],[ConfSeverity {severity = Info}]),(["DiffusionInit"],[ConfSeverity {severity = Info}]),(["ErrorPolicy"],[ConfSeverity {severity = Info}]),(["Forge"],[ConfSeverity {severity = Info}]),(["IpSubscription"],[ConfSeverity {severity = Info}]),(["LocalErrorPolicy"],[ConfSeverity {severity = Info}]),(["Mempool"],[ConfSeverity {severity = Info}]),(["Resources"],[ConfSeverity {severity = Info}])], tcForwarder = TraceOptionForwarder {tofConnQueueSize = 2000, tofDisconnQueueSize = 200000, tofVerbosity = Minimum}, tcNodeName = Nothing, tcPeerFrequency = Just 2000, tcResourceFrequency = Just 5000} -677 log messages. -Generated at 2022-06-03 12:11:02.013173249 CEST. \ No newline at end of file +662 log messages. +Generated at 2022-07-06 17:02:52.510663705 CEST. \ No newline at end of file diff --git a/trace-dispatcher/bench/trace-dispatcher-bench.hs b/trace-dispatcher/bench/trace-dispatcher-bench.hs index a44f51b235f..98dee97d605 100644 --- a/trace-dispatcher/bench/trace-dispatcher-bench.hs +++ b/trace-dispatcher/bench/trace-dispatcher-bench.hs @@ -58,7 +58,7 @@ stdoutTracers stdoutTracer = do stdoutTracer forwardTracer' Nothing - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage @@ -73,7 +73,7 @@ filterTracers stdoutTracer = do stdoutTracer forwardTracer' Nothing - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage @@ -90,7 +90,7 @@ inMemoryTracers = do stdoutTracer' forwardTracer' Nothing - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage @@ -105,7 +105,7 @@ timeLimitedTracers stdoutTracer = do stdoutTracer forwardTracer' Nothing - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage @@ -124,7 +124,7 @@ ekgTracers = do stdoutTracer' forwardTracer' Nothing - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage diff --git a/trace-dispatcher/doc/trace-dispatcher.md b/trace-dispatcher/doc/trace-dispatcher.md index ace3065aac3..912890f739e 100644 --- a/trace-dispatcher/doc/trace-dispatcher.md +++ b/trace-dispatcher/doc/trace-dispatcher.md @@ -648,7 +648,7 @@ Because all these tracers are defined as part of the __dispatcher__ definition, We provide a standard interface to construct a tracer to be used within cardano node. The tracer gets as arguments the backends: `trStdout`, `trForward` and `mbTrEkg`. -The tracer gets as argument a `name`, which is appended to its namespace. The tracer gets as +The tracer gets as argument a composed `name`, which is prepended to its namespace. The tracer gets as arguments `namesFor`, `severityFor` and `privacyFor` functions, to set the logging context accordingly. The returned tracer need to be configured with a configuration for the specification of filtering, detailLevel, frequencyLimiting and backends with a configuration before use. ```haskell @@ -657,7 +657,7 @@ mkCardanoTracer :: forall evt. => Trace IO FormattedMessage -> Trace IO FormattedMessage -> Maybe (Trace IO FormattedMessage) - -> Text + -> [Text] -> (evt -> [Text]) -> (evt -> SeverityS) -> (evt -> Privacy) diff --git a/trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs b/trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs index d8502f1e5a3..49e5816a00a 100644 --- a/trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs +++ b/trace-dispatcher/src/Cardano/Logging/DocuGenerator.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE ScopedTypeVariables #-} @@ -19,7 +20,7 @@ import Cardano.Logging.Types import Control.Monad.IO.Class (MonadIO, liftIO) import qualified Control.Tracer as T import Data.IORef (modifyIORef, newIORef, readIORef) -import Data.List (intersperse, nub, sortBy) +import Data.List (groupBy, intersperse, nub, sortBy) import qualified Data.Map as Map import Data.Text (Text, pack, toLower) import qualified Data.Text as T @@ -304,9 +305,9 @@ documentMarkdown (Documented documented) tracers = do let messageDocs = map (\(i, ld) -> case ldNamespace ld of [] -> (["No Namespace"], documentItem (i, ld)) (hn:_) -> (hn, documentItem (i, ld))) sortedItems - metricsItems = filter (not . Map.null . ldMetricsDoc . snd) sortedItems - metricsDocs = map documentMetrics metricsItems - pure $ messageDocs ++ concat metricsDocs + metricsItems = map snd $ filter (not . Map.null . ldMetricsDoc . snd) sortedItems + metricsDocs = documentMetrics metricsItems + pure $ messageDocs ++ metricsDocs where documentItem :: (Int, LogDoc) -> DocuResult documentItem (_idx, ld@LogDoc {..}) = @@ -314,24 +315,32 @@ documentMarkdown (Documented documented) tracers = do [DatapointBackend] -> DocuDatapoint $ mconcat $ intersperse (fromText "\n\n") [ namespacesBuilder (nub ldNamespace) - , betweenLines (fromText ldDoc) + , accentuated ldDoc ] _ -> DocuTracer $ mconcat $ intersperse (fromText "\n\n") [ namespacesBuilder (nub ldNamespace) - , betweenLines (fromText ldDoc) + , accentuated ldDoc , configBuilder ld ] - documentMetrics :: (Int, LogDoc) -> [([Text], DocuResult)] - documentMetrics (_idx, ld@LogDoc {..}) = - map (\(name, builder) -> ([name] , DocuMetric $ - mconcat $ intersperse (fromText "\n\n") - [ builder - , namespacesMetricsBuilder (nub ldNamespace) - , configMetricsBuilder ld - ])) - $ metricsBuilder ldMetricsDoc + documentMetrics :: [LogDoc] -> [([Text], DocuResult)] + documentMetrics logDocs = + let nameCommentNamespaceList = + concatMap (\ld -> zip (Map.toList (ldMetricsDoc ld)) (repeat (ldNamespace ld))) logDocs + sortedNameCommentNamespaceList = + sortBy (\a b -> compare ((fst . fst) a) ((fst . fst) b)) nameCommentNamespaceList + groupedNameCommentNamespaceList = + groupBy (\a b -> (fst . fst) a == (fst . fst) b) sortedNameCommentNamespaceList + in map documentMetrics' groupedNameCommentNamespaceList + + documentMetrics' :: [((Text, Text), [Namespace])] -> ([Text], DocuResult) + documentMetrics' ncns@(((name, comment), _) : _tail) = + ([name], DocuMetric + $ mconcat $ intersperse(fromText "\n\n") + [ metricToBuilder (name,comment) + , namespacesMetricsBuilder (nub (concatMap snd ncns)) + ]) namespacesBuilder :: [Namespace] -> Builder namespacesBuilder [ns] = namespaceBuilder ns @@ -368,12 +377,6 @@ documentMarkdown (Documented documented) tracers = do <> filteredBuilder (nub ldFiltered) (nub ldSeverity) <> limiterBuilder (nub ldLimiter) - configMetricsBuilder :: LogDoc -> Builder - configMetricsBuilder LogDoc {..} = - fromText "From current configuration:\n" - <> filteredBuilder (nub ldFiltered) (nub ldSeverity) - <> limiterBuilder (nub ldLimiter) - backendsBuilder :: [BackendConfig] -> Builder backendsBuilder [] = fromText "No backends found" backendsBuilder l = fromText "Backends:\n\t\t\t" @@ -411,20 +414,21 @@ documentMarkdown (Documented documented) tracers = do <> (asCode . fromString. show) d) l)) - metricsBuilder :: Map.Map Text Text -> [(Text, Builder)] - metricsBuilder metricsDoc = - let metricsList = Map.toList metricsDoc - in map (\t@(name, _) -> (name, metricFormatToText t)) metricsList + -- metricsBuilder :: (Text, Text) -> [(Text, Builder)] + -- metricsBuilder (name, t) = (name, metricFormatToText t) - metricFormatToText :: (Text, Text) -> Builder - metricFormatToText (name, text) = - fromText "### " - <> fromText name - <> fromText "\n" - <> betweenLines (fromText text) + metricToBuilder :: (Text, Text) -> Builder + metricToBuilder (name, text) = + fromText "### " + <> fromText name + <> fromText "\n" + <> accentuated text asCode :: Builder -> Builder asCode b = singleton '`' <> b <> singleton '`' -betweenLines :: Builder -> Builder -betweenLines b = fromText "\n***\n" <> b <> fromText "\n***\n" +accentuated :: Text -> Builder +accentuated t = if t == "" + then fromText "\n" + else fromText "\n" + <> fromText (T.unlines $ map ("> " <>) (T.lines t)) diff --git a/trace-dispatcher/src/Cardano/Logging/Trace.hs b/trace-dispatcher/src/Cardano/Logging/Trace.hs index 7960496b6e2..5db73042570 100644 --- a/trace-dispatcher/src/Cardano/Logging/Trace.hs +++ b/trace-dispatcher/src/Cardano/Logging/Trace.hs @@ -12,6 +12,7 @@ module Cardano.Logging.Trace ( , filterTraceBySeverity , withLoggingContext , appendName + , appendNames , withNamesAppended , setSeverity , withSeverity @@ -113,6 +114,16 @@ appendName name (Trace tr) = Trace $ (lc, cont) -> (lc {lcNamespace = name : lcNamespace lc}, cont)) tr +-- | Appends a name to the context. +-- E.g. appendName "specific" $ appendName "middle" $ appendName "general" tracer +-- give the result: `general.middle.specific`. +appendNames :: Monad m => [Text] -> Trace m a -> Trace m a +appendNames names (Trace tr) = Trace $ + T.contramap + (\ + (lc, cont) -> (lc {lcNamespace = names ++ lcNamespace lc}, cont)) + tr + -- | Sets names for the messages in this trace based on the selector function withNamesAppended :: Monad m => (a -> [Text]) -> Trace m a -> Trace m a withNamesAppended func (Trace tr) = Trace $ diff --git a/trace-dispatcher/src/Cardano/Logging/Tracer/Composed.hs b/trace-dispatcher/src/Cardano/Logging/Tracer/Composed.hs index 12712f3ccfd..3f6a5aeaca6 100644 --- a/trace-dispatcher/src/Cardano/Logging/Tracer/Composed.hs +++ b/trace-dispatcher/src/Cardano/Logging/Tracer/Composed.hs @@ -52,7 +52,7 @@ mkCardanoTracer :: forall evt. => Trace IO FormattedMessage -> Trace IO FormattedMessage -> Maybe (Trace IO FormattedMessage) - -> Text + -> [Text] -> (evt -> [Text]) -> (evt -> SeverityS) -> (evt -> Privacy) @@ -70,7 +70,7 @@ mkCardanoTracer' :: forall evt evt1. => Trace IO FormattedMessage -> Trace IO FormattedMessage -> Maybe (Trace IO FormattedMessage) - -> Text + -> [Text] -> (evt -> [Text]) -> (evt -> SeverityS) -> (evt -> Privacy) @@ -97,7 +97,7 @@ mkCardanoTracer' trStdout trForward mbTrEkg tracerName namesFor severityFor priv tr' <- withDetailsFromConfig tr tr'' <- filterSeverityFromConfig tr' pure $ withNamesAppended namesFor - $ appendName tracerName + $ appendNames tracerName $ withSeverity severityFor $ withPrivacy privacyFor tr'' diff --git a/trace-dispatcher/test/Cardano/Logging/Test/Script.hs b/trace-dispatcher/test/Cardano/Logging/Test/Script.hs index 1344a1a8c2e..0ae5cdd0d4e 100644 --- a/trace-dispatcher/test/Cardano/Logging/Test/Script.hs +++ b/trace-dispatcher/test/Cardano/Logging/Test/Script.hs @@ -48,7 +48,7 @@ runScriptSimple time oracle = do stdoutTracer' forwardTracer' (Just ekgTracer') - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage @@ -92,7 +92,7 @@ runScriptMultithreaded time oracle = do stdoutTracer' forwardTracer' (Just ekgTracer') - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage @@ -162,7 +162,7 @@ runScriptMultithreadedWithReconfig time oracle = do stdoutTracer' forwardTracer' (Just ekgTracer') - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage @@ -230,7 +230,7 @@ runScriptMultithreadedWithConstantReconfig time oracle = do stdoutTracer' forwardTracer' (Just ekgTracer') - "Test" + ["Test"] namesForMessage severityForMessage privacyForMessage diff --git a/trace-resources/src/Cardano/Logging/Resources/Types.hs b/trace-resources/src/Cardano/Logging/Resources/Types.hs index 9ba593a701f..a23be42ae80 100644 --- a/trace-resources/src/Cardano/Logging/Resources/Types.hs +++ b/trace-resources/src/Cardano/Logging/Resources/Types.hs @@ -76,16 +76,16 @@ docResourceStats :: Documented ResourceStats docResourceStats = Documented [ DocMsg [] - [("stat.cputicks", "Reports the CPU ticks, sice the process was started") - ,("mem.resident", "TODO JNF") - ,("rts.gcLiveBytes", "TODO JNF") - ,("rts.gcMajorNum", "TODO JNF") - ,("rts.gcMinorNum", "TODO JNF") - ,("rts.gcticks", "TODO JNF") - ,("rts.mutticks", "TODO JNF") - ,("rts.threads","TODO JNF") + [("Resources.Stat.Cputicks", "Reports the CPU ticks, sice the process was started") + ,("Resources.Mem.Resident", "") + ,("Resources.RTS.GcLiveBytes", "") + ,("Resources.RTS.GcMajorNum", "") + ,("Resources.RTS.GcMinorNum", "") + ,("Resources.RTS.Gcticks", "") + ,("Resources.RTS.Mutticks", "") + ,("Resources.RTS.Threads","") ] - "TODO JNF" + "" ] instance LogFormatting ResourceStats where @@ -118,12 +118,12 @@ instance LogFormatting ResourceStats where ] asMetrics rs = - [ IntM "stat.cputicks" (fromIntegral $ rCentiCpu rs) - , IntM "mem.resident" (fromIntegral $ rRSS rs) - , IntM "rts.gcLiveBytes" (fromIntegral $ rLive rs) - , IntM "rts.gcMajorNum" (fromIntegral $ rGcsMajor rs) - , IntM "rts.gcMinorNum" (fromIntegral $ rGcsMinor rs) - , IntM "rts.gcticks" (fromIntegral $ rCentiGC rs) - , IntM "rts.mutticks" (fromIntegral $ rCentiMut rs) - , IntM "rts.stat.threads" (fromIntegral $ rThreads rs) + [ IntM "Resources.Stat.Cputicks" (fromIntegral $ rCentiCpu rs) + , IntM "Resources.mem.Resident" (fromIntegral $ rRSS rs) + , IntM "Resources.RTS.GcLiveBytes" (fromIntegral $ rLive rs) + , IntM "Resources.RTS.GcMajorNum" (fromIntegral $ rGcsMajor rs) + , IntM "Resources.RTS.GcMinorNum" (fromIntegral $ rGcsMinor rs) + , IntM "Resources.RTS.Gcticks" (fromIntegral $ rCentiGC rs) + , IntM "Resources.RTS.Mutticks" (fromIntegral $ rCentiMut rs) + , IntM "Resources.RTS.Stat.Threads" (fromIntegral $ rThreads rs) ] From 8b1ec35dd8d7c6877ce443a0538f70ba64a2f8fd Mon Sep 17 00:00:00 2001 From: Yupanqui Date: Thu, 7 Jul 2022 10:16:17 +0200 Subject: [PATCH 2/8] trace-resources: fix test --- trace-resources/test/trace-resources-test.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace-resources/test/trace-resources-test.hs b/trace-resources/test/trace-resources-test.hs index 6c5d028b75f..74803879e71 100644 --- a/trace-resources/test/trace-resources-test.hs +++ b/trace-resources/test/trace-resources-test.hs @@ -31,7 +31,7 @@ playScript = ioProperty $ do stdoutTracer' forwardTracer' (Just ekgTracer') - "Test" + ["Test"] (const ["ResourceStats"]) (const Info) (const Public) From 7dd41f60e7f052fea93c81a6674fb9661dd6c435 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge Date: Fri, 8 Jul 2022 00:57:04 +0300 Subject: [PATCH 3/8] tracing: Forge.StateInfo -> Forge.Loop --- cardano-node/src/Cardano/Node/Tracing/Documentation.hs | 2 +- cardano-node/src/Cardano/Node/Tracing/Tracers.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cardano-node/src/Cardano/Node/Tracing/Documentation.hs b/cardano-node/src/Cardano/Node/Tracing/Documentation.hs index e470d868e9e..2d6e43d3473 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Documentation.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Documentation.hs @@ -400,7 +400,7 @@ docTracers configFileName outputFileName _ _ _ = do forgeTr <- mkCardanoTracer trBase trForward mbTrEKG - ["Forge", "StateInfo"] + ["Forge", "Loop"] namesForForge severityForge allPublic diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers.hs index 512925001bb..fbf92448a69 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers.hs @@ -338,7 +338,7 @@ mkConsensusTracers trBase trForward mbTrEKG _trDataPoint trConfig nodeKernel = d configureTracers trConfig docMempool [mempoolTr] forgeTr <- mkCardanoTracer' trBase trForward mbTrEKG - ["Forge", "StateInfo"] + ["Forge", "Loop"] namesForForge severityForge allPublic From 3f1b5c496a2a3169c6397f9c4601e2a1b2dd1064 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge Date: Fri, 8 Jul 2022 01:46:43 +0300 Subject: [PATCH 4/8] tracing: *.ClientEvent.* -> *.Client.*; BlockFetch.ServerBlock -> BlockFetch.Server --- .../src/Cardano/Node/Tracing/Documentation.hs | 6 +- .../src/Cardano/Node/Tracing/Tracers.hs | 6 +- doc/new-tracing/tracers_doc_generated.md | 180 +++++++++--------- 3 files changed, 96 insertions(+), 96 deletions(-) diff --git a/cardano-node/src/Cardano/Node/Tracing/Documentation.hs b/cardano-node/src/Cardano/Node/Tracing/Documentation.hs index 2d6e43d3473..91bde0b903e 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Documentation.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Documentation.hs @@ -279,7 +279,7 @@ docTracers configFileName outputFileName _ _ _ = do chainSyncClientTr <- mkCardanoTracer trBase trForward mbTrEKG - ["ChainSync", "ClientEvent"] + ["ChainSync", "Client"] namesForChainSyncClientEvent severityChainSyncClientEvent allPublic @@ -323,7 +323,7 @@ docTracers configFileName outputFileName _ _ _ = do blockFetchClientTr <- mkCardanoTracer trBase trForward mbTrEKG - ["BlockFetch", "ClientEvent"] + ["BlockFetch", "Client"] namesForBlockFetchClient severityBlockFetchClient allPublic @@ -335,7 +335,7 @@ docTracers configFileName outputFileName _ _ _ = do blockFetchServerTr <- mkCardanoTracer trBase trForward mbTrEKG - ["BlockFetch", "ServerBlock"] + ["BlockFetch", "Server"] namesForBlockFetchServer severityBlockFetchServer allPublic diff --git a/cardano-node/src/Cardano/Node/Tracing/Tracers.hs b/cardano-node/src/Cardano/Node/Tracing/Tracers.hs index fbf92448a69..157f34d0727 100644 --- a/cardano-node/src/Cardano/Node/Tracing/Tracers.hs +++ b/cardano-node/src/Cardano/Node/Tracing/Tracers.hs @@ -240,7 +240,7 @@ mkConsensusTracers :: forall blk. mkConsensusTracers trBase trForward mbTrEKG _trDataPoint trConfig nodeKernel = do chainSyncClientTr <- mkCardanoTracer trBase trForward mbTrEKG - ["ChainSync", "ClientEvent"] + ["ChainSync", "Client"] namesForChainSyncClientEvent severityChainSyncClientEvent allPublic @@ -278,7 +278,7 @@ mkConsensusTracers trBase trForward mbTrEKG _trDataPoint trConfig nodeKernel = d configureTracers trConfig docBlockFetchDecision [blockFetchDecisionTr] blockFetchClientTr <- mkCardanoTracer trBase trForward mbTrEKG - ["BlockFetch", "ClientEvent"] + ["BlockFetch", "Client"] namesForBlockFetchClient severityBlockFetchClient allPublic @@ -296,7 +296,7 @@ mkConsensusTracers trBase trForward mbTrEKG _trDataPoint trConfig nodeKernel = d blockFetchServerTr <- mkCardanoTracer trBase trForward mbTrEKG - ["BlockFetch", "ServerBlock"] + ["BlockFetch", "Server"] namesForBlockFetchServer severityBlockFetchServer allPublic diff --git a/doc/new-tracing/tracers_doc_generated.md b/doc/new-tracing/tracers_doc_generated.md index 2338044a13b..6d0a2f47745 100644 --- a/doc/new-tracing/tracers_doc_generated.md +++ b/doc/new-tracing/tracers_doc_generated.md @@ -4,15 +4,15 @@ ## [Trace Messages](#trace-messages) 1. __BlockFetch__ - 1. __ClientEvent__ - 1. [AcknowledgedFetchRequest](#blockfetchclienteventacknowledgedfetchrequest) - 1. [AddedFetchRequest](#blockfetchclienteventaddedfetchrequest) - 1. [ClientTerminating](#blockfetchclienteventclientterminating) - 1. [CompletedBlockFetch](#blockfetchclienteventcompletedblockfetch) - 1. [CompletedFetchBatch](#blockfetchclienteventcompletedfetchbatch) - 1. [RejectedFetchBatch](#blockfetchclienteventrejectedfetchbatch) - 1. [SendFetchRequest](#blockfetchclienteventsendfetchrequest) - 1. [StartedFetchBatch](#blockfetchclienteventstartedfetchbatch) + 1. __Client__ + 1. [AcknowledgedFetchRequest](#blockfetchclientacknowledgedfetchrequest) + 1. [AddedFetchRequest](#blockfetchclientaddedfetchrequest) + 1. [ClientTerminating](#blockfetchclientclientterminating) + 1. [CompletedBlockFetch](#blockfetchclientcompletedblockfetch) + 1. [CompletedFetchBatch](#blockfetchclientcompletedfetchbatch) + 1. [RejectedFetchBatch](#blockfetchclientrejectedfetchbatch) + 1. [SendFetchRequest](#blockfetchclientsendfetchrequest) + 1. [StartedFetchBatch](#blockfetchclientstartedfetchbatch) 1. [Decision](#blockfetchdecision) 1. __Remote__ 1. __Receive__ @@ -44,8 +44,8 @@ 1. [NoBlocks](#blockfetchremoteserialisedsendnoblocks) 1. [RequestRange](#blockfetchremoteserialisedsendrequestrange) 1. [StartBatch](#blockfetchremoteserialisedsendstartbatch) - 1. __ServerBlock__ - 1. [SendBlock](#blockfetchserverblocksendblock) + 1. __Server__ + 1. [SendBlock](#blockfetchserversendblock) 1. __BlockchainTime__ 1. [CurrentSlotUnknown](#blockchaintimecurrentslotunknown) 1. [StartTimeInTheFuture](#blockchaintimestarttimeinthefuture) @@ -154,12 +154,12 @@ 1. [InvalidFileNames](#chaindbvolatiledbeventinvalidfilenames) 1. [Truncate](#chaindbvolatiledbeventtruncate) 1. __ChainSync__ - 1. __ClientEvent__ - 1. [DownloadedHeader](#chainsyncclienteventdownloadedheader) - 1. [Exception](#chainsyncclienteventexception) - 1. [FoundIntersection](#chainsyncclienteventfoundintersection) - 1. [RolledBack](#chainsyncclienteventrolledback) - 1. [Termination](#chainsyncclienteventtermination) + 1. __Client__ + 1. [DownloadedHeader](#chainsyncclientdownloadedheader) + 1. [Exception](#chainsyncclientexception) + 1. [FoundIntersection](#chainsyncclientfoundintersection) + 1. [RolledBack](#chainsyncclientrolledback) + 1. [Termination](#chainsyncclienttermination) 1. __Local__ 1. __Receive__ 1. [AwaitReply](#chainsynclocalreceiveawaitreply) @@ -223,24 +223,24 @@ 1. [Update](#chainsyncserverheaderupdate) 1. __Forge__ 1. [KESInfo](#forgekesinfo) - 1. __StateInfo__ - 1. [AdoptedBlock](#forgestateinfoadoptedblock) - 1. [BlockContext](#forgestateinfoblockcontext) - 1. [BlockFromFuture](#forgestateinfoblockfromfuture) - 1. [DidntAdoptBlock](#forgestateinfodidntadoptblock) - 1. [ForgeStateUpdateError](#forgestateinfoforgestateupdateerror) - 1. [ForgedBlock](#forgestateinfoforgedblock) - 1. [ForgedInvalidBlock](#forgestateinfoforgedinvalidblock) - 1. [LedgerState](#forgestateinfoledgerstate) - 1. [LedgerView](#forgestateinfoledgerview) - 1. [NoLedgerState](#forgestateinfonoledgerstate) - 1. [NoLedgerView](#forgestateinfonoledgerview) - 1. [NodeCannotForge](#forgestateinfonodecannotforge) - 1. [NodeIsLeader](#forgestateinfonodeisleader) - 1. [NodeNotLeader](#forgestateinfonodenotleader) - 1. [SlotIsImmutable](#forgestateinfoslotisimmutable) - 1. [StartLeadershipCheck](#forgestateinfostartleadershipcheck) - 1. [StartLeadershipCheckPlus](#forgestateinfostartleadershipcheckplus) + 1. __Loop__ + 1. [AdoptedBlock](#forgeloopadoptedblock) + 1. [BlockContext](#forgeloopblockcontext) + 1. [BlockFromFuture](#forgeloopblockfromfuture) + 1. [DidntAdoptBlock](#forgeloopdidntadoptblock) + 1. [ForgeStateUpdateError](#forgeloopforgestateupdateerror) + 1. [ForgedBlock](#forgeloopforgedblock) + 1. [ForgedInvalidBlock](#forgeloopforgedinvalidblock) + 1. [LedgerState](#forgeloopledgerstate) + 1. [LedgerView](#forgeloopledgerview) + 1. [NoLedgerState](#forgeloopnoledgerstate) + 1. [NoLedgerView](#forgeloopnoledgerview) + 1. [NodeCannotForge](#forgeloopnodecannotforge) + 1. [NodeIsLeader](#forgeloopnodeisleader) + 1. [NodeNotLeader](#forgeloopnodenotleader) + 1. [SlotIsImmutable](#forgeloopslotisimmutable) + 1. [StartLeadershipCheck](#forgeloopstartleadershipcheck) + 1. [StartLeadershipCheckPlus](#forgeloopstartleadershipcheckplus) 1. [Stats](#forgestats) 1. __Mempool__ 1. [AddedTx](#mempooladdedtx) @@ -788,7 +788,7 @@ 1. [NodeInfo](#nodeinfo) ## Trace Messages -### BlockFetch.ClientEvent.AcknowledgedFetchRequest +### BlockFetch.Client.AcknowledgedFetchRequest > Mark the point when the fetch client picks up the request added by the block fetch decision thread. Note that this event can happen fewer times than the 'AddedFetchRequest' due to fetch request merging. @@ -802,7 +802,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.ClientEvent.AddedFetchRequest +### BlockFetch.Client.AddedFetchRequest > The block fetch decision thread has added a new fetch instruction consisting of one or more individual request ranges. @@ -816,7 +816,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.ClientEvent.ClientTerminating +### BlockFetch.Client.ClientTerminating > The client is terminating. Log the number of outstanding requests. @@ -830,7 +830,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.ClientEvent.CompletedBlockFetch +### BlockFetch.Client.CompletedBlockFetch > Mark the successful end of receiving a streaming batch of blocks. @@ -844,7 +844,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.ClientEvent.CompletedFetchBatch +### BlockFetch.Client.CompletedFetchBatch > Mark the successful end of receiving a streaming batch of blocks @@ -858,7 +858,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.ClientEvent.RejectedFetchBatch +### BlockFetch.Client.RejectedFetchBatch > If the other peer rejects our request then we have this event instead of 'StartedFetchBatch' and 'CompletedFetchBatch'. @@ -872,7 +872,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.ClientEvent.SendFetchRequest +### BlockFetch.Client.SendFetchRequest > Mark the point when fetch request for a fragment is actually sent over the wire. @@ -886,7 +886,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.ClientEvent.StartedFetchBatch +### BlockFetch.Client.StartedFetchBatch > Mark the start of receiving a streaming batch of blocks. This will be followed by one or more 'CompletedBlockFetch' and a final 'CompletedFetchBatch' @@ -1250,7 +1250,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### BlockFetch.ServerBlock.SendBlock +### BlockFetch.Server.SendBlock > The server sent a block to the peer. @@ -2509,7 +2509,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### ChainSync.ClientEvent.DownloadedHeader +### ChainSync.Client.DownloadedHeader > While following a candidate chain, we rolled forward by downloading a header. @@ -2523,7 +2523,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.ClientEvent.Exception +### ChainSync.Client.Exception > An exception was thrown by the Chain Sync Client. @@ -2537,7 +2537,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.ClientEvent.FoundIntersection +### ChainSync.Client.FoundIntersection > We found an intersection between our chain fragment and the candidate's chain. @@ -2551,7 +2551,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.ClientEvent.RolledBack +### ChainSync.Client.RolledBack > While following a candidate chain, we rolled back to the given point. @@ -2565,7 +2565,7 @@ Backends: `Forwarder` Filtered by config value: `Notice` -### ChainSync.ClientEvent.Termination +### ChainSync.Client.Termination > The client has terminated. @@ -3325,7 +3325,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.AdoptedBlock +### Forge.Loop.AdoptedBlock > We adopted the block we produced, we also trace the transactions that were adopted. @@ -3339,7 +3339,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.BlockContext +### Forge.Loop.BlockContext > We found out to which block we are going to connect the block we are about to forge. We record the current slot number, the block number of the block to connect to and its point. Note that block number of the block we will try to forge is one more than the recorded block number. @@ -3353,7 +3353,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.BlockFromFuture +### Forge.Loop.BlockFromFuture > Leadership check failed: the current chain contains a block from a slot /after/ the current slot This can only happen if the system is under heavy load. We record both the current slot number as well as the slot number of the block at the tip of the chain. See also @@ -3367,7 +3367,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.DidntAdoptBlock +### Forge.Loop.DidntAdoptBlock > We did not adopt the block we produced, but the block was valid. We must have adopted a block that another leader of the same slot produced before we got the chance of adopting our own block. This is very rare, this warrants a warning. @@ -3381,7 +3381,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.ForgeStateUpdateError +### Forge.Loop.ForgeStateUpdateError > Updating the forge state failed. For example, the KES key could not be evolved anymore. We record the error returned by 'updateForgeState'. @@ -3395,7 +3395,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.ForgedBlock +### Forge.Loop.ForgedBlock > We forged a block. @@ -3414,7 +3414,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.ForgedInvalidBlock +### Forge.Loop.ForgedInvalidBlock > We forged a block that is invalid according to the ledger in the ChainDB. This means there is an inconsistency between the mempool validation and the ledger validation. This is a serious error! @@ -3428,7 +3428,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.LedgerState +### Forge.Loop.LedgerState > We obtained a ledger state for the point of the block we want to connect to We record both the current slot number as well as the point of the block we attempt to connect the new block to (that we requested the ledger state for). @@ -3442,7 +3442,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.LedgerView +### Forge.Loop.LedgerView > We obtained a ledger view for the current slot number We record the current slot number. @@ -3456,7 +3456,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.NoLedgerState +### Forge.Loop.NoLedgerState > Leadership check failed: we were unable to get the ledger state for the point of the block we want to connect to This can happen if after choosing which block to connect to the node switched to a different fork. We expect this to happen only rather rarely, so this certainly merits a warning; if it happens a lot, that merits an investigation. We record both the current slot number as well as the point of the block we attempt to connect the new block to (that we requested the ledger state for). @@ -3470,7 +3470,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.NoLedgerView +### Forge.Loop.NoLedgerView > Leadership check failed: we were unable to get the ledger view for the current slot number This will only happen if there are many missing blocks between the tip of our chain and the current slot. We record also the failure returned by 'forecastFor'. @@ -3484,7 +3484,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.NodeCannotForge +### Forge.Loop.NodeCannotForge > We did the leadership check and concluded that we should lead and forge a block, but cannot. This should only happen rarely and should be logged with warning severity. Records why we cannot forge a block. @@ -3498,7 +3498,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.NodeIsLeader +### Forge.Loop.NodeIsLeader > We did the leadership check and concluded we /are/ the leader @@ -3513,7 +3513,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.NodeNotLeader +### Forge.Loop.NodeNotLeader > We did the leadership check and concluded we are not the leader We record the current slot number @@ -3527,7 +3527,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.SlotIsImmutable +### Forge.Loop.SlotIsImmutable > Leadership check failed: the tip of the ImmutableDB inhabits the current slot This might happen in two cases. 1. the clock moved backwards, on restart we ignored everything from the VolatileDB since it's all in the future, and now the tip of the ImmutableDB points to a block produced in the same slot we're trying to produce a block in 2. k = 0 and we already adopted a block from another leader of the same slot. We record both the current slot number as well as the tip of the ImmutableDB. See also @@ -3541,7 +3541,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.StartLeadershipCheck +### Forge.Loop.StartLeadershipCheck > Start of the leadership check. @@ -3555,7 +3555,7 @@ Backends: `Forwarder` Filtered by config value: `Info` -### Forge.StateInfo.StartLeadershipCheckPlus +### Forge.Loop.StartLeadershipCheckPlus > We adopted the block we produced, we also trace the transactions that were adopted. @@ -9032,7 +9032,7 @@ Filtered by config value: `Notice` Dispatched by: -BlockFetch.ServerBlock.SendBlock +BlockFetch.Server.SendBlock ### BlockFetch.ConnectedPeers @@ -9108,29 +9108,29 @@ ChainSync.ServerHeader.Update Dispatched by: -Forge.StateInfo.StartLeadershipCheck -Forge.StateInfo.StartLeadershipCheckPlus +Forge.Loop.StartLeadershipCheck +Forge.Loop.StartLeadershipCheckPlus ### Forge.AdoptedOwnBlockSlotLast Dispatched by: -Forge.StateInfo.AdoptedBlock +Forge.Loop.AdoptedBlock ### Forge.BlockContext Dispatched by: -Forge.StateInfo.BlockContext +Forge.Loop.BlockContext ### Forge.BlockFromFuture Dispatched by: -Forge.StateInfo.BlockFromFuture +Forge.Loop.BlockFromFuture ### Forge.BlocksForgedNum @@ -9145,36 +9145,36 @@ Forge.Stats Dispatched by: -Forge.StateInfo.NoLedgerState -Forge.StateInfo.NoLedgerView +Forge.Loop.NoLedgerState +Forge.Loop.NoLedgerView ### Forge.CurrentKESPeriod Dispatched by: -Forge.StateInfo.ForgeStateUpdateError +Forge.Loop.ForgeStateUpdateError ### Forge.DelegMapSize Dispatched by: -Forge.StateInfo.StartLeadershipCheckPlus +Forge.Loop.StartLeadershipCheckPlus ### Forge.ForgedInvalidSlotLast Dispatched by: -Forge.StateInfo.ForgedInvalidBlock +Forge.Loop.ForgedInvalidBlock ### Forge.ForgedSlotLast Dispatched by: -Forge.StateInfo.ForgedBlock +Forge.Loop.ForgedBlock ### Forge.LastSlot @@ -9188,21 +9188,21 @@ Forge.Stats Dispatched by: -Forge.StateInfo.LedgerState +Forge.Loop.LedgerState ### Forge.LedgerView Dispatched by: -Forge.StateInfo.LedgerView +Forge.Loop.LedgerView ### Forge.NodeCannotForge Dispatched by: -Forge.StateInfo.NodeCannotForge +Forge.Loop.NodeCannotForge ### Forge.NodeCannotForgeNum @@ -9217,7 +9217,7 @@ Forge.Stats Dispatched by: -Forge.StateInfo.NodeIsLeader +Forge.Loop.NodeIsLeader ### Forge.NodeIsLeaderNum @@ -9232,42 +9232,42 @@ Forge.Stats Dispatched by: -Forge.StateInfo.NodeNotLeader +Forge.Loop.NodeNotLeader ### Forge.NotAdoptedSlotLast Dispatched by: -Forge.StateInfo.DidntAdoptBlock +Forge.Loop.DidntAdoptBlock ### Forge.OperationalCertificateExpiryKESPeriod Dispatched by: -Forge.StateInfo.ForgeStateUpdateError +Forge.Loop.ForgeStateUpdateError ### Forge.OperationalCertificateStartKESPeriod Dispatched by: -Forge.StateInfo.ForgeStateUpdateError +Forge.Loop.ForgeStateUpdateError ### Forge.RemainingKESPeriods Dispatched by: -Forge.StateInfo.ForgeStateUpdateError +Forge.Loop.ForgeStateUpdateError ### Forge.SlotIsImmutable Dispatched by: -Forge.StateInfo.SlotIsImmutable +Forge.Loop.SlotIsImmutable ### Forge.SlotsMissed @@ -9282,7 +9282,7 @@ Forge.Stats Dispatched by: -Forge.StateInfo.StartLeadershipCheckPlus +Forge.Loop.StartLeadershipCheckPlus ### Mempool.MempoolBytes @@ -9564,4 +9564,4 @@ TxSubmission.TxInbound.Collected Configuration: TraceConfig {tcOptions = fromList [([],[ConfSeverity {severity = Notice},ConfDetail {detail = DNormal},ConfBackend {backends = [Stdout MachineFormat,EKGBackend,Forwarder]}]),(["AcceptPolicy"],[ConfSeverity {severity = Info}]),(["BlockFetchClient","CompletedBlockFetch"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB"],[ConfSeverity {severity = Info}]),(["ChainDB","AddBlockEvent","AddBlockValidation","ValidCandidate"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","AddBlockEvent","AddedBlockToQueue"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","AddBlockEvent","AddedBlockToVolatileDB"],[ConfLimiter {maxFrequency = 2.0}]),(["ChainDB","CopyToImmutableDBEvent","CopiedBlockToImmutableDB"],[ConfLimiter {maxFrequency = 2.0}]),(["DNSResolver"],[ConfSeverity {severity = Info}]),(["DNSSubscription"],[ConfSeverity {severity = Info}]),(["DiffusionInit"],[ConfSeverity {severity = Info}]),(["ErrorPolicy"],[ConfSeverity {severity = Info}]),(["Forge"],[ConfSeverity {severity = Info}]),(["IpSubscription"],[ConfSeverity {severity = Info}]),(["LocalErrorPolicy"],[ConfSeverity {severity = Info}]),(["Mempool"],[ConfSeverity {severity = Info}]),(["Resources"],[ConfSeverity {severity = Info}])], tcForwarder = TraceOptionForwarder {tofConnQueueSize = 2000, tofDisconnQueueSize = 200000, tofVerbosity = Minimum}, tcNodeName = Nothing, tcPeerFrequency = Just 2000, tcResourceFrequency = Just 5000} 662 log messages. -Generated at 2022-07-06 17:02:52.510663705 CEST. \ No newline at end of file +Generated at 2022-07-08 01:53:08.217148774 MSK. \ No newline at end of file From 6949bfee216b97c6ee19f1c341a68bb464d8399b Mon Sep 17 00:00:00 2001 From: Kosyrev Serge Date: Fri, 8 Jul 2022 01:18:00 +0300 Subject: [PATCH 5/8] locli: support the new trace hierarchy --- bench/locli/locli.cabal | 1 + bench/locli/src/Cardano/Unlog/LogObject.hs | 75 ++++++++++++---------- 2 files changed, 41 insertions(+), 35 deletions(-) diff --git a/bench/locli/locli.cabal b/bench/locli/locli.cabal index 79e9b137850..a1c8c3882b2 100644 --- a/bench/locli/locli.cabal +++ b/bench/locli/locli.cabal @@ -91,6 +91,7 @@ library , containers , deepseq , directory + , extra , filepath , file-embed , gnuplot diff --git a/bench/locli/src/Cardano/Unlog/LogObject.hs b/bench/locli/src/Cardano/Unlog/LogObject.hs index 47411423d2b..8c1aa4293be 100644 --- a/bench/locli/src/Cardano/Unlog/LogObject.hs +++ b/bench/locli/src/Cardano/Unlog/LogObject.hs @@ -10,7 +10,7 @@ module Cardano.Unlog.LogObject (module Cardano.Unlog.LogObject) where -import Prelude (head, id, show) +import Prelude (head, id, show, unzip3) import Cardano.Prelude hiding (Text, head, show) import Control.Monad (fail) @@ -24,6 +24,7 @@ import Data.Text qualified as LText import Data.Text.Short qualified as Text import Data.Text.Short (ShortText, fromText, toText) import Data.Time.Clock (NominalDiffTime, UTCTime) +import Data.Tuple.Extra (fst3, snd3, thd3) import Data.Map qualified as Map import Data.Vector (Vector) import Data.Vector qualified as V @@ -83,48 +84,47 @@ deriving instance NFData a => NFData (Resources a) -- -- LogObject stream interpretation -- +type Threeple t = (t, t, t) -type ACouple t = (t, t) - -interpreters :: ACouple (Map Text (Object -> Parser LOBody)) -interpreters = (Map.fromList *** Map.fromList) . unzip . fmap ent $ - [ (,,) "TraceStartLeadershipCheck" "Forge.StartLeadershipCheck" $ +interpreters :: Threeple (Map Text (Object -> Parser LOBody)) +interpreters = map3ple Map.fromList . unzip3 . fmap ent $ + [ (,,,) "TraceStartLeadershipCheck" "Forge.StartLeadershipCheck" "Forge.Loop.StartLeadershipCheck" $ \v -> LOTraceStartLeadershipCheck <$> v .: "slot" <*> (v .:? "utxoSize" <&> fromMaybe 0) <*> (v .:? "chainDensity" <&> fromMaybe 0) - , (,,) "TraceBlockContext" "Forge.BlockContext" $ + , (,,,) "TraceBlockContext" "Forge.BlockContext" "Forge.Loop.BlockContext" $ \v -> LOBlockContext <$> v .: "tipBlockNo" - , (,,) "TraceNodeIsLeader" "Forge.NodeIsLeader" $ + , (,,,) "TraceNodeIsLeader" "Forge.NodeIsLeader" "Forge.Loop.NodeIsLeader" $ \v -> LOTraceLeadershipDecided <$> v .: "slot" <*> pure True - , (,,) "TraceNodeNotLeader" "Forge.NodeNotLeader" $ + , (,,,) "TraceNodeNotLeader" "Forge.NodeNotLeader" "Forge.Loop.NodeNotLeader" $ \v -> LOTraceLeadershipDecided <$> v .: "slot" <*> pure False - , (,,) "TraceMempoolAddedTx" "Mempool.AddedTx" $ + , (,,,) "TraceMempoolAddedTx" "Mempool.AddedTx" "Mempool.AddedTx" $ \v -> do x :: Object <- v .: "mempoolSize" LOMempoolTxs <$> x .: "numTxs" - , (,,) "TraceMempoolRemoveTxs" "Mempool.RemoveTxs" $ + , (,,,) "TraceMempoolRemoveTxs" "Mempool.RemoveTxs" "Mempool.RemoveTxs" $ \v -> do x :: Object <- v .: "mempoolSize" LOMempoolTxs <$> x .: "numTxs" - , (,,) "TraceMempoolRejectedTx" "Mempool.RejectedTx" $ + , (,,,) "TraceMempoolRejectedTx" "Mempool.RejectedTx" "Mempool.RejectedTx" $ \_ -> pure LOMempoolRejectedTx - , (,,) "TraceLedgerEvent.TookSnapshot" "LedgerEvent.TookSnapshot" $ + , (,,,) "TraceLedgerEvent.TookSnapshot" "LedgerEvent.TookSnapshot" "ChainDB.LedgerEvent.TookSnapshot" $ \_ -> pure LOLedgerTookSnapshot - , (,,) "TraceBenchTxSubSummary" "TraceBenchTxSubSummary" $ + , (,,,) "TraceBenchTxSubSummary" "TraceBenchTxSubSummary" "TraceBenchTxSubSummary" $ \v -> do x :: Object <- v .: "summary" LOGeneratorSummary @@ -134,28 +134,28 @@ interpreters = (Map.fromList *** Map.fromList) . unzip . fmap ent $ <*> x .: "ssElapsed" <*> x .: "ssThreadwiseTps" - , (,,) "TraceBenchTxSubServAck" "TraceBenchTxSubServAck" $ + , (,,,) "TraceBenchTxSubServAck" "TraceBenchTxSubServAck" "TraceBenchTxSubServAck" $ \v -> LOTxsAcked <$> v .: "txIds" - , (,,) "Resources" "Resources" $ + , (,,,) "Resources" "Resources" "" $ \v -> LOResources <$> parsePartialResourceStates (Object v) - , (,,) "TraceTxSubmissionCollected" "TraceTxSubmissionCollected" $ + , (,,,) "TraceTxSubmissionCollected" "TraceTxSubmissionCollected" "TraceTxSubmissionCollected" $ \v -> LOTxsCollected <$> v .: "count" - , (,,) "TraceTxSubmissionProcessed" "TraceTxSubmissionProcessed" $ + , (,,,) "TraceTxSubmissionProcessed" "TraceTxSubmissionProcessed" "TraceTxSubmissionProcessed" $ \v -> LOTxsProcessed <$> v .: "accepted" <*> v .: "rejected" - , (,,) "TraceForgedBlock" "Forge.ForgedBlock" $ + , (,,,) "TraceForgedBlock" "Forge.ForgedBlock" "Forge.Loop.ForgedBlock" $ \v -> LOBlockForged <$> v .: "block" <*> v .: "blockPrev" <*> v .: "blockNo" <*> v .: "slot" - , (,,) "TraceAddBlockEvent.AddedToCurrentChain" "ChainDB.AddBlockEvent.AddedToCurrentChain" $ + , (,,,) "TraceAddBlockEvent.AddedToCurrentChain" "ChainDB.AddBlockEvent.AddedToCurrentChain" "ChainDB.AddBlockEvent.AddedToCurrentChain" $ \v -> LOBlockAddedToCurrentChain <$> ((v .: "newtip") <&> hashFromPoint) <*> pure Nothing @@ -163,35 +163,35 @@ interpreters = (Map.fromList *** Map.fromList) . unzip . fmap ent $ -- Compat for node versions 1.27 and older: <&> fromMaybe 1) -- TODO: we should clarify the distinction between the two cases (^ and v). - , (,,) "TraceAdoptedBlock" "Forge.AdoptedBlock" $ + , (,,,) "TraceAdoptedBlock" "Forge.AdoptedBlock" "Forge.Loop.AdoptedBlock" $ \v -> LOBlockAddedToCurrentChain <$> v .: "blockHash" <*> ((v .: "blockSize") <&> Just) <*> pure 1 - , (,,) "ChainSyncServerEvent.TraceChainSyncServerRead.AddBlock" "ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.AddBlock" $ + , (,,,) "ChainSyncServerEvent.TraceChainSyncServerRead.AddBlock" "ChainSyncServerHeader.ChainSyncServerEvent.ServerRead.AddBlock" "" $ \v -> LOChainSyncServerSendHeader <$> v .: "block" <*> v .: "blockNo" <*> v .: "slot" - , (,,) "ChainSyncServerEvent.TraceChainSyncServerReadBlocked.AddBlock" "ChainSyncServerHeader.ChainSyncServerEvent.ServerReadBlocked.AddBlock" $ + , (,,,) "ChainSyncServerEvent.TraceChainSyncServerReadBlocked.AddBlock" "ChainSyncServerHeader.ChainSyncServerEvent.ServerReadBlocked.AddBlock" "ChainSync.ServerHeader.ChainSyncServerEvent.ServerReadBlocked.AddBlock" $ \v -> LOChainSyncServerSendHeader <$> v .: "block" <*> v .: "blockNo" <*> v .: "slot" -- v, but not ^ -- how is that possible? - , (,,) "TraceBlockFetchServerSendBlock" "BlockFetchServer.SendBlock" $ + , (,,,) "TraceBlockFetchServerSendBlock" "BlockFetchServer.SendBlock" "BlockFetch.Server.SendBlock" $ \v -> LOBlockFetchServerSending <$> v .: "block" - , (,,) "SendFetchRequest" "BlockFetchClient.SendFetchRequest" $ + , (,,,) "SendFetchRequest" "BlockFetchClient.SendFetchRequest" "BlockFetch.Client.SendFetchRequest" $ \v -> LOBlockFetchClientRequested <$> v .: "head" <*> v .: "length" - , (,,) "ChainSyncClientEvent.TraceDownloadedHeader" "ChainSyncClient.ChainSyncClientEvent.DownloadedHeader" $ + , (,,,) "ChainSyncClientEvent.TraceDownloadedHeader" "ChainSyncClient.ChainSyncClientEvent.DownloadedHeader" "ChainSync.Client.DownloadedHeader" $ \v -> LOChainSyncClientSeenHeader <$> v .: "block" <*> v .: "blockNo" <*> v .: "slot" - , (,,) "CompletedBlockFetch" "BlockFetchClient.CompletedBlockFetch" $ + , (,,,) "CompletedBlockFetch" "BlockFetchClient.CompletedBlockFetch" "BlockFetch.Client.CompletedBlockFetch" $ \v -> LOBlockFetchClientCompletedFetch <$> v .: "block" ] @@ -199,12 +199,16 @@ interpreters = (Map.fromList *** Map.fromList) . unzip . fmap ent $ hashFromPoint :: LText.Text -> Hash hashFromPoint = Hash . fromText . Prelude.head . LText.splitOn "@" - ent :: (a,b,c) -> ((a,c), (b,c)) - ent (a,b,c) = ((a,c), (b,c)) + ent :: (a,b,c,d) -> ((a,d), (b,d), (c, d)) + ent (a,b,c,d) = ((a,d), (b,d), (c, d)) + + map3ple :: (a -> b) -> (a,a,a) -> (b,b,b) + map3ple f (x,y,z) = (f x, f y, f z) -logObjectStreamInterpreterKeysLegacy, logObjectStreamInterpreterKeys :: [Text] -logObjectStreamInterpreterKeysLegacy = Map.keys (fst interpreters) -logObjectStreamInterpreterKeys = Map.keys (snd interpreters) +logObjectStreamInterpreterKeysLegacy, logObjectStreamInterpreterKeysOldOrg, logObjectStreamInterpreterKeys :: [Text] +logObjectStreamInterpreterKeysLegacy = Map.keys (interpreters & fst3) +logObjectStreamInterpreterKeysOldOrg = Map.keys (interpreters & snd3) +logObjectStreamInterpreterKeys = Map.keys (interpreters & thd3) data LOBody = LOTraceStartLeadershipCheck !SlotNo !Word64 !Double @@ -273,11 +277,12 @@ instance FromJSON LogObject where <*> pure kind <*> v .: "host" <*> v .: "thread" - <*> case Map.lookup ns (snd interpreters) <|> + <*> case Map.lookup ns (thd3 interpreters) <|> + Map.lookup ns (snd3 interpreters) <|> Map.lookup (ns & Text.stripPrefix "Cardano.Node." - & fromMaybe "") (snd interpreters) <|> - Map.lookup kind (fst interpreters) of + & fromMaybe "") (snd3 interpreters) <|> + Map.lookup kind (fst3 interpreters) of Just interp -> interp unwrapped Nothing -> pure $ LOAny unwrapped where From e541c66b48697973f00afb258ef7746faed33189 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge Date: Fri, 8 Jul 2022 02:05:45 +0300 Subject: [PATCH 6/8] workbench: update to the new tracing hierarchy --- nix/workbench/profiles/tracing.nix | 42 ++++++++++++++---------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/nix/workbench/profiles/tracing.nix b/nix/workbench/profiles/tracing.nix index d8587a0d18c..80d8af50347 100644 --- a/nix/workbench/profiles/tracing.nix +++ b/nix/workbench/profiles/tracing.nix @@ -12,27 +12,25 @@ "Forwarder" ]); }; - "AcceptPolicy" = { severity = "Info"; }; - "BlockFetchClient" = { severity = "Info"; detail = "DMinimal"; }; - "BlockFetchClient.CompletedBlockFetch" = { maxFrequency = 2.0; }; - "BlockFetchServer" = { severity = "Info"; }; - "ChainDB" = { severity = "Info"; }; - "ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate" = { maxFrequency = 2.0; }; - "ChainDB.AddBlockEvent.AddedBlockToQueue" = { maxFrequency = 2.0; }; - "ChainDB.AddBlockEvent.AddedBlockToVolatileDB" = { maxFrequency = 2.0; }; - "ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB" = { maxFrequency = 2.0; }; - "ChainSyncClient" = { severity = "Info"; detail = "DMinimal"; }; - "ChainSyncServerHeader" = { severity = "Info"; }; - "ChainSyncServerBlock" = { severity = "Info"; }; - "DNSResolver" = { severity = "Info"; }; - "DNSSubscription" = { severity = "Info"; }; - "DiffusionInit" = { severity = "Info"; }; - "ErrorPolicy" = { severity = "Info"; }; - "Forge" = { severity = "Info"; }; - "IpSubscription" = { severity = "Info"; }; - "LocalErrorPolicy" = { severity = "Info"; }; - "Mempool" = { severity = "Info"; }; - "Resources" = { severity = "Info"; }; - "TxSubmission2" = { detail = "DMinimal"; }; + "BlockFetch.Client" = { severity = "Info"; detail = "DMinimal"; }; + "BlockFetch.Client.CompletedBlockFetch" = { maxFrequency = 2.0; }; + "BlockFetch.Server" = { severity = "Info"; }; + "ChainDB" = { severity = "Info"; }; + "ChainDB.AddBlockEvent.AddBlockValidation.ValidCandidate" = { maxFrequency = 2.0; }; + "ChainDB.AddBlockEvent.AddedBlockToQueue" = { maxFrequency = 2.0; }; + "ChainDB.AddBlockEvent.AddedBlockToVolatileDB" = { maxFrequency = 2.0; }; + "ChainDB.CopyToImmutableDBEvent.CopiedBlockToImmutableDB" = { maxFrequency = 2.0; }; + "ChainSync.Client" = { severity = "Info"; detail = "DMinimal"; }; + "ChainSync.ServerBlock" = { severity = "Info"; }; + "ChainSync.ServerHeader" = { severity = "Info"; }; + "Forge" = { severity = "Info"; }; + "Mempool" = { severity = "Info"; }; + "Net.AcceptPolicy" = { severity = "Info"; }; + "Net.DNSResolver" = { severity = "Info"; }; + "Net.ErrorPolicy" = { severity = "Info"; }; + "Net.Subscription" = { severity = "Info"; }; + "Resources" = { severity = "Info"; }; + "Startup.DiffusionInit" = { severity = "Info"; }; + "TxSubmission.Remote" = { detail = "DMinimal"; }; }; } From 3787011cca66fa7b71286b7031724f0e6945ed05 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge Date: Fri, 8 Jul 2022 02:44:32 +0300 Subject: [PATCH 7/8] workbench: small fixes --- bench/locli/src/Cardano/Analysis/Run.hs | 2 +- nix/workbench/analyse.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/locli/src/Cardano/Analysis/Run.hs b/bench/locli/src/Cardano/Analysis/Run.hs index 7e515b7fb7d..d17b6c3ec02 100644 --- a/bench/locli/src/Cardano/Analysis/Run.hs +++ b/bench/locli/src/Cardano/Analysis/Run.hs @@ -73,7 +73,7 @@ renderAnchorDomains Anchor{..} = mconcat $ renderAnchorNoRuns :: Anchor -> Text renderAnchorNoRuns a@Anchor{..} = mconcat [ renderAnchorFiltersAndDomains a - , renderProgramAndVersion aVersion + , ", ", renderProgramAndVersion aVersion , ", analysed at ", renderAnchorDate a ] diff --git a/nix/workbench/analyse.sh b/nix/workbench/analyse.sh index 8593ce13801..d4d34a9f362 100644 --- a/nix/workbench/analyse.sh +++ b/nix/workbench/analyse.sh @@ -59,7 +59,7 @@ local op=${1:-standard}; if test $# != 0; then shift; fi case "$op" in # 'read-mach-views' "${logs[@]/#/--log }" multi-run-pattern | multi-pattern | multipat | mp ) - analyse ${sargs[*]} multi-run-full $(run list-pattern $1) + analyse ${sargs[*]} multi-run $(run list-pattern $1) ;; multi-run | multi ) From ad6ef2f86c176b4b8d1a5373e15c2a48e866c633 Mon Sep 17 00:00:00 2001 From: Yupanqui Date: Fri, 8 Jul 2022 10:21:12 +0200 Subject: [PATCH 8/8] trace-resources: naming fix --- trace-resources/src/Cardano/Logging/Resources/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace-resources/src/Cardano/Logging/Resources/Types.hs b/trace-resources/src/Cardano/Logging/Resources/Types.hs index a23be42ae80..a1de16d384d 100644 --- a/trace-resources/src/Cardano/Logging/Resources/Types.hs +++ b/trace-resources/src/Cardano/Logging/Resources/Types.hs @@ -119,7 +119,7 @@ instance LogFormatting ResourceStats where asMetrics rs = [ IntM "Resources.Stat.Cputicks" (fromIntegral $ rCentiCpu rs) - , IntM "Resources.mem.Resident" (fromIntegral $ rRSS rs) + , IntM "Resources.Mem.Resident" (fromIntegral $ rRSS rs) , IntM "Resources.RTS.GcLiveBytes" (fromIntegral $ rLive rs) , IntM "Resources.RTS.GcMajorNum" (fromIntegral $ rGcsMajor rs) , IntM "Resources.RTS.GcMinorNum" (fromIntegral $ rGcsMinor rs)