ouroboros-consensus:unstable-cardano-tools
Safe HaskellNone
LanguageHaskell2010

Cardano.Tools.DBAnalyser.Block.Shelley

Description

The HasAnalysis instances of the Shelley-based eras. db-analyser's analyses are per-era, so the Cardano instance dispatches to these. There is no Shelley-only db-analyser, hence no HasProtocolInfo instance.

Orphan instances

(ShelleyCompatible proto era, PerEraAnalysis era) ⇒ HasAnalysis (ShelleyBlock proto era) Source #

Usable for each Shelley-based era

Instance details

Methods

countTxOutputs ∷ ShelleyBlock proto era → Int Source #

blockTxSizes ∷ ShelleyBlock proto era → [SizeInBytes] Source #

knownEBBs ∷ proxy (ShelleyBlock proto era) → Map (HeaderHash (ShelleyBlock proto era)) (ChainHash (ShelleyBlock proto era)) Source #

emitTraces ∷ WithLedgerState (ShelleyBlock proto era) → [String] Source #

blockStats ∷ ShelleyBlock proto era → [TextBuilder] Source #

blockApplicationMetrics ∷ [(TextBuilder, WithLedgerState (ShelleyBlock proto era) → IO TextBuilder)] Source #