Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ByronOtherHeaderEnvelopeError = UnexpectedEBBInSlot ! SlotNo
- data TipInfoIsEBB blk = TipInfoIsEBB !( HeaderHash blk) ! IsEBB
Documentation
data ByronOtherHeaderEnvelopeError Source #
Instances
Eq ByronOtherHeaderEnvelopeError Source # | |
Show ByronOtherHeaderEnvelopeError Source # | |
Generic 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-byron-0.1.0.1-1xx7v4AzrF0A75LZoaNMal" '
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
HasAnnTip ByronBlock Source # | |
type TipInfo ByronBlock Source # getTipInfo :: Header ByronBlock -> TipInfo ByronBlock Source # tipInfoHash :: proxy ByronBlock -> TipInfo ByronBlock -> HeaderHash ByronBlock Source # |
|
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 # |
|
ValidateEnvelope ByronBlock Source # | |
additionalEnvelopeChecks :: TopLevelConfig ByronBlock -> Ticked ( LedgerView ( BlockProtocol ByronBlock )) -> Header ByronBlock -> Except ( OtherHeaderEnvelopeError ByronBlock ) () Source # |