ouroboros-consensus-0.1.0.1: Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

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

Show IsEBB Source #
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Generic IsEBB Source #
Instance details

Defined in Ouroboros.Consensus.Block.EBB

NoThunks IsEBB Source #
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Serialise IsEBB Source #
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Condense IsEBB Source #
Instance details

Defined in Ouroboros.Consensus.Block.EBB

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.1-DT4Cvwf63DZKctsEvaJqCU" ' False ) ( C1 (' MetaCons "IsEBB" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "IsNotEBB" ' PrefixI ' False ) ( U1 :: Type -> Type ))