cardano-node-1.36.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.

NetworkConfigUpdateUnsupported

Re-configuration of network config is not supported.

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

prepareNodeInfoNodeConfigurationSomeConsensusProtocol → TraceConfig → UTCTimeIO NodeInfo Source #

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

data NodeStartupInfo Source #

This information is taken from BasicInfoShelleyBased. It is required for 'cardano-tracer' service (particularly, for RTView).

Instances

Instances details
Eq NodeStartupInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Show NodeStartupInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Generic NodeStartupInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Associated Types

type Rep NodeStartupInfoTypeType Source #

ToJSON NodeStartupInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Methods

toJSONNodeStartupInfo → Value #

toEncodingNodeStartupInfo → Encoding #

toJSONList ∷ [NodeStartupInfo] → Value #

toEncodingList ∷ [NodeStartupInfo] → Encoding #

FromJSON NodeStartupInfo Source # 
Instance details

Defined in Cardano.Node.Startup

Methods

parseJSON ∷ Value → Parser NodeStartupInfo #

parseJSONList ∷ Value → Parser [NodeStartupInfo] #

type Rep NodeStartupInfo Source # 
Instance details

Defined in Cardano.Node.Startup

type Rep NodeStartupInfo = D1 ('MetaData "NodeStartupInfo" "Cardano.Node.Startup" "cardano-node-1.36.0-inplace" 'False) (C1 ('MetaCons "NodeStartupInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "suiEra") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "suiSlotLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NominalDiffTime)) :*: (S1 ('MetaSel ('Just "suiEpochLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64) :*: S1 ('MetaSel ('Just "suiSlotsPerKESPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))))