Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ByronOtherHeaderEnvelopeError = UnexpectedEBBInSlot !SlotNo
- data TipInfoIsEBB blk = TipInfoIsEBB !(HeaderHash blk) !IsEBB
Documentation
data ByronOtherHeaderEnvelopeError Source #
Instances
Generic ByronOtherHeaderEnvelopeError Source # | |
Show ByronOtherHeaderEnvelopeError Source # | |
Eq ByronOtherHeaderEnvelopeError Source # | |
NoThunks ByronOtherHeaderEnvelopeError Source # | |
type Rep ByronOtherHeaderEnvelopeError Source # | |
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 ('Nothing ∷ Maybe 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
.
TipInfoIsEBB !(HeaderHash blk) !IsEBB |
Instances
Orphan instances
BasicEnvelopeValidation ByronBlock Source # | |
expectedFirstBlockNo ∷ proxy ByronBlock → BlockNo Source # expectedNextBlockNo ∷ proxy ByronBlock → TipInfo ByronBlock → TipInfo ByronBlock → BlockNo → BlockNo Source # minimumPossibleSlotNo ∷ Proxy ByronBlock → SlotNo Source # minimumNextSlotNo ∷ proxy ByronBlock → TipInfo ByronBlock → TipInfo ByronBlock → SlotNo → SlotNo Source # | |
HasAnnTip ByronBlock Source # | |
type TipInfo ByronBlock Source # getTipInfo ∷ Header ByronBlock → TipInfo ByronBlock Source # tipInfoHash ∷ proxy ByronBlock → TipInfo ByronBlock → HeaderHash ByronBlock Source # | |
ValidateEnvelope ByronBlock Source # | |