diff --git a/benchmarking/chain-sync/configuration/log-configuration.yaml b/benchmarking/chain-sync/configuration/log-configuration.yaml index 82188147197..5890f3eae18 100644 --- a/benchmarking/chain-sync/configuration/log-configuration.yaml +++ b/benchmarking/chain-sync/configuration/log-configuration.yaml @@ -155,12 +155,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: False +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: False diff --git a/benchmarking/cluster3nodes/configuration/log-config-0.yaml b/benchmarking/cluster3nodes/configuration/log-config-0.yaml index 01d6dc381e7..f2b712303d4 100644 --- a/benchmarking/cluster3nodes/configuration/log-config-0.yaml +++ b/benchmarking/cluster3nodes/configuration/log-config-0.yaml @@ -146,12 +146,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/benchmarking/cluster3nodes/configuration/log-config-1.yaml b/benchmarking/cluster3nodes/configuration/log-config-1.yaml index 6ff5241cec5..0f8866193bd 100644 --- a/benchmarking/cluster3nodes/configuration/log-config-1.yaml +++ b/benchmarking/cluster3nodes/configuration/log-config-1.yaml @@ -150,12 +150,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/benchmarking/cluster3nodes/configuration/log-config-2.yaml b/benchmarking/cluster3nodes/configuration/log-config-2.yaml index e18262e3cbf..cd465852e15 100644 --- a/benchmarking/cluster3nodes/configuration/log-config-2.yaml +++ b/benchmarking/cluster3nodes/configuration/log-config-2.yaml @@ -152,12 +152,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/benchmarking/cluster3nodes/configuration/log-config-generator.yaml b/benchmarking/cluster3nodes/configuration/log-config-generator.yaml index b3aeb5e2d74..e1c1ac7f6d2 100644 --- a/benchmarking/cluster3nodes/configuration/log-config-generator.yaml +++ b/benchmarking/cluster3nodes/configuration/log-config-generator.yaml @@ -152,12 +152,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: False +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: False +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: False diff --git a/benchmarking/cluster3nodes/configuration/log-config-genesis.yaml b/benchmarking/cluster3nodes/configuration/log-config-genesis.yaml index 0c266f1e3d3..82a3f3aca2f 100644 --- a/benchmarking/cluster3nodes/configuration/log-config-genesis.yaml +++ b/benchmarking/cluster3nodes/configuration/log-config-genesis.yaml @@ -120,12 +120,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: False +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: False +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: False diff --git a/cabal.project b/cabal.project index f2332a27c36..370992d0b48 100644 --- a/cabal.project +++ b/cabal.project @@ -187,92 +187,92 @@ source-repository-package source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: ouroboros-network source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: io-sim source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: ouroboros-network-testing source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: ouroboros-consensus source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: ouroboros-consensus/ouroboros-consensus-mock source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: ouroboros-consensus-byron source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: ouroboros-consensus-cardano source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: typed-protocols source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: typed-protocols-examples source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: ouroboros-network-framework source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: network-mux source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: io-sim-classes source-repository-package type: git location: https://github.com/input-output-hk/ouroboros-network - tag: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 - --sha256: 1fdm458a99lg0r3gxzzbv4fiahhcb3dgm8g6z1vklq3v3lfdrqh1 + tag: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 + --sha256: 00i0y1lxlmzh8r3bsnzkns8cmkc3g5jqkzfr2ic05ngimnam7nh6 subdir: Win32-network source-repository-package diff --git a/cardano-config/src/Cardano/Config/Types.hs b/cardano-config/src/Cardano/Config/Types.hs index b70690ae87b..ae3296f7006 100644 --- a/cardano-config/src/Cardano/Config/Types.hs +++ b/cardano-config/src/Cardano/Config/Types.hs @@ -197,9 +197,11 @@ instance FromJSON NodeConfiguration where <*> v .:? "TraceDNSSubscription" .!= True <*> v .:? "TraceErrorPolicy" .!= True <*> v .:? "TraceForge" .!= True + <*> v .:? "TraceHandshake" .!= False <*> v .:? "TraceIpSubscription" .!= True <*> v .:? "TraceLocalChainSyncProtocol" .!= False <*> v .:? "TraceLocalErrorPolicy" .!= True + <*> v .:? "TraceLocalHandshake" .!= False <*> v .:? "TraceLocalTxSubmissionProtocol" .!= False <*> v .:? "TraceLocalTxSubmissionServer" .!= False <*> v .:? "TraceLocalStateQueryProtocol" .!= False @@ -326,9 +328,11 @@ data TraceOptions = TraceOptions , traceDnsSubscription :: !Bool , traceErrorPolicy :: !Bool , traceForge :: !Bool + , traceHandshake :: !Bool , traceIpSubscription :: !Bool , traceLocalChainSyncProtocol :: !Bool , traceLocalErrorPolicy :: !Bool + , traceLocalHandshake :: !Bool , traceLocalTxSubmissionProtocol :: !Bool , traceLocalTxSubmissionServer :: !Bool , traceLocalStateQueryProtocol :: !Bool diff --git a/cardano-config/src/Cardano/Tracing/ToObjectOrphans.hs b/cardano-config/src/Cardano/Tracing/ToObjectOrphans.hs index f6016af07c1..df9f3a1f4aa 100644 --- a/cardano-config/src/Cardano/Tracing/ToObjectOrphans.hs +++ b/cardano-config/src/Cardano/Tracing/ToObjectOrphans.hs @@ -66,6 +66,8 @@ import Ouroboros.Network.BlockFetch.ClientState (TraceFetchClientState (..), TraceLabelPeer (..)) import Ouroboros.Network.BlockFetch.Decision (FetchDecision) import Ouroboros.Network.Codec (AnyMessage (..)) +import qualified Ouroboros.Network.NodeToClient as NtC +import qualified Ouroboros.Network.NodeToNode as NtN import Ouroboros.Network.NodeToNode (WithAddr(..), ErrorPolicyTrace(..), TraceSendRecv (..)) import Ouroboros.Network.Protocol.TxSubmission.Type @@ -227,6 +229,14 @@ instance DefineSeverity (WithMuxBearer peer MuxTrace) where MuxTraceRecvDeltaQObservation {} -> Debug MuxTraceRecvDeltaQSample {} -> Info +instance DefinePrivacyAnnotation NtN.HandshakeTr +instance DefineSeverity NtN.HandshakeTr where + defineSeverity _ = Info + +instance DefinePrivacyAnnotation NtC.HandshakeTr +instance DefineSeverity NtC.HandshakeTr where + defineSeverity _ = Info + instance DefinePrivacyAnnotation (WithTip blk (ChainDB.TraceEvent blk)) instance DefineSeverity (WithTip blk (ChainDB.TraceEvent blk)) where defineSeverity (WithTip _tip ev) = defineSeverity ev @@ -465,6 +475,14 @@ instance (Show peer) => Transformable Text IO (WithMuxBearer peer MuxTrace) where trTransformer = defaultTextTransformer +-- transform @NtN.HandshakeTrace@ +instance Transformable Text IO NtN.HandshakeTr where + trTransformer = defaultTextTransformer + +-- transform @NtC.HandshakeTrace@ +instance Transformable Text IO NtC.HandshakeTr where + trTransformer = defaultTextTransformer + -- transform @TraceEvent@ instance (Condense (HeaderHash blk), LedgerSupportsProtocol blk) => Transformable Text IO (WithTip blk (ChainDB.TraceEvent blk)) where @@ -655,6 +673,18 @@ instance (Show peer) , "bearer" .= show b , "event" .= show ev ] +instance ToObject NtN.HandshakeTr where + toObject _verb (WithMuxBearer b ev) = + mkObject [ "kind" .= String "HandshakeTrace" + , "bearer" .= show b + , "event" .= show ev ] + +instance ToObject NtC.HandshakeTr where + toObject _verb (WithMuxBearer b ev) = + mkObject [ "kind" .= String "LocalHandshakeTrace" + , "bearer" .= show b + , "event" .= show ev ] + instance (Condense (HeaderHash blk), LedgerSupportsProtocol blk) => ToObject (WithTip blk (ChainDB.TraceEvent blk)) where -- example: turn off any tracing of @TraceEvent@s when minimal verbosity level is set diff --git a/cardano-node/src/Cardano/Node/Run.hs b/cardano-node/src/Cardano/Node/Run.hs index 933a9f0d285..d1f2d5da526 100644 --- a/cardano-node/src/Cardano/Node/Run.hs +++ b/cardano-node/src/Cardano/Node/Run.hs @@ -229,7 +229,7 @@ handleSimpleNode p trace nodeTracers npm onKernel = do customiseChainDbArgs runValid args | runValid = args - { ChainDB.cdbImmValidation = ValidateAllEpochs + { ChainDB.cdbImmValidation = ValidateAllChunks , ChainDB.cdbVolValidation = ValidateAll } | otherwise @@ -255,8 +255,8 @@ handleSimpleNode p trace nodeTracers npm onKernel = do , dtLocalErrorPolicyTracer = localErrorPolicyTracer nodeTracers' , dtMuxTracer = muxTracer nodeTracers' , dtMuxLocalTracer = nullTracer - , dtHandshakeTracer = nullTracer - , dtHandshakeLocalTracer = nullTracer + , dtHandshakeTracer = handshakeTracer nodeTracers' + , dtHandshakeLocalTracer = localHandshakeTracer nodeTracers' } createTracers diff --git a/cardano-node/src/Cardano/Tracing/Tracers.hs b/cardano-node/src/Cardano/Tracing/Tracers.hs index f9c3f882906..d57332fb0d3 100644 --- a/cardano-node/src/Cardano/Tracing/Tracers.hs +++ b/cardano-node/src/Cardano/Tracing/Tracers.hs @@ -60,7 +60,8 @@ import Ouroboros.Network.Block (Point, BlockNo(..), blockNo, unBlockNo, unSlotNo) import Ouroboros.Network.BlockFetch.Decision (FetchDecision) import Ouroboros.Network.BlockFetch.ClientState (TraceLabelPeer (..)) -import Ouroboros.Network.NodeToNode (WithAddr, ErrorPolicyTrace) +import qualified Ouroboros.Network.NodeToClient as NtC +import qualified Ouroboros.Network.NodeToNode as NtN import Ouroboros.Network.Point (fromWithOrigin) import Ouroboros.Network.Subscription @@ -88,11 +89,13 @@ data Tracers peer localPeer blk = Tracers -- | Trace the DNS resolver , dnsResolverTracer :: Tracer IO (WithDomainName DnsTrace) -- | Trace error policy resolution - , errorPolicyTracer :: Tracer IO (WithAddr Socket.SockAddr ErrorPolicyTrace) + , errorPolicyTracer :: Tracer IO (NtN.WithAddr Socket.SockAddr NtN.ErrorPolicyTrace) -- | Trace local error policy resolution - , localErrorPolicyTracer :: Tracer IO (WithAddr Socket.SockAddr ErrorPolicyTrace) + , localErrorPolicyTracer :: Tracer IO (NtN.WithAddr Socket.SockAddr NtN.ErrorPolicyTrace) -- | Trace the Mux , muxTracer :: Tracer IO (WithMuxBearer peer MuxTrace) + , handshakeTracer :: Tracer IO NtN.HandshakeTr + , localHandshakeTracer :: Tracer IO NtC.HandshakeTr } data ForgeTracers = ForgeTracers @@ -119,6 +122,8 @@ nullTracers = Tracers , errorPolicyTracer = nullTracer , localErrorPolicyTracer = nullTracer , muxTracer = nullTracer + , handshakeTracer = nullTracer + , localHandshakeTracer = nullTracer } @@ -231,6 +236,16 @@ mkTracers traceOptions tracer = do $ annotateSeverity $ toLogObject' StructuredLogging tracingVerbosity $ appendName "Mux" tracer + , handshakeTracer + = tracerOnOff (traceHandshake traceOptions) + $ annotateSeverity + $ toLogObject' StructuredLogging tracingVerbosity + $ appendName "Handshake" tracer + , localHandshakeTracer + = tracerOnOff (traceLocalHandshake traceOptions) + $ annotateSeverity + $ toLogObject' StructuredLogging tracingVerbosity + $ appendName "LocalHandshake" tracer } where -- Turn on/off a tracer depending on what was parsed from the command line. diff --git a/configuration/configuration-mainnet.yaml b/configuration/configuration-mainnet.yaml index 3e5ad00301a..0f93cc25b1d 100644 --- a/configuration/configuration-mainnet.yaml +++ b/configuration/configuration-mainnet.yaml @@ -151,12 +151,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: False +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: False diff --git a/configuration/configuration-silent.yaml b/configuration/configuration-silent.yaml index 9b68ffa8b3f..55a80fa92db 100644 --- a/configuration/configuration-silent.yaml +++ b/configuration/configuration-silent.yaml @@ -126,12 +126,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: False +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: False +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: False diff --git a/configuration/log-config-0.liveview.yaml b/configuration/log-config-0.liveview.yaml index afce8054089..16e92a8f0fd 100644 --- a/configuration/log-config-0.liveview.yaml +++ b/configuration/log-config-0.liveview.yaml @@ -162,12 +162,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/configuration/log-config-0.yaml b/configuration/log-config-0.yaml index 8ab1b6cdc79..54fb53e2a63 100644 --- a/configuration/log-config-0.yaml +++ b/configuration/log-config-0.yaml @@ -163,12 +163,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/configuration/log-config-1.liveview.yaml b/configuration/log-config-1.liveview.yaml index 4b3cf6fc678..fb3be3f7d90 100644 --- a/configuration/log-config-1.liveview.yaml +++ b/configuration/log-config-1.liveview.yaml @@ -156,12 +156,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/configuration/log-config-1.yaml b/configuration/log-config-1.yaml index 0be41dedda7..8ac2f3dcd3d 100644 --- a/configuration/log-config-1.yaml +++ b/configuration/log-config-1.yaml @@ -162,12 +162,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/configuration/log-config-2.liveview.yaml b/configuration/log-config-2.liveview.yaml index 3ae45fb5cbf..0da3b678a93 100644 --- a/configuration/log-config-2.liveview.yaml +++ b/configuration/log-config-2.liveview.yaml @@ -162,12 +162,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/configuration/log-config-2.yaml b/configuration/log-config-2.yaml index eed11a174ea..285a4e6036d 100644 --- a/configuration/log-config-2.yaml +++ b/configuration/log-config-2.yaml @@ -168,12 +168,18 @@ TraceLocalErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: False # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/configuration/log-configuration.yaml b/configuration/log-configuration.yaml index 021a00d49c2..cf779cf9146 100644 --- a/configuration/log-configuration.yaml +++ b/configuration/log-configuration.yaml @@ -155,12 +155,18 @@ TraceErrorPolicy: True # Trace block forging. TraceForge: True +# Trace Handshake protocol messages. +TraceHandshake: False + # Trace IP Subscription messages. TraceIpSubscription: True # Trace local ChainSync protocol messages. TraceLocalChainSyncProtocol: True +# Trace local Handshake protocol messages. +TraceLocalHandshake: False + # Trace local TxSubmission protocol messages. TraceLocalTxSubmissionProtocol: True diff --git a/stack.yaml b/stack.yaml index 967da60929b..337a09af19a 100644 --- a/stack.yaml +++ b/stack.yaml @@ -121,7 +121,7 @@ extra-deps: #Ouroboros-network dependencies - git: https://github.com/input-output-hk/ouroboros-network - commit: 8a19e9cd6e6f8a02147cd96c4f633ac903d833b1 + commit: d0f3b7d44ef4212f3e60bf3b07a03bc543962409 subdirs: - io-sim - io-sim-classes