| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Block.SupportsLeios
Description
See BlockSupportsLeios.
Synopsis
- class BlockSupportsLeios blk where
- blockLeiosCert ∷ blk → Maybe LeiosCert
- defaultBlockLeiosCert ∷ blk → Maybe LeiosCert
Documentation
class BlockSupportsLeios blk where Source #
What a block's body says about Leios.
Methods
blockLeiosCert ∷ blk → Maybe LeiosCert Source #
The Leios certificate the block contains, if any, which certifies the endorser block its predecessor announced.
Instances
| CanHardFork xs ⇒ BlockSupportsLeios (HardForkBlock xs) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Block Methods blockLeiosCert ∷ HardForkBlock xs → Maybe LeiosCert Source # | |
defaultBlockLeiosCert ∷ blk → Maybe LeiosCert Source #
blockLeiosCert for a block type that never contains a Leios certificate.