Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
ByronBlockType ∷ BlockType ByronBlockHFC | |
ShelleyBlockType ∷ BlockType (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) | |
CardanoBlockType ∷ BlockType (CardanoBlock StandardCrypto) |
class (RunNode blk, IOLike m) ⇒ Protocol m blk where Source #
data ProtocolInfoArgs m blk Source #
protocolInfo ∷ ProtocolInfoArgs m blk → (ProtocolInfo blk, m [BlockForging m blk]) Source #
Instances
IOLike m ⇒ Protocol m ByronBlockHFC Source # | Run PBFT against the Byron ledger |
Defined in Cardano.Api.Protocol.Types data ProtocolInfoArgs m ByronBlockHFC Source # | |
(CardanoHardForkConstraints StandardCrypto, IOLike m) ⇒ Protocol m (CardanoBlock StandardCrypto) Source # | |
Defined in Cardano.Api.Protocol.Types data ProtocolInfoArgs m (CardanoBlock StandardCrypto) Source # | |
(IOLike m, LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto))) ⇒ Protocol m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) Source # | |
Defined in Cardano.Api.Protocol.Types |
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.
data ProtocolClientInfoArgs blk Source #