We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8bbef7 commit c4ada02Copy full SHA for c4ada02
cardano-node/src/Cardano/Node/Run.hs
@@ -488,6 +488,13 @@ handleSimpleNode blockType runP p2pMode tracers nc onKernel = do
488
publicRoots
489
ntUseLedgerPeers
490
ntPeerSnapshotPath
491
+ case ncPeerSharing nc of
492
+ PeerSharingEnabled
493
+ | hasProtocolFile (ncProtocolFiles nc) ->
494
+ traceWith (startupTracer tracers) . NetworkConfigUpdateWarning . Text.pack $
495
+ "Mainnet block producers may not meet the Praos performance guarantees "
496
+ <> "and host IP address will be leaked since peer sharing is enabled."
497
+ _otherwise -> pure ()
498
localRootsVar <- newTVarIO localRoots
499
publicRootsVar <- newTVarIO publicRoots
500
useLedgerVar <- newTVarIO ntUseLedgerPeers
0 commit comments