Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Node.Protocol
Documentation
mkConsensusProtocol :: NodeProtocolConfiguration -> Maybe ProtocolFilepaths -> ExceptT ProtocolInstantiationError IO SomeConsensusProtocol Source #
data SomeConsensusProtocol where Source #
Constructors
SomeConsensusProtocol :: forall blk. (Protocol IO blk, HasKESMetricsData blk, HasKESInfo blk, TraceConstraints blk) => BlockType blk -> ProtocolInfoArgs blk -> SomeConsensusProtocol |
data ProtocolInstantiationError Source #
Constructors
ByronProtocolInstantiationError ByronProtocolInstantiationError | |
ShelleyProtocolInstantiationError ShelleyProtocolInstantiationError | |
CardanoProtocolInstantiationError CardanoProtocolInstantiationError |
Instances
Show ProtocolInstantiationError Source # | |
Defined in Cardano.Node.Protocol | |
Error ProtocolInstantiationError Source # | |
Defined in Cardano.Node.Protocol Methods prettyError :: ProtocolInstantiationError -> Doc ann |