Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NodeConfiguration = NodeConfiguration {
- ncNodeIPv4Addr ∷ !(Maybe NodeHostIPv4Address)
- ncNodeIPv6Addr ∷ !(Maybe NodeHostIPv6Address)
- ncNodePortNumber ∷ !(Maybe PortNumber)
- ncConfigFile ∷ !ConfigYamlFilePath
- ncTopologyFile ∷ !TopologyFile
- ncDatabaseFile ∷ !DbFile
- ncProtocolFiles ∷ !ProtocolFilepaths
- ncValidateDB ∷ !Bool
- ncShutdownIPC ∷ !(Maybe Fd)
- ncShutdownOnSlotSynced ∷ !MaxSlotNo
- ncProtocolConfig ∷ !NodeProtocolConfiguration
- ncSocketPath ∷ !(Maybe SocketPath)
- ncDiffusionMode ∷ !DiffusionMode
- ncSnapshotInterval ∷ !SnapshotInterval
- ncTestEnableDevelopmentNetworkProtocols ∷ !Bool
- ncMaxConcurrencyBulkSync ∷ !(Maybe MaxConcurrencyBulkSync)
- ncMaxConcurrencyDeadline ∷ !(Maybe MaxConcurrencyDeadline)
- ncLoggingSwitch ∷ !Bool
- ncLogMetrics ∷ !Bool
- ncTraceConfig ∷ !TraceOptions
- data PartialNodeConfiguration = PartialNodeConfiguration {
- pncNodeIPv4Addr ∷ !(Last NodeHostIPv4Address)
- pncNodeIPv6Addr ∷ !(Last NodeHostIPv6Address)
- pncNodePortNumber ∷ !(Last PortNumber)
- pncConfigFile ∷ !(Last ConfigYamlFilePath)
- pncTopologyFile ∷ !(Last TopologyFile)
- pncDatabaseFile ∷ !(Last DbFile)
- pncProtocolFiles ∷ !(Last ProtocolFilepaths)
- pncValidateDB ∷ !(Last Bool)
- pncShutdownIPC ∷ !(Last (Maybe Fd))
- pncShutdownOnSlotSynced ∷ !(Last MaxSlotNo)
- pncProtocolConfig ∷ !(Last NodeProtocolConfiguration)
- pncSocketPath ∷ !(Last SocketPath)
- pncDiffusionMode ∷ !(Last DiffusionMode)
- pncSnapshotInterval ∷ !(Last SnapshotInterval)
- pncTestEnableDevelopmentNetworkProtocols ∷ !(Last Bool)
- pncMaxConcurrencyBulkSync ∷ !(Last MaxConcurrencyBulkSync)
- pncMaxConcurrencyDeadline ∷ !(Last MaxConcurrencyDeadline)
- pncLoggingSwitch ∷ !(Last Bool)
- pncLogMetrics ∷ !(Last Bool)
- pncTraceConfig ∷ !(Last TraceOptions)
- defaultPartialNodeConfiguration ∷ PartialNodeConfiguration
- lastOption ∷ Parser a → Parser (Last a)
- makeNodeConfiguration ∷ PartialNodeConfiguration → Either String NodeConfiguration
- parseNodeConfigurationFP ∷ Maybe ConfigYamlFilePath → IO PartialNodeConfiguration
- pncProtocol ∷ PartialNodeConfiguration → Either Text Protocol
- ncProtocol ∷ NodeConfiguration → Protocol
Documentation
data NodeConfiguration Source #
NodeConfiguration | |
|
Instances
Eq NodeConfiguration Source # | |
Defined in Bcc.Node.Configuration.POM | |
Show NodeConfiguration Source # | |
Defined in Bcc.Node.Configuration.POM |
data PartialNodeConfiguration Source #
Instances
defaultPartialNodeConfiguration ∷ PartialNodeConfiguration Source #
Default configuration is mainnet
lastOption ∷ Parser a → Parser (Last a) Source #