Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Allow registering multiple versions of a single notifications protocol #6605

Closed
Tracked by #989
tomaka opened this issue Jul 8, 2020 · 0 comments · Fixed by #8682
Closed
Tracked by #989

Allow registering multiple versions of a single notifications protocol #6605

tomaka opened this issue Jul 8, 2020 · 0 comments · Fixed by #8682

Comments

@tomaka
Copy link
Contributor

tomaka commented Jul 8, 2020

cc #1518

The register_notifications_protocol method allows you to register a protocol, but there's no real way at the moment to "upgrade" the protocol to a new version.
One could register a second protocol with the new version, but that means you'd open both the old one and the new one with every single peer.

Instead, one should be able to pass multiple protocol names, and, on connection, which one was negotiated is indicated.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant