| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Bcc.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
| ColeProtocolInstantiationError ColeProtocolInstantiationError | |
| SophieProtocolInstantiationError SophieProtocolInstantiationError | |
| BccProtocolInstantiationError BccProtocolInstantiationError |
Instances
| Show ProtocolInstantiationError Source # | |
Defined in Bcc.Node.Protocol | |
| Error ProtocolInstantiationError Source # | |
Defined in Bcc.Node.Protocol Methods | |