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

restore connections to other musig2 signers #2894

Merged

Conversation

kziemianek
Copy link
Member

@kziemianek kziemianek commented Jul 15, 2024

This PR changes the way connections are handled to other musig2 signers:

  1. Connections are initialized lazily - they are created right after ceremony creation
  2. In case of request sending problem connection will be recreated and request will be sent again

There are no tests for failed requests retry because musig2 runner is undergoing heavy changes.

@kziemianek kziemianek requested review from Jayanring and a team July 15, 2024 06:17
Copy link

linear bot commented Jul 15, 2024

Copy link
Contributor

@Jayanring Jayanring left a comment

Choose a reason for hiding this comment

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

This PR needs updating

@Kailai-Wang
Copy link
Collaborator

@kziemianek can you please fix the PR on top of the recent multi-thread commit?

@kziemianek kziemianek marked this pull request as draft August 12, 2024 10:54
@kziemianek kziemianek force-pushed the p-928-detect-and-restore-broken-connection-to-other-worker branch from 9436a14 to fdb77ad Compare August 14, 2024 07:14
@kziemianek kziemianek marked this pull request as ready for review August 14, 2024 07:15
@kziemianek kziemianek requested a review from a team August 16, 2024 07:48
Copy link
Collaborator

@Kailai-Wang Kailai-Wang 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

@kziemianek kziemianek enabled auto-merge (squash) August 17, 2024 13:47
@kziemianek kziemianek merged commit 88f047f into dev Aug 17, 2024
35 checks passed
@Kailai-Wang Kailai-Wang deleted the p-928-detect-and-restore-broken-connection-to-other-worker branch August 17, 2024 15:11
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