cardano-node-1.33.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Node.Startup

Synopsis

Documentation

data StartupTrace blk Source #

Constructors

StartupInfo

Log startup information.

Fields

StartupP2PInfo DiffusionMode

Log peer-to-peer diffusion mode

StartupTime UTCTime 
StartupNetworkMagic NetworkMagic 
StartupSocketConfigError SocketConfigError 
StartupDBValidation 
NetworkConfigUpdate

Log that the network configuration is being updated.

NetworkConfigUpdateError Text

Log network configuration update error.

NetworkConfig [(Int, Map RelayAccessPoint PeerAdvertise)] [RelayAccessPoint] UseLedgerAfter

Log peer-to-peer network configuration, either on startup or when its updated.

P2PWarning

Warn when EnableP2P is set.

P2PWarningDevelopementNetworkProtocols

Warn that peer-to-peer requires TestEnableDevelopmentNetworkProtocols to be set.

WarningDevelopmentNetworkProtocols [NodeToNodeVersion] [NodeToClientVersion]

Warn when TestEnableDevelopmentNetworkProtocols is set.

BICommon BasicInfoCommon 
BIShelley BasicInfoShelleyBased 
BIByron BasicInfoByron 
BINetwork BasicInfoNetwork 

Instances

Instances details
(Show (BlockNodeToNodeVersion blk), Show (BlockNodeToClientVersion blk)) ⇒ Transformable Text IO (StartupTrace blk) Source # 
Instance details

Defined in Cardano.Tracing.Startup

HasPrivacyAnnotation (StartupTrace blk) Source # 
Instance details

Defined in Cardano.Tracing.Startup

HasSeverityAnnotation (StartupTrace blk) Source # 
Instance details

Defined in Cardano.Tracing.Startup

(Show (BlockNodeToNodeVersion blk), Show (BlockNodeToClientVersion blk)) ⇒ HasTextFormatter (StartupTrace blk) Source # 
Instance details

Defined in Cardano.Tracing.Startup

Methods

formatTextStartupTrace blk → Object → Text #

(Show (BlockNodeToNodeVersion blk), Show (BlockNodeToClientVersion blk)) ⇒ ToObject (StartupTrace blk) Source # 
Instance details

Defined in Cardano.Tracing.Startup

Methods

toObjectTracingVerbosityStartupTrace blk → Object #

textTransformerStartupTrace blk → Object → Text #

(Show (BlockNodeToNodeVersion blk), Show (BlockNodeToClientVersion blk)) ⇒ LogFormatting (StartupTrace blk) 
Instance details

Defined in Cardano.Node.Tracing.Tracers.Startup

Methods

forMachine ∷ DetailLevel → StartupTrace blk → Object

forHumanStartupTrace blk → Text

asMetricsStartupTrace blk → [Metric]

data BasicInfoNetwork Source #

Constructors

BasicInfoNetwork 

Fields

data NodeInfo Source #

Instances

Instances details
Eq NodeInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Show NodeInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Generic NodeInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Associated Types

type Rep NodeInfoTypeType Source #

ToJSON NodeInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Methods

toJSONNodeInfo → Value #

toEncodingNodeInfo → Encoding #

toJSONList ∷ [NodeInfo] → Value #

toEncodingList ∷ [NodeInfo] → Encoding #

FromJSON NodeInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Methods

parseJSON ∷ Value → Parser NodeInfo #

parseJSONList ∷ Value → Parser [NodeInfo] #

type Rep NodeInfo Source # 
Instance details

Defined in Cardano.Node.Startup

prepareNodeInfoProtocolSomeConsensusProtocol → TraceConfig → UTCTimeIO NodeInfo Source #

Prepare basic info about the node. This info will be sent to 'cardano-tracer'.