| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Util.TraceSize
Contents
Synopsis
- traceSize :: MonadIO m => Tracer m (a, Either CountFailure Word64) -> Tracer m a
- data LedgerDbSize blk = LedgerDbSize {}
- traceLedgerDbSize :: MonadIO m => (Word64 -> Bool) -> Tracer m (LedgerDbSize blk) -> Tracer m (LedgerDB l (RealPoint blk))
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 blk Source #
Constructors
| LedgerDbSize | |
Fields
| |
Instances
| StandardHash blk => Show (LedgerDbSize blk) Source # | |
Defined in Ouroboros.Consensus.Util.TraceSize Methods showsPrec :: Int -> LedgerDbSize blk -> ShowS # show :: LedgerDbSize blk -> String # showList :: [LedgerDbSize blk] -> ShowS # | |