ouroboros-consensus-cardano-0.20.0.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.Byron.Ledger.HeaderValidation

Synopsis

Documentation

data ByronOtherHeaderEnvelopeError Source #

Instances

Instances details
Generic ByronOtherHeaderEnvelopeError Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation

Associated Types

type Rep ByronOtherHeaderEnvelopeErrorTypeType #

Show ByronOtherHeaderEnvelopeError Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation

Eq ByronOtherHeaderEnvelopeError Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation

NoThunks ByronOtherHeaderEnvelopeError Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation

type Rep ByronOtherHeaderEnvelopeError Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation

type Rep ByronOtherHeaderEnvelopeError = D1 ('MetaData "ByronOtherHeaderEnvelopeError" "Ouroboros.Consensus.Byron.Ledger.HeaderValidation" "ouroboros-consensus-cardano-0.20.0.0-inplace" 'False) (C1 ('MetaCons "UnexpectedEBBInSlot" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SlotNo)))

data TipInfoIsEBB blk Source #

Reusable strict data type for TipInfo in case the TipInfo should contain IsEBB in addition to the HeaderHash.

Constructors

TipInfoIsEBB !(HeaderHash blk) !IsEBB 

Instances

Instances details
Generic (TipInfoIsEBB blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Associated Types

type Rep (TipInfoIsEBB blk) ∷ TypeType #

Methods

fromTipInfoIsEBB blk → Rep (TipInfoIsEBB blk) x #

toRep (TipInfoIsEBB blk) x → TipInfoIsEBB blk #

StandardHash blk ⇒ Show (TipInfoIsEBB blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Methods

showsPrecIntTipInfoIsEBB blk → ShowS #

showTipInfoIsEBB blk → String #

showList ∷ [TipInfoIsEBB blk] → ShowS #

StandardHash blk ⇒ Eq (TipInfoIsEBB blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Methods

(==)TipInfoIsEBB blk → TipInfoIsEBB blk → Bool #

(/=)TipInfoIsEBB blk → TipInfoIsEBB blk → Bool #

StandardHash blk ⇒ NoThunks (TipInfoIsEBB blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

type Rep (TipInfoIsEBB blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

type Rep (TipInfoIsEBB blk) = D1 ('MetaData "TipInfoIsEBB" "Ouroboros.Consensus.HeaderValidation" "ouroboros-consensus-0.21.0.0-inplace" 'False) (C1 ('MetaCons "TipInfoIsEBB" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HeaderHash blk)) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 IsEBB)))

Orphan instances