| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Ouroboros.Storage.PerasCertDB.Model
Documentation
Constructors
| Model | |
Fields
| |
Instances
addCert ∷ StandardHash blk ⇒ Model blk → WithArrivalTime (ValidatedPerasCert blk) → Model blk Source #
getWeightSnapshot ∷ StandardHash blk ⇒ Model blk → PerasWeightSnapshot blk Source #
getLatestCertSeen ∷ Model blk → Maybe (WithArrivalTime (ValidatedPerasCert blk)) Source #
hasRoundNo ∷ Set (WithArrivalTime (ValidatedPerasCert blk)) → WithArrivalTime (ValidatedPerasCert blk) → Bool Source #