Skip to content

feat: add vote for a new threshold - #1084

Merged
ChaoticTempest merged 16 commits into
developfrom
phuong/feat/vote.for.threshold
Aug 1, 2026
Merged

feat: add vote for a new threshold#1084
ChaoticTempest merged 16 commits into
developfrom
phuong/feat/vote.for.threshold

Conversation

@ChaoticTempest

Copy link
Copy Markdown
Contributor

add in the ability to vote for a new threshold. It needs to be at minimum compute_threshold(participants.len()) and at maximum participants.len(). Once voted in via prior threshold, it will trigger resharing with the same participant set as the new participant set, just with different threshold.

Our devnet is currently at 5 threshold and 12 nodes, so we need to utilize this so we don't end up with split brain. So will need to set new threshold this way.

Comment thread chain-signatures/contract/src/lib.rs Outdated
Comment thread chain-signatures/contract/src/lib.rs
@ChaoticTempest
ChaoticTempest enabled auto-merge July 30, 2026 05:13
@ChaoticTempest
ChaoticTempest disabled auto-merge July 30, 2026 05:13
Comment thread chain-signatures/node/src/protocol/mod.rs
Comment thread chain-signatures/node/src/protocol/consensus.rs
Comment thread chain-signatures/contract/src/lib.rs
Comment thread chain-signatures/contract/src/lib.rs Outdated
Comment thread chain-signatures/contract/src/lib.rs Outdated
Comment thread chain-signatures/contract/src/primitives.rs Outdated
@ChaoticTempest
ChaoticTempest added this pull request to the merge queue Aug 1, 2026
Merged via the queue into develop with commit 35ba88e Aug 1, 2026
6 checks passed
@ChaoticTempest
ChaoticTempest deleted the phuong/feat/vote.for.threshold branch August 1, 2026 00:50
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.

4 participants