Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Api.Protocol.Types
Synopsis
- data BlockType blk where
- class (RunNode blk, IOLike m) ⇒ Protocol (m ∷ Type → Type) blk where
- data ProtocolInfoArgs (m ∷ Type → Type) blk
- protocolInfo ∷ ProtocolInfoArgs m blk → (ProtocolInfo blk, m [BlockForging m blk])
- class RunNode blk ⇒ ProtocolClient blk where
- data ProtocolClientInfoArgs blk
- protocolClientInfo ∷ ProtocolClientInfoArgs blk → ProtocolClientInfo blk
- data family ProtocolClientInfoArgs blk
- data family ProtocolInfoArgs (m ∷ Type → Type) blk
Documentation
data BlockType blk where Source #
Constructors
class (RunNode blk, IOLike m) ⇒ Protocol (m ∷ Type → Type) blk where Source #
Associated Types
data ProtocolInfoArgs (m ∷ Type → Type) blk Source #
Methods
protocolInfo ∷ ProtocolInfoArgs m blk → (ProtocolInfo blk, m [BlockForging m blk]) Source #
Instances
class RunNode blk ⇒ ProtocolClient blk where Source #
Node client support for each consensus protocol.
This is like Protocol
but for clients of the node, so with less onerous
requirements than to run a node.
Associated Types
data ProtocolClientInfoArgs blk Source #
Methods
protocolClientInfo ∷ ProtocolClientInfoArgs blk → ProtocolClientInfo blk Source #
Instances
ProtocolClient ByronBlockHFC Source # | |||||
Defined in Cardano.Api.Protocol.Types Associated Types
| |||||
CardanoHardForkConstraints StandardCrypto ⇒ ProtocolClient (CardanoBlock StandardCrypto) Source # | |||||
Defined in Cardano.Api.Protocol.Types Associated Types
| |||||
LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) ShelleyEra) ⇒ ProtocolClient (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra) Source # | |||||
Defined in Cardano.Api.Protocol.Types Associated Types
|
data family ProtocolClientInfoArgs blk Source #
Instances
data family ProtocolInfoArgs (m ∷ Type → Type) blk Source #
Instances
data ProtocolInfoArgs m ByronBlockHFC Source # | |
Defined in Cardano.Api.Protocol.Types | |
data ProtocolInfoArgs m (CardanoBlock StandardCrypto) Source # | |
data ProtocolInfoArgs m (ShelleyBlockHFC (TPraos StandardCrypto) ShelleyEra) Source # | |