Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
mkConsensusProtocol ∷ NodeConfiguration → ExceptT ProtocolInstantiationError IO SomeConsensusProtocol Source #
data SomeConsensusProtocol where Source #
SomeConsensusProtocol ∷ ∀ blk. (Protocol IO blk, HasKESMetricsData blk, HasKESInfo blk, TraceConstraints blk) ⇒ BlockType blk → ProtocolInfoArgs IO blk → SomeConsensusProtocol |
data ProtocolInstantiationError Source #
ColeProtocolInstantiationError ColeProtocolInstantiationError | |
SophieProtocolInstantiationError SophieProtocolInstantiationError | |
BccProtocolInstantiationError BccProtocolInstantiationError |
Instances
Show ProtocolInstantiationError Source # | |
Defined in Bcc.Node.Protocol | |
Error ProtocolInstantiationError Source # | |
Defined in Bcc.Node.Protocol |