storage-test
Safe HaskellNone
LanguageHaskell2010

Test.Ouroboros.Storage.PerasCertDB.Model

Documentation

data Model blk Source #

Constructors

Model 

Fields

Instances

Instances details
Generic (Model blk) Source # 
Instance details

Defined in Test.Ouroboros.Storage.PerasCertDB.Model

Associated Types

type Rep (Model blk) 
Instance details

Defined in Test.Ouroboros.Storage.PerasCertDB.Model

type Rep (Model blk) = D1 ('MetaData "Model" "Test.Ouroboros.Storage.PerasCertDB.Model" "ouroboros-consensus-0.28.0.0-inplace-storage-test" 'False) (C1 ('MetaCons "Model" 'PrefixI 'True) (S1 ('MetaSel ('Just "certs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set (ValidatedPerasCert blk))) :*: S1 ('MetaSel ('Just "open") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))

Methods

fromModel blk → Rep (Model blk) x #

toRep (Model blk) x → Model blk #

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

Defined in Test.Ouroboros.Storage.PerasCertDB.Model

Methods

showsPrecIntModel blk → ShowS #

showModel blk → String #

showList ∷ [Model blk] → ShowS #

type Rep (Model blk) Source # 
Instance details

Defined in Test.Ouroboros.Storage.PerasCertDB.Model

type Rep (Model blk) = D1 ('MetaData "Model" "Test.Ouroboros.Storage.PerasCertDB.Model" "ouroboros-consensus-0.28.0.0-inplace-storage-test" 'False) (C1 ('MetaCons "Model" 'PrefixI 'True) (S1 ('MetaSel ('Just "certs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set (ValidatedPerasCert blk))) :*: S1 ('MetaSel ('Just "open") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))

openDBModel blk → Model blk Source #

closeDBModel blk → Model blk Source #

addCertStandardHash blk ⇒ Model blk → ValidatedPerasCert blk → Model blk Source #

garbageCollectStandardHash blk ⇒ SlotNoModel blk → Model blk Source #