HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

Modulebyron-spec-chain-1.0.1.1Haskell2010

Byron.Spec.Chain.STS.Block

Synopsis
datadata BlockHeader
#

Constructors

Instances6Eq, Data, Show, Generic, HasTypeReps, Rep
datadata BlockBody
#

Constructors

Instances5Data, Show, Generic, HasTypeReps, Rep
datadata Block

A block in the chain. The specification only models regular blocks since epoch boundary blocks will be largely ignored in the Byron-Shelley bridge.

Instances6Data, Show, Generic, HasTypeReps, HasSizeInfo, Rep
valuebIsEBB :: Block -> Bool

Checks if a block is an epoch boundary block.

The function always returns False because tests will be performed only against chains without EBBs.

Count number of transactions in the block

Returns the number of

  • Regular transactions

  • Delegation certificates

  • Update votes

  • Update proposals (0 or 1)