ouroboros-consensus-0.1.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Block.EBB

Description

Generic infrastructure for working with EBBs

Synopsis

Documentation

data IsEBB Source #

Whether a block is an Epoch Boundary Block (EBB)

See Ouroboros.Storage.ImmutableDB.API for a discussion of EBBs. Key idiosyncracies:

  • An EBB carries no unique information.
  • An EBB has the same BlockNo as its predecessor.
  • EBBs are vestigial. As of Shelley, nodes no longer forge EBBs: they are only a legacy/backwards-compatibility concern.

Constructors

IsEBB 
IsNotEBB 

Instances

Instances details
Eq IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Methods

(==)IsEBBIsEBBBool Source #

(/=)IsEBBIsEBBBool Source #

Show IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Generic IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Associated Types

type Rep IsEBBTypeType Source #

Methods

fromIsEBBRep IsEBB x Source #

toRep IsEBB x → IsEBB Source #

Serialise IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Methods

encodeIsEBB → Encoding #

decode ∷ Decoder s IsEBB #

encodeList ∷ [IsEBB] → Encoding #

decodeList ∷ Decoder s [IsEBB] #

NoThunks IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Methods

noThunks ∷ Context → IsEBBIO (Maybe ThunkInfo) #

wNoThunks ∷ Context → IsEBBIO (Maybe ThunkInfo) #

showTypeOfProxy IsEBBString #

Condense IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Methods

condenseIsEBBString Source #

type Rep IsEBB Source # 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

type Rep IsEBB = D1 ('MetaData "IsEBB" "Ouroboros.Consensus.Block.EBB" "ouroboros-consensus-0.1.0.0-inplace" 'False) (C1 ('MetaCons "IsEBB" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "IsNotEBB" 'PrefixI 'False) (U1TypeType))