Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data StartupTrace blk
- = StartupInfo [SocketOrSocketInfo SockAddr SockAddr] (Maybe (SocketOrSocketInfo LocalSocket LocalAddress)) (Map NodeToNodeVersion (BlockNodeToNodeVersion blk)) (Map NodeToClientVersion (BlockNodeToClientVersion blk))
- | StartupP2PInfo DiffusionMode
- | StartupTime UTCTime
- | StartupNetworkMagic NetworkMagic
- | StartupSocketConfigError SocketConfigError
- | StartupDBValidation
- | BlockForgingUpdate EnabledBlockForging
- | BlockForgingUpdateError ProtocolInstantiationError
- | BlockForgingBlockTypeMismatch SomeBlockType SomeBlockType
- | NetworkConfigUpdate
- | NetworkConfigUpdateUnsupported
- | NetworkConfigUpdateError Text
- | NetworkConfigLegacy
- | NetworkConfig [(HotValency, WarmValency, Map RelayAccessPoint PeerAdvertise)] (Map RelayAccessPoint PeerAdvertise) UseLedgerAfter
- | P2PWarning
- | PeerSharingWarning
- | WarningDevelopmentNodeToNodeVersions [NodeToNodeVersion]
- | WarningDevelopmentNodeToClientVersions [NodeToClientVersion]
- | BICommon BasicInfoCommon
- | BIShelley BasicInfoShelleyBased
- | BIByron BasicInfoByron
- | BINetwork BasicInfoNetwork
- data EnabledBlockForging
- data BasicInfoCommon = BasicInfoCommon {}
- data BasicInfoShelleyBased = BasicInfoShelleyBased {}
- data BasicInfoByron = BasicInfoByron {}
- data BasicInfoNetwork = BasicInfoNetwork {}
- data NodeInfo = NodeInfo {
- niName :: Text
- niProtocol :: Text
- niVersion :: Text
- niCommit :: Text
- niStartTime :: UTCTime
- niSystemStartTime :: UTCTime
- prepareNodeInfo :: NodeConfiguration -> SomeConsensusProtocol -> TraceConfig -> UTCTime -> IO NodeInfo
- data NodeStartupInfo = NodeStartupInfo {}
Documentation
data StartupTrace blk Source #
Instances
data EnabledBlockForging Source #
EnabledBlockForging | |
DisabledBlockForging | |
NotEffective | one needs to send |
Instances
Show EnabledBlockForging Source # | |
Defined in Cardano.Node.Startup | |
Eq EnabledBlockForging Source # | |
Defined in Cardano.Node.Startup (==) :: EnabledBlockForging -> EnabledBlockForging -> Bool Source # (/=) :: EnabledBlockForging -> EnabledBlockForging -> Bool Source # |
data BasicInfoCommon Source #
data BasicInfoShelleyBased Source #
data BasicInfoByron Source #
data BasicInfoNetwork Source #
NodeInfo | |
|
Instances
prepareNodeInfo :: NodeConfiguration -> SomeConsensusProtocol -> TraceConfig -> UTCTime -> IO 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).