ouroboros-consensus-0.28.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Storage.PerasCertDB.Impl

Synopsis

Opening

data PerasCertDbArgs (f ∷ TypeType) (m ∷ TypeType) blk Source #

Constructors

PerasCertDbArgs 

Fields

defaultArgs ∷ ∀ (m ∷ TypeType) 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 #

Instances

Instances details
Generic (TraceEvent blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.PerasCertDB.Impl

Associated Types

type Rep (TraceEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.PerasCertDB.Impl

type Rep (TraceEvent blk) = D1 ('MetaData "TraceEvent" "Ouroboros.Consensus.Storage.PerasCertDB.Impl" "ouroboros-consensus-0.28.0.0-inplace" 'False) ((C1 ('MetaCons "OpenedPerasCertDB" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "ClosedPerasCertDB" 'PrefixI 'False) (U1TypeType)) :+: (C1 ('MetaCons "AddingPerasCert" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: (C1 ('MetaCons "AddedPerasCert" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: C1 ('MetaCons "IgnoredCertAlreadyInDB" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))))))

Methods

fromTraceEvent blk → Rep (TraceEvent blk) x #

toRep (TraceEvent blk) x → TraceEvent blk #

StandardHash blk ⇒ Show (TraceEvent blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.PerasCertDB.Impl

Methods

showsPrecIntTraceEvent blk → ShowS #

showTraceEvent blk → String #

showList ∷ [TraceEvent blk] → ShowS #

StandardHash blk ⇒ Eq (TraceEvent blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.PerasCertDB.Impl

Methods

(==)TraceEvent blk → TraceEvent blk → Bool #

(/=)TraceEvent blk → TraceEvent blk → Bool #

type Rep (TraceEvent blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Storage.PerasCertDB.Impl

type Rep (TraceEvent blk) = D1 ('MetaData "TraceEvent" "Ouroboros.Consensus.Storage.PerasCertDB.Impl" "ouroboros-consensus-0.28.0.0-inplace" 'False) ((C1 ('MetaCons "OpenedPerasCertDB" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "ClosedPerasCertDB" 'PrefixI 'False) (U1TypeType)) :+: (C1 ('MetaCons "AddingPerasCert" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: (C1 ('MetaCons "AddedPerasCert" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))) :+: C1 ('MetaCons "IgnoredCertAlreadyInDB" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasRoundNo) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Point blk))))))

Exceptions