-
Notifications
You must be signed in to change notification settings - Fork 77
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
Figure out validators weighting purpose, check compliance with C# implementation #512
Milestone
Comments
Turns out, we're currently missing |
roman-khimov
added a commit
that referenced
this issue
Feb 12, 2020
We were completely lacking ValidatorsCount that is supposed to track the number of votes with particular count of consensus nodes which in theory can change the number of active consensus nodes (if it ever to exceed the number of standby validators), so we were not producing the right count and based on that not giving the right set of validators. Fixes #512.
roman-khimov
added a commit
that referenced
this issue
Feb 12, 2020
We were completely lacking ValidatorsCount that is supposed to track the number of votes with particular count of consensus nodes which in theory can change the number of active consensus nodes (if it ever to exceed the number of standby validators), so we were not producing the right count and based on that not giving the right set of validators. Fixes #512.
roman-khimov
added a commit
that referenced
this issue
Feb 12, 2020
We were completely lacking ValidatorsCount that is supposed to track the number of votes with particular count of consensus nodes which in theory can change the number of active consensus nodes (if it ever to exceed the number of standby validators), so we were not producing the right count and based on that not giving the right set of validators. Fixes #512.
roman-khimov
added a commit
that referenced
this issue
Feb 12, 2020
We were completely lacking ValidatorsCount that is supposed to track the number of votes with particular count of consensus nodes which in theory can change the number of active consensus nodes (if it ever to exceed the number of standby validators), so we were not producing the right count and based on that not giving the right set of validators. Fixes #512.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think we can use mainnet data for tests, there are several changes of validators in the 2M-3M block range, one of which was found by @fyrchik: https://neoscan.io/block/2866503
We need to check whether our implementation in #508 would give the same result at this height (and others where the validators list was changed) and then add some real tests for it.
The text was updated successfully, but these errors were encountered: