| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.MiniProtocol.ObjectDiffusion.ObjectPool.PerasCert
Description
Instantiate ObjectPoolReader and ObjectPoolWriter using Peras
certificates from the PerasCertDB (or the ChainDB which is wrapping the
PerasCertDB).
Documentation
makePerasCertPoolReaderFromCertDB ∷ ∀ (m ∷ Type → Type) blk. IOLike m ⇒ PerasCertDB m blk → ObjectPoolReader PerasRoundNo (PerasCert blk) PerasCertTicketNo m Source #
makePerasCertPoolWriterFromCertDB ∷ ∀ blk (m ∷ Type → Type). (StandardHash blk, IOLike m) ⇒ SystemTime m → PerasCertDB m blk → ObjectPoolWriter PerasRoundNo (PerasCert blk) m Source #
makePerasCertPoolReaderFromChainDB ∷ ∀ (m ∷ Type → Type) blk. IOLike m ⇒ ChainDB m blk → ObjectPoolReader PerasRoundNo (PerasCert blk) PerasCertTicketNo m Source #
makePerasCertPoolWriterFromChainDB ∷ ∀ blk (m ∷ Type → Type). (StandardHash blk, IOLike m) ⇒ SystemTime m → ChainDB m blk → ObjectPoolWriter PerasRoundNo (PerasCert blk) m Source #