ouroboros-consensus- Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010




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

traceLedgerDbSize :: forall m l. ( MonadIO m, GetTip l) => ( Word64 -> Bool ) -> Tracer m ( LedgerDbSize l) -> Tracer m ( LedgerDB l) Source #

Trace the size of the ledger

Only traces slots for which the predicate results true (genesis will be considered to be slot 0).