shelley-spec-ledger-0.1.0.0
Safe HaskellNone
LanguageHaskell98

Shelley.Spec.Ledger.Hashing

Documentation

class Era e => HashAnnotated a e | a -> e where Source #

Minimal complete definition

Nothing

Associated Types

type HashIndex a :: Type Source #

Methods

hashAnnotated :: a -> Hash (HASH (Crypto e)) (HashIndex a) Source #

default hashAnnotated :: ToCBOR a => a -> Hash (HASH (Crypto e)) (HashIndex a) Source #

Instances

Instances details
Era era => HashAnnotated (TxBody era) era Source # 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Associated Types

type HashIndex (TxBody era) Source #

Methods

hashAnnotated :: TxBody era -> Hash (HASH (Crypto era)) (HashIndex (TxBody era)) Source #

ShelleyBased era => HashAnnotated (Tx era) era Source # 
Instance details

Defined in Shelley.Spec.Ledger.Tx

Associated Types

type HashIndex (Tx era) Source #

Methods

hashAnnotated :: Tx era -> Hash (HASH (Crypto era)) (HashIndex (Tx era)) Source #