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

Tally requests with missing reveals #462

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Tally requests with missing reveals #462

merged 2 commits into from
Jan 15, 2025

Conversation

hacheigriega
Copy link
Member

We now tally requests that have timed out due to missing reveals. Median or mode is calculated the same way as before with whatever reveals that have been collected. However, the threshold for consensus is now 2/3 of the replication factor, instead of the number of collected reveals.

In addition, the filter functions have been fully separated from the tally keeper type for modularity. The filter and tally process has also been slightly refactored for clarity.

@hacheigriega hacheigriega requested review from Thomasvdam and a team January 15, 2025 10:23
Copy link
Member

@Thomasvdam Thomasvdam left a comment

Choose a reason for hiding this comment

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

lgtm :)

Base automatically changed from hy/incentive to main January 15, 2025 17:55
@hacheigriega hacheigriega merged commit 2eedbd8 into main Jan 15, 2025
8 of 10 checks passed
@hacheigriega hacheigriega deleted the hy/missing-reveals branch January 15, 2025 18:36
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