ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Peras.Cert.Class

Description

The IsPerasCert projection/injection class.

Synopsis

Documentation

class BoostedBlockCompatibleWithPoint (BoostedBlock cert) blk ⇒ IsPerasCert cert blk | cert → blk where Source #

Types that support being treated as Peras certificates

Minimal complete definition

getPerasCertRound, getPerasCertBlock

Instances

Instances details
IsPerasCert (PerasCert' blk) blk Source # 
Instance details

Defined in Ouroboros.Consensus.Block.SupportsPeras

(IsPerasCert (PerasCert blk) blk, BoostedBlockCompatibleWithPoint (BoostedBlock (PerasCert blk)) blk)IsPerasCert (ValidatedPerasCert blk) blk Source # 
Instance details

Defined in Ouroboros.Consensus.Block.SupportsPeras

IsPerasCert cert blk ⇒ IsPerasCert (WithArrivalTime cert) blk Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Cert.Class

(ConvertRawHash blk, HashSize blk ~ 32)IsPerasCert (PerasCert blk) blk Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Cert.V1

IsPerasCert (VoidPerasCert blk) blk Source # 
Instance details

Defined in Ouroboros.Consensus.Peras.Void