| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Peras.Cert.Class
Description
The IsPerasCert projection/injection class.
Synopsis
- class BoostedBlockCompatibleWithPoint (BoostedBlock cert) blk ⇒ IsPerasCert cert blk | cert → blk where
- getPerasCertRound ∷ cert → PerasRoundNo
- getPerasCertBlock ∷ cert → BoostedBlock cert
- getPerasCertPoint ∷ cert → Point blk
Documentation
class BoostedBlockCompatibleWithPoint (BoostedBlock cert) blk ⇒ IsPerasCert cert blk | cert → blk where Source #
Types that support being treated as Peras certificates
Minimal complete definition
Methods
getPerasCertRound ∷ cert → PerasRoundNo Source #
getPerasCertBlock ∷ cert → BoostedBlock cert Source #
getPerasCertPoint ∷ cert → Point blk Source #