Skip to content
Commit bfe240d1 authored by Kian Paimani's avatar Kian Paimani Committed by Gavin Wood
Browse files

srml-module: Phragmen election (#3364)



* phragmen election module.

* Add new files.

* Some doc update

* Update weights.

* bump and a few nits.

* Performance improvement.

* Master.into()

* Update srml/elections-phragmen/src/lib.rs

Co-Authored-By: default avatarGavin Wood <[email protected]>

* Fix build

* Some fixes.

* Fix build.

* Proper outgoing and runner-up managment.

* Bit more sensical weight values.

* Update srml/elections-phragmen/src/lib.rs

* Update srml/elections-phragmen/src/lib.rs

Co-Authored-By: default avatarGavin Wood <[email protected]>

* Update srml/elections-phragmen/src/lib.rs

Co-Authored-By: default avatarGavin Wood <[email protected]>

* Update srml/elections-phragmen/src/lib.rs

Co-Authored-By: default avatarGavin Wood <[email protected]>

* fix lock file

* Fix build.

* Remove runner-ups

* Some refactors.

* Add support for reporting voters.

* Fix member check.

* Remove equlize.rs

* Update srml/elections-phragmen/src/lib.rs

* Update srml/elections-phragmen/src/lib.rs

* Update srml/elections-phragmen/src/lib.rs

Co-Authored-By: default avatarGavin Wood <[email protected]>

* Update srml/elections-phragmen/src/lib.rs

Co-Authored-By: default avatarGavin Wood <[email protected]>

* Bring back runner ups.

* use decode_len

* Better weight values.

* Update bogus doc

* Bump.

* Update srml/elections-phragmen/src/lib.rs

Co-Authored-By: default avatarGavin Wood <[email protected]>

* Review comments.

* One more test

* Fix tests

* Fix build

* .. and fix benchmarks.

* Update srml/elections-phragmen/src/lib.rs

* Version bump
parent 5585770a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment