ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Block.SupportsLeios

Description

Synopsis

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

Instances details
CanHardFork xs ⇒ BlockSupportsLeios (HardForkBlock xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Block

defaultBlockLeiosCert ∷ blk → Maybe LeiosCert Source #

blockLeiosCert for a block type that never contains a Leios certificate.