Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Storage.PerasCertDB.Impl
Contents
Synopsis
- data PerasCertDbArgs (f ∷ Type → Type) (m ∷ Type → Type) blk = PerasCertDbArgs {
- pcdbaTracer ∷ Tracer m (TraceEvent blk)
- defaultArgs ∷ ∀ (m ∷ Type → Type) blk. Applicative m ⇒ Incomplete PerasCertDbArgs m blk
- openDB ∷ (IOLike m, StandardHash blk) ⇒ Complete PerasCertDbArgs m blk → m (PerasCertDB m blk)
- data TraceEvent blk
- = OpenedPerasCertDB
- | ClosedPerasCertDB
- | AddingPerasCert PerasRoundNo (Point blk)
- | AddedPerasCert PerasRoundNo (Point blk)
- | IgnoredCertAlreadyInDB PerasRoundNo (Point blk)
- data PerasCertDbError = ClosedDBError PrettyCallStack
Opening
data PerasCertDbArgs (f ∷ Type → Type) (m ∷ Type → Type) blk Source #
Constructors
PerasCertDbArgs | |
Fields
|
defaultArgs ∷ ∀ (m ∷ Type → Type) blk. Applicative m ⇒ Incomplete PerasCertDbArgs m blk Source #
openDB ∷ (IOLike m, StandardHash blk) ⇒ Complete PerasCertDbArgs m blk → m (PerasCertDB m blk) Source #
Trace types
data TraceEvent blk Source #
Constructors
OpenedPerasCertDB | |
ClosedPerasCertDB | |
AddingPerasCert PerasRoundNo (Point blk) | |
AddedPerasCert PerasRoundNo (Point blk) | |
IgnoredCertAlreadyInDB PerasRoundNo (Point blk) |
Instances
Exceptions
data PerasCertDbError Source #
Constructors
ClosedDBError PrettyCallStack |
Instances
Exception PerasCertDbError Source # | |
Show PerasCertDbError Source # | |
Defined in Ouroboros.Consensus.Storage.PerasCertDB.Impl Methods showsPrec ∷ Int → PerasCertDbError → ShowS # show ∷ PerasCertDbError → String # showList ∷ [PerasCertDbError] → ShowS # |