ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Test.Consensus.Committee.WFALS.Conformance

Synopsis

Documentation

conformsToRustImplementationString → (Map PoolId Stake → stakeDistr) → (stakeDistr → CommitteeSize → (NumPersistent, NumNonPersistent)) → TestTree Source #

Check that a weighted fait accompli committee selection implementation conforms to the Rust implementation by comparing the number persistent and non-persistent committee members it selects for a given target committee size.