10000 feat: store & kick participant from triples and presignature on sync view by ChaoticTempest · Pull Request #371 · sig-net/mpc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: store & kick participant from triples and presignature on sync view #371

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

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

ChaoticTempest
Copy link
Contributor
@ChaoticTempest ChaoticTempest commented May 16, 2025

This adds in *_participants storage key where each triple or presignature will store a list of participant at the surface level of redis such that this list can be queried and modified easily. SyncView is now back such that the owning node will receive a list of triple/presignature shares that the other nodes have. The owning node will then use that info to remove participants from their own list for that particular triple or presignature. This will let future usage of taking of owned protocols to effectively only use those who report they have the shares.

This PR however does not implement the part where we utilize this list when taking a protocol from storage, but will be left for another PR instead

@ChaoticTempest ChaoticTempest force-pushed the phuong/feat/store-participant-list branch from 022aeca to a4adfa1 Compare May 16, 2025 04:33
@ChaoticTempest ChaoticTempest force-pushed the phuong/feat/store-participant-list branch from a4adfa1 to 983140c Compare May 16, 2025 04:33
jakmeier
jakmeier previously approved these changes May 22, 2025
Copy link
Contributor
@jakmeier jakmeier left a comment

Choose a reason for hiding this comment

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

Looks good to me overall.

@ChaoticTempest do you have a strategy for testing the DB timings and impact of it on overall performance? I'm worried this could make things quite unstable if we run sync too often.

volovyks
volovyks previously approved these changes May 22, 2025
@ChaoticTempest ChaoticTempest dismissed stale reviews from volovyks and jakmeier via 177ae30 June 3, 2025 20:53
@ChaoticTempest ChaoticTempest force-pushed the phuong/feat/store-participant-list branch from 2cc977a to 241c6aa Compare June 6, 2025 00:42
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.

3 participants
0