Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- traceSize :: MonadIO m => Tracer m (a, Either CountFailure Word64 ) -> Tracer m a
- data LedgerDbSize l = LedgerDbSize { }
- traceLedgerDbSize :: forall m l. ( MonadIO m, GetTip l) => ( Word64 -> Bool ) -> Tracer m ( LedgerDbSize l) -> Tracer m ( LedgerDB l)
Generic
traceSize :: MonadIO m => Tracer m (a, Either CountFailure Word64 ) -> Tracer m a Source #
Generic helper to trace a value and its size
Ledger DB specific
data LedgerDbSize l Source #
LedgerDbSize | |
|
Instances
StandardHash l => Show ( LedgerDbSize l) Source # | |
Defined in Ouroboros.Consensus.Util.TraceSize |