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

Have an upgrade strategy for the network protocol #1518

@tomaka

Description

@tomaka

The network protocol (the data structures in network/src/message.rs) changes from time to time, but we don't have any upgrade strategy. If the networking changes, we will suddenly start dropping peers that don't use the same version.

There is a protocol_version variable in the source code, but modifying it makes us instantly incompatible with nodes having a different version.

Libp2p has a version negotiation system that makes it possible to support multiple version at the same time, but we don't benefit from it.

How to do that without bloating the code is however unclear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    J0-enhancementAn additional feature request.U3-nice_to_haveIssue is worth doing eventually.

    Type

    No type

    Projects

    Status

    Backlog 🗒

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions