Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Api.Protocol.Types
Synopsis
- data BlockType blk where
- class (RunNode blk, IOLike m) ⇒ Protocol m blk where
- data ProtocolInfoArgs m 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
Documentation
data BlockType blk where Source #
Constructors
ByronBlockType ∷ BlockType ByronBlockHFC | |
ShelleyBlockType ∷ BlockType (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) | |
CardanoBlockType ∷ BlockType (CardanoBlock StandardCrypto) |
class (RunNode blk, IOLike m) ⇒ Protocol m blk where Source #
Associated Types
data ProtocolInfoArgs m 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 data ProtocolClientInfoArgs (CardanoBlock StandardCrypto) Source # | |
LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto)) ⇒ ProtocolClient (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) Source # | |
Defined in Cardano.Api.Protocol.Types Associated Types data ProtocolClientInfoArgs (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) Source # |