Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class AdjustFilePaths a where
- adjustFilePaths ∷ (FilePath → FilePath) → a → a
- data ConfigError
- newtype ConfigYamlFilePath = ConfigYamlFilePath {}
- newtype DbFile = DbFile {}
- newtype GenesisFile = GenesisFile {}
- newtype GenesisHash = GenesisHash (Hash Blake2b_256 ByteString)
- newtype MaxConcurrencyBulkSync = MaxConcurrencyBulkSync {}
- newtype MaxConcurrencyDeadline = MaxConcurrencyDeadline {}
- data ProtocolFilepaths = ProtocolFilepaths {
- byronCertFile ∷ !(Maybe FilePath)
- byronKeyFile ∷ !(Maybe FilePath)
- shelleyKESFile ∷ !(Maybe FilePath)
- shelleyVRFFile ∷ !(Maybe FilePath)
- shelleyCertFile ∷ !(Maybe FilePath)
- shelleyBulkCredsFile ∷ !(Maybe FilePath)
- data NodeAlonzoProtocolConfiguration = NodeAlonzoProtocolConfiguration {}
- data NodeByronProtocolConfiguration = NodeByronProtocolConfiguration {
- npcByronGenesisFile ∷ !GenesisFile
- npcByronGenesisFileHash ∷ !(Maybe GenesisHash)
- npcByronReqNetworkMagic ∷ !RequiresNetworkMagic
- npcByronPbftSignatureThresh ∷ !(Maybe Double)
- npcByronApplicationName ∷ !ApplicationName
- npcByronApplicationVersion ∷ !NumSoftwareVersion
- npcByronSupportedProtocolVersionMajor ∷ !Word16
- npcByronSupportedProtocolVersionMinor ∷ !Word16
- npcByronSupportedProtocolVersionAlt ∷ !Word8
- data NodeConwayProtocolConfiguration = NodeConwayProtocolConfiguration {}
- data NodeHardForkProtocolConfiguration = NodeHardForkProtocolConfiguration {
- npcTestEnableDevelopmentHardForkEras ∷ Bool
- npcTestShelleyHardForkAtEpoch ∷ Maybe EpochNo
- npcTestAllegraHardForkAtEpoch ∷ Maybe EpochNo
- npcTestMaryHardForkAtEpoch ∷ Maybe EpochNo
- npcTestAlonzoHardForkAtEpoch ∷ Maybe EpochNo
- npcTestBabbageHardForkAtEpoch ∷ Maybe EpochNo
- npcTestConwayHardForkAtEpoch ∷ Maybe EpochNo
- data NodeProtocolConfiguration
- = NodeProtocolConfigurationByron NodeByronProtocolConfiguration
- | NodeProtocolConfigurationShelley NodeShelleyProtocolConfiguration
- | NodeProtocolConfigurationCardano NodeByronProtocolConfiguration NodeShelleyProtocolConfiguration NodeAlonzoProtocolConfiguration NodeConwayProtocolConfiguration NodeHardForkProtocolConfiguration
- data NodeShelleyProtocolConfiguration = NodeShelleyProtocolConfiguration {}
- data VRFPrivateKeyFilePermissionError
- renderVRFPrivateKeyFilePermissionError ∷ VRFPrivateKeyFilePermissionError → Text
Configuration
class AdjustFilePaths a where Source #
adjustFilePaths ∷ (FilePath → FilePath) → a → a Source #
Instances
data ConfigError Source #
Errors for the cardano-config module.
Instances
Show ConfigError Source # | |
Defined in Cardano.Node.Types showsPrec ∷ Int → ConfigError → ShowS # show ∷ ConfigError → String # showList ∷ [ConfigError] → ShowS # |
newtype ConfigYamlFilePath Source #
Filepath of the configuration yaml file. This file determines all the configuration settings required for the cardano node (logging, tracing, protocol, slot length etc)
Instances
Show ConfigYamlFilePath Source # | |
Defined in Cardano.Node.Types showsPrec ∷ Int → ConfigYamlFilePath → ShowS # show ∷ ConfigYamlFilePath → String # showList ∷ [ConfigYamlFilePath] → ShowS # | |
Eq ConfigYamlFilePath Source # | |
Defined in Cardano.Node.Types |
newtype GenesisFile Source #
Instances
FromJSON GenesisFile Source # | |
Defined in Cardano.Node.Types | |
IsString GenesisFile Source # | |
Defined in Cardano.Node.Types fromString ∷ String → GenesisFile # | |
Show GenesisFile Source # | |
Defined in Cardano.Node.Types showsPrec ∷ Int → GenesisFile → ShowS # show ∷ GenesisFile → String # showList ∷ [GenesisFile] → ShowS # | |
Eq GenesisFile Source # | |
Defined in Cardano.Node.Types (==) ∷ GenesisFile → GenesisFile → Bool # (/=) ∷ GenesisFile → GenesisFile → Bool # | |
Ord GenesisFile Source # | |
Defined in Cardano.Node.Types compare ∷ GenesisFile → GenesisFile → Ordering # (<) ∷ GenesisFile → GenesisFile → Bool # (<=) ∷ GenesisFile → GenesisFile → Bool # (>) ∷ GenesisFile → GenesisFile → Bool # (>=) ∷ GenesisFile → GenesisFile → Bool # max ∷ GenesisFile → GenesisFile → GenesisFile # min ∷ GenesisFile → GenesisFile → GenesisFile # | |
AdjustFilePaths GenesisFile Source # | |
Defined in Cardano.Node.Types adjustFilePaths ∷ (FilePath → FilePath) → GenesisFile → GenesisFile Source # |
newtype GenesisHash Source #
Instances
FromJSON GenesisHash Source # | |
Defined in Cardano.Node.Types | |
ToJSON GenesisHash Source # | |
Defined in Cardano.Node.Types toJSON ∷ GenesisHash → Value Source # toEncoding ∷ GenesisHash → Encoding Source # toJSONList ∷ [GenesisHash] → Value Source # toEncodingList ∷ [GenesisHash] → Encoding Source # omitField ∷ GenesisHash → Bool Source # | |
Show GenesisHash Source # | |
Defined in Cardano.Node.Types showsPrec ∷ Int → GenesisHash → ShowS # show ∷ GenesisHash → String # showList ∷ [GenesisHash] → ShowS # | |
Eq GenesisHash Source # | |
Defined in Cardano.Node.Types (==) ∷ GenesisHash → GenesisHash → Bool # (/=) ∷ GenesisHash → GenesisHash → Bool # |
newtype MaxConcurrencyBulkSync Source #
Instances
newtype MaxConcurrencyDeadline Source #
Instances
data ProtocolFilepaths Source #
ProtocolFilepaths | |
|
Instances
Show ProtocolFilepaths Source # | |
Defined in Cardano.Node.Types showsPrec ∷ Int → ProtocolFilepaths → ShowS # show ∷ ProtocolFilepaths → String # showList ∷ [ProtocolFilepaths] → ShowS # | |
Eq ProtocolFilepaths Source # | |
Defined in Cardano.Node.Types |
Consensus protocol configuration
data NodeByronProtocolConfiguration Source #
NodeByronProtocolConfiguration | |
|
data NodeHardForkProtocolConfiguration Source #
Configuration relating to a hard forks themselves, not the specific eras.
NodeHardForkProtocolConfiguration | |
|
data NodeProtocolConfiguration Source #
Instances
data VRFPrivateKeyFilePermissionError Source #