| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Committee.LS
Contents
Description
Local sortition used by non-persistent members of the voting committee.
Implements the LS component of the wFA^LS scheme from the Fait-Accompli
Committee Selection paper: (https:/eprint.iacr.org2023/1273.pdf, §2.3).
See also:
https://github.com/input-output-hk/ouroboros-leios/blob/c5658913221a7f58063bc4f82efaec0900e53dab/post-cip/weighted-fait-accompli.pdf
Local sortition check
newtype LocalSortitionNumSeats Source #
Number of non-persistent seats granted by local sortition to a voter
Constructors
| LocalSortitionNumSeats | |
Fields | |
Instances
localSortitionNumSeats Source #
Arguments
| ∷ NonPersistentCommitteeSize | Expected number of non-persistent voters in the committee |
| → TotalNonPersistentStake | Total stake of non-persistent voters |
| → LedgerStake | Stake of the voter |
| → NormalizedVRFOutput | Normalized VRF output from the participant |
| → LocalSortitionNumSeats |
Compute how many non-persistent seats can be granted by local sortition to a voter given their normalized VRF output and stake