Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data BlockType blk where
- data SomeBlockType where
- SomeBlockType :: forall blk. BlockType blk -> SomeBlockType
- reflBlockType :: BlockType blk -> BlockType blk' -> Maybe (blk :~: blk')
- class (RunNode blk, IOLike m) => Protocol (m :: Type -> Type) blk where
- data ProtocolInfoArgs blk
- protocolInfo :: ProtocolInfoArgs blk -> (ProtocolInfo blk, m [BlockForging m blk])
- data family ProtocolInfoArgs blk
- class RunNode blk => ProtocolClient blk where
- data ProtocolClientInfoArgs blk
- protocolClientInfo :: ProtocolClientInfoArgs blk -> ProtocolClientInfo blk
- data family ProtocolClientInfoArgs blk
Documentation
data BlockType blk where Source #
data SomeBlockType where Source #
SomeBlockType :: forall blk. BlockType blk -> SomeBlockType |
Instances
Show SomeBlockType Source # | |
Defined in Cardano.Api.Protocol |
class (RunNode blk, IOLike m) => Protocol (m :: Type -> Type) blk where Source #
data ProtocolInfoArgs blk Source #
protocolInfo :: ProtocolInfoArgs 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 | |
(CardanoHardForkConstraints StandardCrypto, IOLike m) => Protocol m (CardanoBlock StandardCrypto) Source # | |
Defined in Cardano.Api.Protocol | |
(IOLike m, LedgerSupportsProtocol (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto))) => Protocol m (ShelleyBlockHFC (TPraos StandardCrypto) StandardShelley) Source # | |
Defined in Cardano.Api.Protocol |
data family ProtocolInfoArgs 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.
data ProtocolClientInfoArgs blk Source #
protocolClientInfo :: ProtocolClientInfoArgs blk -> ProtocolClientInfo blk Source #
Instances
data family ProtocolClientInfoArgs blk Source #