cardano-ledger-shelley-1.17.0.0: Shelley Ledger Executable Model
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.Shelley.BlockBody.Internal

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

Instances details
Generic (ShelleyBlockBody era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.BlockBody.Internal

Associated Types

type Rep (ShelleyBlockBody era) ∷ TypeType #

Methods

fromShelleyBlockBody era → Rep (ShelleyBlockBody era) x #

toRep (ShelleyBlockBody era) x → ShelleyBlockBody era #

Show (Tx era) ⇒ Show (ShelleyBlockBody era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.BlockBody.Internal

(EraTx era, DecCBOR (Annotator (TxAuxData era)), DecCBOR (Annotator (TxBody era)), DecCBOR (Annotator (TxWits era))) ⇒ DecCBOR (Annotator (ShelleyBlockBody era)) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.BlockBody.Internal

Era era ⇒ EncCBORGroup (ShelleyBlockBody era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.BlockBody.Internal

Eq (Tx era) ⇒ Eq (ShelleyBlockBody era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.BlockBody.Internal

Methods

(==)ShelleyBlockBody era → ShelleyBlockBody era → Bool #

(/=)ShelleyBlockBody era → ShelleyBlockBody era → Bool #

(Typeable era, NoThunks (Tx era)) ⇒ NoThunks (ShelleyBlockBody era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.BlockBody.Internal

type Rep (ShelleyBlockBody era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.BlockBody.Internal

type Rep (ShelleyBlockBody era) = D1 ('MetaData "ShelleyBlockBody" "Cardano.Ledger.Shelley.BlockBody.Internal" "cardano-ledger-shelley-1.17.0.0-inplace" 'False) (C1 ('MetaCons "ShelleyBlockBodyInternal" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sbbTxs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictSeq (Tx era))) :*: S1 ('MetaSel ('Just "sbbHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Hash HASH EraIndependentBlockBody))) :*: (S1 ('MetaSel ('Just "sbbTxsBodyBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "sbbTxsWitsBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "sbbTxsAuxDataBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))))

hashShelleySegWits Source #

Arguments

ByteString 
ByteString

Bytes for transaction bodies

ByteString

Bytes for transaction witnesses

Hash HASH EraIndependentBlockBody

Bytes for transaction auxiliary datas

Orphan instances