Kian Paimani
|
bfe240d1b0
|
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: Gavin Wood <gavin@parity.io>
* 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: Gavin Wood <gavin@parity.io>
* Update srml/elections-phragmen/src/lib.rs
Co-Authored-By: Gavin Wood <gavin@parity.io>
* Update srml/elections-phragmen/src/lib.rs
Co-Authored-By: Gavin Wood <gavin@parity.io>
* 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: Gavin Wood <gavin@parity.io>
* Update srml/elections-phragmen/src/lib.rs
Co-Authored-By: Gavin Wood <gavin@parity.io>
* Bring back runner ups.
* use decode_len
* Better weight values.
* Update bogus doc
* Bump.
* Update srml/elections-phragmen/src/lib.rs
Co-Authored-By: Gavin Wood <gavin@parity.io>
* Review comments.
* One more test
* Fix tests
* Fix build
* .. and fix benchmarks.
* Update srml/elections-phragmen/src/lib.rs
* Version bump
|
2019-09-19 18:04:02 +08:00 |
|
Kian Paimani
|
a6b5d1d155
|
Move phragmen benchmarks out of Staking (#3588)
* Move phragmen benches to.. phragmen.
* Move some basic phragmen tests to.. phragmen.
* Line-width
* Add phragmen equ implementation as flot
* Add phragmen equ implementation as flot
* Add mock and test file.
|
2019-09-13 08:41:33 +02:00 |
|
Kian Paimani
|
f830db9642
|
Decouple Phragmen from Staking. (#3498)
* Move phragmen to primitives
* Improved docs
* New crate.
* Update lock.
* Fix dependency.
* Fix build.
* Add basic testing and truth-value implementation with float types
* Update srml/staking/src/lib.rs
* Nits.
* Bump.
* Fix benchmarks.
|
2019-08-29 11:07:49 +02:00 |
|