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

Support different quorum threshold in AuthorityQuorumSignInfo #2671

Merged
merged 2 commits into from
Jun 24, 2022

Conversation

lxfind
Copy link
Contributor

@lxfind lxfind commented Jun 23, 2022

This will allow us to support two different types of quorums, with different threshold in the quorum signature.
AuthorityStrongQuorumSignInfo will use quorum threshold, while AuthorityWeakQuorumSignInfo will use validity threshold.
AuthorityWeakQuorumSignInfo will eventually be used by the checkpoint quorum data structure.

@lxfind lxfind requested review from gdanezis, bmwill and kchalkias June 23, 2022 04:28
@lxfind lxfind force-pushed the support-different-quorum branch from aac479a to 9931a7c Compare June 23, 2022 04:52
@lxfind lxfind changed the title Add threshold_type to AuthorityQuorumSignInfo Support different quorum threshold in AuthorityQuorumSignInfo Jun 23, 2022
@lxfind lxfind force-pushed the support-different-quorum branch 2 times, most recently from ef79421 to 79fe984 Compare June 24, 2022 02:31
crates/sui-types/src/crypto.rs Outdated Show resolved Hide resolved
crates/sui-open-rpc/spec/openrpc.json Outdated Show resolved Hide resolved
@lxfind lxfind force-pushed the support-different-quorum branch from 79fe984 to 8c12820 Compare June 24, 2022 04:14
@lxfind lxfind enabled auto-merge (squash) June 24, 2022 04:20
@lxfind lxfind merged commit bfd051d into main Jun 24, 2022
@lxfind lxfind deleted the support-different-quorum branch June 24, 2022 04:39
punwai pushed a commit that referenced this pull request Jun 30, 2022
* Support weak quorum threshold

* rpc types regen
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