Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
mkConsensusProtocol :: NodeProtocolConfiguration -> Maybe ProtocolFilepaths -> ExceptT ProtocolInstantiationError IO SomeConsensusProtocol Source #
data SomeConsensusProtocol where Source #
SomeConsensusProtocol :: forall blk. (Protocol IO blk, HasKESMetricsData blk, HasKESInfo blk, TraceConstraints blk) => BlockType blk -> ProtocolInfoArgs blk -> SomeConsensusProtocol |
data ProtocolInstantiationError Source #
ByronProtocolInstantiationError ByronProtocolInstantiationError | |
ShelleyProtocolInstantiationError ShelleyProtocolInstantiationError | |
CardanoProtocolInstantiationError CardanoProtocolInstantiationError |