bcc-node-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Node.Protocol.Sophie

Synopsis

Documentation

mkSomeConsensusProtocolSophie ∷ NodeSophieProtocolConfiguration → Maybe ProtocolFilepaths → ExceptT SophieProtocolInstantiationError IO SomeConsensusProtocol Source #

Make SomeConsensusProtocol using the Sophie 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