Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Ledger.Alonzo.TxSeq.Internal
Contents
Description
Provides TxSeq internals
Warning
This module is considered internal.
The contents of this module may change in any way whatsoever and without any warning between minor versions of this package.
Synopsis
- data AlonzoTxSeq era where
- AlonzoTxSeqRaw { }
- pattern AlonzoTxSeq ∷ ∀ era. (AlonzoEraTx era, SafeToHash (TxWits era)) ⇒ StrictSeq (Tx era) → AlonzoTxSeq era
- hashAlonzoTxSeq ∷ ∀ era. AlonzoTxSeq era → Hash HASH EraIndependentBlockBody
- alignedValidFlags ∷ Int → [Int] → Seq IsValid
Documentation
data AlonzoTxSeq era Source #
Constructors
AlonzoTxSeqRaw | |
Fields
|
Bundled Patterns
pattern AlonzoTxSeq ∷ ∀ era. (AlonzoEraTx era, SafeToHash (TxWits era)) ⇒ StrictSeq (Tx era) → AlonzoTxSeq era |
Instances
hashAlonzoTxSeq ∷ ∀ era. AlonzoTxSeq era → Hash HASH EraIndependentBlockBody Source #
Hash a given block body
alignedValidFlags ∷ Int → [Int] → Seq IsValid Source #
Given the number of transactions, and the set of indices for which these
transactions do not validate, create an aligned sequence of IsValid
flags.
This function operates much as the inverse of nonValidatingIndices
.