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

Simplify qc verification and avoid creating a new aggregating_qc class. #915

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

greg7mdp
Copy link
Contributor

@greg7mdp greg7mdp commented Oct 9, 2024

Resolves #743.

This moves the verify_qc API from aggregating_qc_t to qc_t.

It also renames it to verify, because qc.verify_qc(policies) seems a bit redundant.

It also removes verify_dual_finalizers_votes and votes_same_at from the external API because these are internal implementation details.

@greg7mdp greg7mdp requested review from heifner and linh2931 October 9, 2024 14:52
Copy link
Member

@heifner heifner left a comment

Choose a reason for hiding this comment

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

The title needs [1.0] removed.

@greg7mdp greg7mdp changed the title [1.0] Simplify qc verification and avoid creating a new aggregating_qc class. Simplify qc verification and avoid creating a new aggregating_qc class. Oct 9, 2024
@greg7mdp greg7mdp merged commit d103557 into main Oct 9, 2024
36 checks passed
@greg7mdp greg7mdp deleted the gh_743 branch October 9, 2024 23:12
@ericpassmore
Copy link
Contributor

Note:start
category: Chores
component: Internal
summary: Code cleanup, simplify qc verification.
Note:end

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.

Create dedicated class for QC verification (instead of using the same as for aggregation: aggregating_qc_t)
4 participants