8000 Voting improvements by hanssv · Pull Request #4555 · aeternity/aeternity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Voting improvements #4555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 25, 2025
Merged

Voting improvements #4555

merged 5 commits into from
Feb 25, 2025

Conversation

hanssv
Copy link
Member
@hanssv hanssv commented Feb 25, 2025

It started as trying to remove the trunc(math:ceil(...)) computation, but turned into actually fixing voting. It only worked when you had three stakers with exactly the same stake... Once rewards kicked in it started failing. Logic does not properly handle implicit leader stake, nor the case (that we have in testing) when two validators run on the same node.

This PR is supported by Æternity foundation.

happi
happi previously approved these changes Feb 25, 2025
@hanssv hanssv merged commit a0d3cbd into master Feb 25, 2025
40 checks passed
@hanssv hanssv deleted the avoid_floats branch February 25, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0