Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data AurumProtocolInstantiationError
- readGenesis ∷ GenesisFile → Maybe GenesisHash → ExceptT GenesisReadError IO (AurumGenesis, GenesisHash)
- validateGenesis ∷ AurumGenesis → ExceptT AurumProtocolInstantiationError IO ()
Documentation
data AurumProtocolInstantiationError Source #
InvalidCostModelError !FilePath | |
CostModelExtractionError !FilePath | |
AurumCostModelFileError !(FileError ()) | |
AurumCostModelDecodeError !FilePath !String |
Instances
Reusable parts
readGenesis ∷ GenesisFile → Maybe GenesisHash → ExceptT GenesisReadError IO (AurumGenesis, GenesisHash) Source #
validateGenesis ∷ AurumGenesis → ExceptT AurumProtocolInstantiationError IO () Source #