bcc-node-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Node.Protocol.Cole

Synopsis

Documentation

mkSomeConsensusProtocolColeNodeColeProtocolConfigurationMaybe ProtocolFilepathsExceptT ColeProtocolInstantiationError IO SomeConsensusProtocol Source #

Make SomeConsensusProtocol using the Cole instance.

This lets us handle multiple protocols in a generic way.

This also serves a purpose as a sanity check that we have all the necessary type class instances available.

Errors

Reusable parts