ouroboros-consensus:tracing
Safe HaskellNone
LanguageHaskell2010

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

Documentation

class ConvertTxId blk where Source #

Convert a transaction ID to raw bytes.

Instances

Instances details
ConvertTxId ByronBlock Source # 
Instance details

Defined in Ouroboros.Consensus.Tracing.ConvertTxId

Methods

txIdToRawBytes ∷ TxId (GenTx ByronBlock) → ByteString Source #

All ConvertTxId xs ⇒ ConvertTxId (HardForkBlock xs) Source # 
Instance details

Defined in Ouroboros.Consensus.Tracing.ConvertTxId

ConvertTxId (ShelleyBlock protocol c) Source # 
Instance details

Defined in Ouroboros.Consensus.Tracing.ConvertTxId

Methods

txIdToRawBytes ∷ TxId (GenTx (ShelleyBlock protocol c)) → ByteString Source #