Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Node.Protocol
Documentation
mkConsensusProtocol ∷ NodeConfiguration → ExceptT ProtocolInstantiationError IO SomeConsensusProtocol Source #
data SomeConsensusProtocol where Source #
Constructors
SomeConsensusProtocol ∷ ∀ blk. (Protocol IO blk, HasKESMetricsData blk, HasKESInfo blk, TraceConstraints blk) ⇒ BlockType blk → ProtocolInfoArgs IO blk → SomeConsensusProtocol |
data ProtocolInstantiationError Source #
Constructors
ByronProtocolInstantiationError ByronProtocolInstantiationError | |
ShelleyProtocolInstantiationError ShelleyProtocolInstantiationError | |
CardanoProtocolInstantiationError CardanoProtocolInstantiationError |
Instances
Show ProtocolInstantiationError Source # | |
Defined in Cardano.Node.Protocol Methods showsPrec ∷ Int → ProtocolInstantiationError → ShowS # | |
Error ProtocolInstantiationError Source # | |
Defined in Cardano.Node.Protocol Methods |