| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Node.Types
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 NodeDijkstraProtocolConfiguration = NodeDijkstraProtocolConfiguration {}
- data NodeHardForkProtocolConfiguration = NodeHardForkProtocolConfiguration {
- npcTestEnableDevelopmentHardForkEras ∷ Bool
- npcTestShelleyHardForkAtEpoch ∷ Maybe EpochNo
- npcTestAllegraHardForkAtEpoch ∷ Maybe EpochNo
- npcTestMaryHardForkAtEpoch ∷ Maybe EpochNo
- npcTestAlonzoHardForkAtEpoch ∷ Maybe EpochNo
- npcTestBabbageHardForkAtEpoch ∷ Maybe EpochNo
- npcTestConwayHardForkAtEpoch ∷ Maybe EpochNo
- npcTestDijkstraHardForkAtEpoch ∷ Maybe EpochNo
- data NodeProtocolConfigurationCardano = NodeProtocolConfigurationCardano NodeByronProtocolConfiguration NodeShelleyProtocolConfiguration NodeAlonzoProtocolConfiguration NodeConwayProtocolConfiguration NodeDijkstraProtocolConfiguration NodeHardForkProtocolConfiguration
- data NodeShelleyProtocolConfiguration = NodeShelleyProtocolConfiguration {}
- data VRFPrivateKeyFilePermissionError
- renderVRFPrivateKeyFilePermissionError ∷ VRFPrivateKeyFilePermissionError → Text
Configuration
class AdjustFilePaths a where Source #
Methods
adjustFilePaths ∷ (FilePath → FilePath) → a → a Source #
Instances
data ConfigError Source #
Errors for the cardano-config module.
Constructors
| ConfigErrorFileNotFound FilePath | |
| ConfigErrorNoEKG |
Instances
| Show ConfigError Source # | |
Defined in Cardano.Node.Types Methods 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)
Constructors
| ConfigYamlFilePath | |
Fields | |
Instances
| Show ConfigYamlFilePath Source # | |
Defined in Cardano.Node.Types Methods showsPrec ∷ Int → ConfigYamlFilePath → ShowS # show ∷ ConfigYamlFilePath → String # showList ∷ [ConfigYamlFilePath] → ShowS # | |
| Eq ConfigYamlFilePath Source # | |
Defined in Cardano.Node.Types Methods | |
newtype GenesisFile Source #
Constructors
| GenesisFile | |
Fields | |
Instances
newtype GenesisHash Source #
Constructors
| GenesisHash (Hash Blake2b_256 ByteString) |
Instances
| FromJSON GenesisHash Source # | |
Defined in Cardano.Node.Types Methods parseJSON ∷ Value → Parser GenesisHash Source # parseJSONList ∷ Value → Parser [GenesisHash] Source # | |
| ToJSON GenesisHash Source # | |
Defined in Cardano.Node.Types Methods 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 Methods showsPrec ∷ Int → GenesisHash → ShowS # show ∷ GenesisHash → String # showList ∷ [GenesisHash] → ShowS # | |
| Eq GenesisHash Source # | |
Defined in Cardano.Node.Types | |
newtype MaxConcurrencyBulkSync Source #
Constructors
| MaxConcurrencyBulkSync | |
Fields | |
Instances
newtype MaxConcurrencyDeadline Source #
Constructors
| MaxConcurrencyDeadline | |
Fields | |
Instances
data ProtocolFilepaths Source #
Constructors
| ProtocolFilepaths | |
Fields
| |
Instances
| Show ProtocolFilepaths Source # | |
Defined in Cardano.Node.Types Methods showsPrec ∷ Int → ProtocolFilepaths → ShowS # show ∷ ProtocolFilepaths → String # showList ∷ [ProtocolFilepaths] → ShowS # | |
| Eq ProtocolFilepaths Source # | |
Defined in Cardano.Node.Types Methods | |
Consensus protocol configuration
data NodeAlonzoProtocolConfiguration Source #
Constructors
| NodeAlonzoProtocolConfiguration | |
Fields | |
Instances
data NodeByronProtocolConfiguration Source #
Constructors
| NodeByronProtocolConfiguration | |
Fields
| |
Instances
data NodeConwayProtocolConfiguration Source #
Constructors
| NodeConwayProtocolConfiguration | |
Fields | |
Instances
data NodeDijkstraProtocolConfiguration Source #
Constructors
| NodeDijkstraProtocolConfiguration | |
Instances
data NodeHardForkProtocolConfiguration Source #
Configuration relating to a hard forks themselves, not the specific eras.
Constructors
| NodeHardForkProtocolConfiguration | |
Fields
| |
data NodeProtocolConfigurationCardano Source #
Constructors
Instances
data NodeShelleyProtocolConfiguration Source #
Constructors
| NodeShelleyProtocolConfiguration | |
Instances
data VRFPrivateKeyFilePermissionError Source #
Constructors
| OtherPermissionsExist FilePath | |
| GroupPermissionsExist FilePath | |
| GenericPermissionsExist FilePath |