Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Optimal Approved Assignment using Phragmén #1772

@gavofyork

Description

@gavofyork

Update staking module to allow nominators to approve any number of validators, and then they should be optimally assigned off-chain using Phragmén.

This will require off-chain compute, so until that is done, the algorithm should do the assignment on-chain.

Basic implementation of Phragmén is here: https://github.com/w3f/consensus/blob/master/NPoS/simplePhragm%C3%A9n.py

Metadata

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions