Skip to content
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

common: ignore stale votes in TryPurgeVotes #333

Merged
merged 2 commits into from
Apr 13, 2023

Conversation

roman-khimov
Copy link
Member

On a real healthy network we always have something there. Consider seven IRs doing something, we only need five signatures, so they're added and then dropped when we have enough of them, but excessive transactions from the other IRs still come and they will be added again into the same voting structure.

But according to the definition of blockDiff we can ignore stale votes safely (they're not counted for votes anyway).

On a real healthy network we _always_ have something there. Consider seven IRs
doing something, we only need five signatures, so they're added and then
dropped when we have enough of them, but excessive transactions from the other
IRs still come and they will be added again into the same voting structure.

But according to the definition of blockDiff we can ignore stale votes safely
(they're not counted for votes anyway).

Signed-off-by: Roman Khimov <[email protected]>
cthulhu-rider
cthulhu-rider previously approved these changes Apr 13, 2023
@@ -1,6 +1,19 @@
# Changelog
Changelog for NeoFS Contract

## [Unreleased]
Copy link
Contributor

@cthulhu-rider cthulhu-rider Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets actualize diff link for this

0.17.0 link is also missing btw

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I've noticed. Though to create another PR, but hey, let's have it here.

@cthulhu-rider cthulhu-rider merged commit 928da66 into master Apr 13, 2023
@cthulhu-rider cthulhu-rider deleted the soften-trypurgevotes-reqs branch April 13, 2023 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants