| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Node.Protocol
Documentation
mkConsensusProtocol :: NodeConfiguration -> ExceptT ProtocolInstantiationError IO SomeConsensusProtocol Source #
data SomeConsensusProtocol where Source #
Constructors
| SomeConsensusProtocol :: SomeConsensusProtocolConstraints blk => Protocol IO blk (BlockProtocol 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 # show :: ProtocolInstantiationError -> String # showList :: [ProtocolInstantiationError] -> ShowS # | |