Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class AdjustFilePaths a where
- adjustFilePaths ∷ (FilePath → FilePath) → a → a
- newtype ConfigError = ConfigErrorFileNotFound FilePath
- newtype ConfigYamlFilePath = ConfigYamlFilePath {}
- newtype DbFile = DbFile {}
- newtype GenesisFile = GenesisFile {}
- data ProtocolFilepaths = ProtocolFilepaths {
- coleCertFile ∷ !(Maybe FilePath)
- coleKeyFile ∷ !(Maybe FilePath)
- sophieKESFile ∷ !(Maybe FilePath)
- sophieVRFFile ∷ !(Maybe FilePath)
- sophieCertFile ∷ !(Maybe FilePath)
- sophieBulkCredsFile ∷ !(Maybe FilePath)
- newtype GenesisHash = GenesisHash (Hash Blake2b_256 ByteString)
- newtype MaxConcurrencyBulkSync = MaxConcurrencyBulkSync {}
- newtype MaxConcurrencyDeadline = MaxConcurrencyDeadline {}
- data NodeAddress' addr = NodeAddress {
- naHostAddress ∷ !addr
- naPort ∷ !PortNumber
- type NodeIPAddress = NodeAddress' NodeHostIPAddress
- nodeAddressToSockAddr ∷ NodeIPAddress → SockAddr
- type NodeIPv4Address = NodeAddress' NodeHostIPv4Address
- type NodeIPv6Address = NodeAddress' NodeHostIPv6Address
- type NodeDnsAddress = NodeAddress' NodeHostDnsAddress
- nodeIPv4ToIPAddress ∷ NodeIPv4Address → NodeIPAddress
- nodeIPv6ToIPAddress ∷ NodeIPv6Address → NodeIPAddress
- nodeDnsAddressToDomainAddress ∷ NodeDnsAddress → DomainAddress
- newtype NodeHostIPAddress = NodeHostIPAddress {
- unNodeHostIPAddress ∷ IP
- nodeHostIPAddressToSockAddr ∷ NodeIPAddress → SockAddr
- newtype NodeHostIPv4Address = NodeHostIPv4Address {
- unNodeHostIPv4Address ∷ IPv4
- newtype NodeHostIPv6Address = NodeHostIPv6Address {
- unNodeHostIPv6Address ∷ IPv6
- nodeHostIPv4AddressToIPAddress ∷ NodeHostIPv4Address → NodeHostIPAddress
- nodeHostIPv6AddressToIPAddress ∷ NodeHostIPv6Address → NodeHostIPAddress
- newtype NodeHostDnsAddress = NodeHostDnsAddress {}
- nodeHostDnsAddressToDomain ∷ NodeHostDnsAddress → Domain
- data PortNumber
- newtype SocketPath = SocketPath {}
- newtype TopologyFile = TopologyFile {}
- newtype NodeDiffusionMode = NodeDiffusionMode {
- getDiffusionMode ∷ DiffusionMode
- data NodeColeProtocolConfiguration = NodeColeProtocolConfiguration {
- npcColeGenesisFile ∷ !GenesisFile
- npcColeGenesisFileHash ∷ !(Maybe GenesisHash)
- npcColeReqNetworkMagic ∷ !RequiresNetworkMagic
- npcColePbftSignatureThresh ∷ !(Maybe Double)
- npcColeApplicationName ∷ !ApplicationName
- npcColeApplicationVersion ∷ !NumSoftwareVersion
- npcColeSupportedProtocolVersionMajor ∷ !Word16
- npcColeSupportedProtocolVersionSentry ∷ !Word16
- data NodeHardForkProtocolConfiguration = NodeHardForkProtocolConfiguration {
- npcTestEnableDevelopmentHardForkEras ∷ Bool
- npcTestSophieHardForkAtEpoch ∷ Maybe EpochNo
- npcTestSophieHardForkAtVersion ∷ Maybe Word
- npcTestEvieHardForkAtEpoch ∷ Maybe EpochNo
- npcTestEvieHardForkAtVersion ∷ Maybe Word
- npcTestJenHardForkAtEpoch ∷ Maybe EpochNo
- npcTestJenHardForkAtVersion ∷ Maybe Word
- npcTestAurumHardForkAtEpoch ∷ Maybe EpochNo
- npcTestAurumHardForkAtVersion ∷ Maybe Word
- data NodeProtocolConfiguration
- data NodeSophieProtocolConfiguration = NodeSophieProtocolConfiguration {}
- data NodeAurumProtocolConfiguration = NodeAurumProtocolConfiguration {}
- data VRFPrivateKeyFilePermissionError
- protocolName ∷ Protocol → String
- renderVRFPrivateKeyFilePermissionError ∷ VRFPrivateKeyFilePermissionError → Text
Configuration
class AdjustFilePaths a where Source #
adjustFilePaths ∷ (FilePath → FilePath) → a → a Source #
Instances
AdjustFilePaths SocketPath Source # | |
Defined in Bcc.Node.Types adjustFilePaths ∷ (FilePath → FilePath) → SocketPath → SocketPath Source # | |
AdjustFilePaths NodeColeProtocolConfiguration Source # | |
Defined in Bcc.Node.Types | |
AdjustFilePaths NodeAurumProtocolConfiguration Source # | |
Defined in Bcc.Node.Types | |
AdjustFilePaths NodeSophieProtocolConfiguration Source # | |
AdjustFilePaths NodeProtocolConfiguration Source # | |
Defined in Bcc.Node.Types | |
AdjustFilePaths GenesisFile Source # | |
Defined in Bcc.Node.Types adjustFilePaths ∷ (FilePath → FilePath) → GenesisFile → GenesisFile Source # | |
AdjustFilePaths PartialNodeConfiguration Source # | |
Defined in Bcc.Node.Configuration.POM | |
AdjustFilePaths a ⇒ AdjustFilePaths (Maybe a) Source # | |
Defined in Bcc.Node.Types | |
AdjustFilePaths (Last SocketPath) Source # | |
Defined in Bcc.Node.Types adjustFilePaths ∷ (FilePath → FilePath) → Last SocketPath → Last SocketPath Source # | |
AdjustFilePaths (Last NodeProtocolConfiguration) Source # | |
Defined in Bcc.Node.Types |
newtype ConfigError Source #
Errors for the bcc-config module.
Instances
Show ConfigError Source # | |
Defined in Bcc.Node.Types |
newtype ConfigYamlFilePath Source #
Filepath of the configuration yaml file. This file determines all the configuration settings required for the bcc node (logging, tracing, protocol, slot length etc)
Instances
Eq ConfigYamlFilePath Source # | |
Defined in Bcc.Node.Types | |
Show ConfigYamlFilePath Source # | |
Defined in Bcc.Node.Types |
newtype GenesisFile Source #
Instances
Eq GenesisFile Source # | |
Defined in Bcc.Node.Types (==) ∷ GenesisFile → GenesisFile → Bool Source # (/=) ∷ GenesisFile → GenesisFile → Bool Source # | |
Ord GenesisFile Source # | |
Defined in Bcc.Node.Types compare ∷ GenesisFile → GenesisFile → Ordering Source # (<) ∷ GenesisFile → GenesisFile → Bool Source # (<=) ∷ GenesisFile → GenesisFile → Bool Source # (>) ∷ GenesisFile → GenesisFile → Bool Source # (>=) ∷ GenesisFile → GenesisFile → Bool Source # max ∷ GenesisFile → GenesisFile → GenesisFile Source # min ∷ GenesisFile → GenesisFile → GenesisFile Source # | |
Show GenesisFile Source # | |
Defined in Bcc.Node.Types | |
IsString GenesisFile Source # | |
Defined in Bcc.Node.Types | |
FromJSON GenesisFile Source # | |
Defined in Bcc.Node.Types parseJSON ∷ Value → Parser GenesisFile # parseJSONList ∷ Value → Parser [GenesisFile] # | |
AdjustFilePaths GenesisFile Source # | |
Defined in Bcc.Node.Types adjustFilePaths ∷ (FilePath → FilePath) → GenesisFile → GenesisFile Source # |
data ProtocolFilepaths Source #
ProtocolFilepaths | |
|
Instances
Eq ProtocolFilepaths Source # | |
Defined in Bcc.Node.Types | |
Show ProtocolFilepaths Source # | |
Defined in Bcc.Node.Types |
newtype GenesisHash Source #
GenesisHash (Hash Blake2b_256 ByteString) |
Instances
Eq GenesisHash Source # | |
Defined in Bcc.Node.Types (==) ∷ GenesisHash → GenesisHash → Bool Source # (/=) ∷ GenesisHash → GenesisHash → Bool Source # | |
Show GenesisHash Source # | |
Defined in Bcc.Node.Types | |
ToJSON GenesisHash Source # | |
Defined in Bcc.Node.Types toJSON ∷ GenesisHash → Value # toEncoding ∷ GenesisHash → Encoding # toJSONList ∷ [GenesisHash] → Value # toEncodingList ∷ [GenesisHash] → Encoding # | |
FromJSON GenesisHash Source # | |
Defined in Bcc.Node.Types parseJSON ∷ Value → Parser GenesisHash # parseJSONList ∷ Value → Parser [GenesisHash] # |
newtype MaxConcurrencyBulkSync Source #
Instances
Eq MaxConcurrencyBulkSync Source # | |
Defined in Bcc.Node.Types | |
Ord MaxConcurrencyBulkSync Source # | |
Defined in Bcc.Node.Types compare ∷ MaxConcurrencyBulkSync → MaxConcurrencyBulkSync → Ordering Source # (<) ∷ MaxConcurrencyBulkSync → MaxConcurrencyBulkSync → Bool Source # (<=) ∷ MaxConcurrencyBulkSync → MaxConcurrencyBulkSync → Bool Source # (>) ∷ MaxConcurrencyBulkSync → MaxConcurrencyBulkSync → Bool Source # (>=) ∷ MaxConcurrencyBulkSync → MaxConcurrencyBulkSync → Bool Source # max ∷ MaxConcurrencyBulkSync → MaxConcurrencyBulkSync → MaxConcurrencyBulkSync Source # min ∷ MaxConcurrencyBulkSync → MaxConcurrencyBulkSync → MaxConcurrencyBulkSync Source # | |
Show MaxConcurrencyBulkSync Source # | |
Defined in Bcc.Node.Types | |
FromJSON MaxConcurrencyBulkSync Source # | |
Defined in Bcc.Node.Types parseJSON ∷ Value → Parser MaxConcurrencyBulkSync # parseJSONList ∷ Value → Parser [MaxConcurrencyBulkSync] # |
newtype MaxConcurrencyDeadline Source #
Instances
Eq MaxConcurrencyDeadline Source # | |
Defined in Bcc.Node.Types | |
Ord MaxConcurrencyDeadline Source # | |
Defined in Bcc.Node.Types compare ∷ MaxConcurrencyDeadline → MaxConcurrencyDeadline → Ordering Source # (<) ∷ MaxConcurrencyDeadline → MaxConcurrencyDeadline → Bool Source # (<=) ∷ MaxConcurrencyDeadline → MaxConcurrencyDeadline → Bool Source # (>) ∷ MaxConcurrencyDeadline → MaxConcurrencyDeadline → Bool Source # (>=) ∷ MaxConcurrencyDeadline → MaxConcurrencyDeadline → Bool Source # max ∷ MaxConcurrencyDeadline → MaxConcurrencyDeadline → MaxConcurrencyDeadline Source # min ∷ MaxConcurrencyDeadline → MaxConcurrencyDeadline → MaxConcurrencyDeadline Source # | |
Show MaxConcurrencyDeadline Source # | |
Defined in Bcc.Node.Types | |
FromJSON MaxConcurrencyDeadline Source # | |
Defined in Bcc.Node.Types parseJSON ∷ Value → Parser MaxConcurrencyDeadline # parseJSONList ∷ Value → Parser [MaxConcurrencyDeadline] # |
Node addresses
data NodeAddress' addr Source #
IPv4 or IPv6 address with a port number.
NodeAddress | |
|
Instances
nodeAddressToSockAddr ∷ NodeIPAddress → SockAddr Source #
nodeDnsAddressToDomainAddress ∷ NodeDnsAddress → DomainAddress Source #
newtype NodeHostIPAddress Source #
Instances
nodeHostIPAddressToSockAddr ∷ NodeIPAddress → SockAddr Source #
newtype NodeHostIPv4Address Source #
Instances
newtype NodeHostIPv6Address Source #
Instances
newtype NodeHostDnsAddress Source #
Domain name.
Instances
nodeHostDnsAddressToDomain ∷ NodeHostDnsAddress → Domain Source #
data PortNumber #
Instances
newtype SocketPath Source #
Instances
newtype TopologyFile Source #
Instances
Eq TopologyFile Source # | |
Defined in Bcc.Node.Types (==) ∷ TopologyFile → TopologyFile → Bool Source # (/=) ∷ TopologyFile → TopologyFile → Bool Source # | |
Show TopologyFile Source # | |
Defined in Bcc.Node.Types |
newtype NodeDiffusionMode Source #
Newtype wrapper which provides FromJSON
instance for DiffusionMode
.
NodeDiffusionMode | |
|
Instances
Show NodeDiffusionMode Source # | |
Defined in Bcc.Node.Types | |
FromJSON NodeDiffusionMode Source # | |
Defined in Bcc.Node.Types parseJSON ∷ Value → Parser NodeDiffusionMode # parseJSONList ∷ Value → Parser [NodeDiffusionMode] # |
Consensus protocol configuration
data NodeColeProtocolConfiguration Source #
NodeColeProtocolConfiguration | |
|
Instances
data NodeHardForkProtocolConfiguration Source #
Configuration relating to a hard forks themselves, not the specific eras.
NodeHardForkProtocolConfiguration | |
|
data NodeProtocolConfiguration Source #
Instances
Eq NodeProtocolConfiguration Source # | |
Show NodeProtocolConfiguration Source # | |
Defined in Bcc.Node.Types | |
AdjustFilePaths NodeProtocolConfiguration Source # | |
Defined in Bcc.Node.Types | |
AdjustFilePaths (Last NodeProtocolConfiguration) Source # | |
Defined in Bcc.Node.Types |
data VRFPrivateKeyFilePermissionError Source #
Instances
protocolName ∷ Protocol → String Source #
A human readable name for the protocol