Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Ledger.Shelley.BlockBody.Internal
Contents
Description
Provides BlockBody 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.
Documentation
data ShelleyBlockBody era Source #
Constructors
ShelleyBlockBodyInternal | |
Fields
|
Bundled Patterns
pattern ShelleyBlockBody ∷ ∀ era. (EraTx era, SafeToHash (TxWits era)) ⇒ StrictSeq (Tx era) → ShelleyBlockBody era | Constuct a BlockBody (with all it bytes) from just Tx's |
Instances
Arguments
∷ ByteString | |
→ ByteString | Bytes for transaction bodies |
→ ByteString | Bytes for transaction witnesses |
→ Hash HASH EraIndependentBlockBody | Bytes for transaction auxiliary datas |
slotToNonce ∷ SlotNo → Nonce Source #
incrBlocks ∷ Bool → KeyHash 'StakePool → BlocksMade → BlocksMade Source #
coreAuxDataBytes ∷ EraTx era ⇒ Tx era → StrictMaybe ByteString Source #
Orphan instances
EraBlockBody ShelleyEra Source # | |
Associated Types type BlockBody ShelleyEra = (r ∷ Type) Source # Methods mkBasicBlockBody ∷ BlockBody ShelleyEra Source # txSeqBlockBodyL ∷ Lens' (BlockBody ShelleyEra) (StrictSeq (Tx ShelleyEra)) Source # fromTxSeq ∷ BlockBody ShelleyEra → StrictSeq (Tx ShelleyEra) Source # toTxSeq ∷ StrictSeq (Tx ShelleyEra) → BlockBody ShelleyEra Source # hashBlockBody ∷ BlockBody ShelleyEra → Hash HASH EraIndependentBlockBody Source # hashTxSeq ∷ BlockBody ShelleyEra → Hash HASH EraIndependentBlockBody Source # |