Vision: Path to removing reduce
from NPoS protocol
#419
Labels
D3-involved
Can be fixed by an expert coder with good knowledge of the codebase.
I6-meta
A specific issue for grouping tasks or bugs of a specific category.
The
reduce.rs
algorithm is the one that is responsible for causing, in almost all cases, one's stake to end up backing one validator, even if they nominate many. Note that this happens entirely post-election, and has no impact on the active validators, and their stake.There are multiple issues with this:
The main reason we have this is twofold:
Once we have a scalable reward, slash, solution submission+verification system, there is no reason to have reduce anymore.
The linked issues/PRs for that would be:
pallet-staking
storage items #255What we can already do, if feasible, is to tweak the reduce algorithm to be configurable. The current behavior is to reduce 100% of the nodes, but we can then instruct it to reduce 80%, and gradually less and less.
The text was updated successfully, but these errors were encountered: