| Safe Haskell | None |
|---|---|
| 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 ∷ (EraTx era, SafeToHash (TxWits era)) ⇒ StrictSeq (Tx 'TopTx era) → ShelleyBlockBody era | Constuct a BlockBody (with all it bytes) from just Tx's |
Instances
mkBasicBlockBodyShelley ∷ (EraBlockBody era, SafeToHash (TxWits era), BlockBody era ~ ShelleyBlockBody era) ⇒ BlockBody era Source #
txSeqBlockBodyShelleyL ∷ (EraBlockBody era, SafeToHash (TxWits era), BlockBody era ~ ShelleyBlockBody era) ⇒ Lens' (BlockBody era) (StrictSeq (Tx 'TopTx era)) Source #
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 'TopTx era → StrictMaybe ByteString Source #
Orphan instances
| EraBlockBody ShelleyEra Source # | |||||
Associated Types
| |||||