Safe Haskell | None |
---|---|
Language | Haskell2010 |
Various identifiers in the ledger are hashes of particular structures. While the structures may change from era to era, the hash will remain the same, and we can refer to the hash of, say, a transaction, without knowing the actual transaction type. As such, we define a number of these hashes here.
Synopsis
- data EraIndependentTxBody
- data EraIndependentBlockHeader
- data EraIndependentBlockBody
- data EraIndependentMetadata
- data EraIndependentScript
- data EraIndependentData
- data EraIndependentScriptData
- data EraIndependentAuxiliaryData
- data EraIndependentPParamView
- data EraIndependentScriptIntegrity
- newtype ScriptHash crypto = ScriptHash ( Hash ( ADDRHASH crypto) EraIndependentScript )
- type DataHash crypto = SafeHash crypto EraIndependentData
Era-independent hash type identifiers.
data EraIndependentTxBody Source #
data EraIndependentScript Source #
data EraIndependentData Source #
Script hashes
newtype ScriptHash crypto Source #
ScriptHash ( Hash ( ADDRHASH crypto) EraIndependentScript ) |
Instances
type DataHash crypto = SafeHash crypto EraIndependentData Source #