| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Tracing.ConvertTxId
Description
Projection of a transaction id to its raw bytes.
Used by the tracing instances to render transaction ids, but it is a plain projection over Consensus block types with no dependency on the logging framework.
Synopsis
- class ConvertTxId blk where
- txIdToRawBytes ∷ TxId (GenTx blk) → ByteString
Documentation
class ConvertTxId blk where Source #
Convert a transaction ID to raw bytes.
Methods
txIdToRawBytes ∷ TxId (GenTx blk) → ByteString Source #
Instances
| ConvertTxId ByronBlock Source # | |
Defined in Ouroboros.Consensus.Tracing.ConvertTxId Methods txIdToRawBytes ∷ TxId (GenTx ByronBlock) → ByteString Source # | |
| All ConvertTxId xs ⇒ ConvertTxId (HardForkBlock xs) Source # | |
Defined in Ouroboros.Consensus.Tracing.ConvertTxId Methods txIdToRawBytes ∷ TxId (GenTx (HardForkBlock xs)) → ByteString Source # | |
| ConvertTxId (ShelleyBlock protocol c) Source # | |
Defined in Ouroboros.Consensus.Tracing.ConvertTxId Methods txIdToRawBytes ∷ TxId (GenTx (ShelleyBlock protocol c)) → ByteString Source # | |