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 hashAnnotatedToCBOR 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

hashAnnotatedTxBody 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

hashAnnotatedTx era → Hash (HASH (Crypto era)) (HashIndex (Tx era)) Source #

(Era era, Typeable kr) ⇒ HashAnnotated (WitVKey kr era) era Source # 
Instance details

Defined in Shelley.Spec.Ledger.TxBody

Associated Types

type HashIndex (WitVKey kr era) Source #

Methods

hashAnnotatedWitVKey kr era → Hash (HASH (Crypto era)) (HashIndex (WitVKey kr era)) Source #