Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- translateToShelleyLedgerState ∷ FromByronTranslationContext → EpochNo → ChainValidationState → NewEpochState ShelleyEra
- translateToShelleyLedgerStateFromUtxo ∷ FromByronTranslationContext → EpochNo → UTxO → NewEpochState ShelleyEra
- translateCompactTxOutByronToShelley ∷ CompactTxOut → ShelleyTxOut ShelleyEra
- translateTxIdByronToShelley ∷ TxId → TxId
Documentation
translateToShelleyLedgerState ∷ FromByronTranslationContext → EpochNo → ChainValidationState → NewEpochState ShelleyEra Source #
translateToShelleyLedgerStateFromUtxo ∷ FromByronTranslationContext → EpochNo → UTxO → NewEpochState ShelleyEra Source #
Exported for testing purposes
translateTxIdByronToShelley ∷ TxId → TxId Source #
We use the same hashing algorithm so we can unwrap and rewrap the bytes. We don't care about the type that is hashed, which will differ going from Byron to Shelley, we just use the hashes as IDs.