Files
pezkuwi-subxt/substrate/primitives/npos-elections
Kian Paimani ba229c629f Refactor CurrencyToVote (#6896)
* Refactor CurrencyToVote to avoid calls to total_issuance.

* Update frame/support/src/traits.rs

Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>

* Some grumbles

* Fix last grumbles.

* Fix comment

* Final fix

Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
2020-10-08 14:50:54 +00:00
..
2020-09-23 08:16:10 +00:00
2020-09-23 08:16:10 +00:00
2020-10-08 14:50:54 +00:00
2020-09-22 19:47:38 +02:00
2020-08-20 17:04:42 +02:00

A set of election algorithms to be used with a substrate runtime, typically within the staking sub-system. Notable implementation include

  • [seq_phragmen]: Implements the Phragmén Sequential Method. An un-ranked, relatively fast election method that ensures PJR, but does not provide a constant factor approximation of the maximin problem.
  • [balance_solution]: Implements the star balancing algorithm. This iterative process can increase a solutions score, as described in [evaluate_support].

More information can be found at: https://arxiv.org/abs/2004.12990

License: Apache-2.0