ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Test.Consensus.Leios.TxCache.Reference

Description

Tests for the pure LeiosTxCacheIndex: which points and txs it holds, the maxLeiosPointCount eviction cascade, and tx locations.

The pure module is the reference model: a faster implementation is tested for observational equivalence to it, not against these unit tests. These exercise observable behavior only (the exported ops and the internal state constructors), not any representation detail.

Documentation