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

Automatically restart protocol responders on shutdown #452

Closed
agaffney opened this issue Dec 4, 2023 · 0 comments · Fixed by #611
Closed

Automatically restart protocol responders on shutdown #452

agaffney opened this issue Dec 4, 2023 · 0 comments · Fixed by #611

Comments

@agaffney
Copy link
Contributor

agaffney commented Dec 4, 2023

When the client sends the Done message for a protocol like chain-sync, tx-submission, or block-fetch, the protocol should be restarted (data cleared and protocol state machine reset). This allows a remote note to "demote" us from hot to warm and then later "promote" us from warm to hot using the same connection.

agaffney added a commit that referenced this issue May 12, 2024
This allows a connected peer to start a protocol, stop it, and later
start it again within the same connection

Fixes #452
agaffney added a commit that referenced this issue May 12, 2024
This allows a connected peer to start a protocol, stop it, and later
start it again within the same connection

Fixes #452
wolf31o2 pushed a commit that referenced this issue May 12, 2024
This allows a connected peer to start a protocol, stop it, and later
start it again within the same connection

Fixes #452
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 a pull request may close this issue.

1 participant