This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
libp2p
based network layer rollout plan
#1998
da-kami
announced in
Announcements
Replies: 2 comments 1 reply
-
Note on the maker's When accepting / rejecting within a protocol (e.g. for rollover) the maker cannot (easily) decide how to dispatch (to libp2p actor or rollover) based on a
That's why we decide to just try libp2p and if that does not work fall back to dispatch to a potential legacy actor. See #2122 |
Beta Was this translation helpful? Give feedback.
1 reply
-
To gt an overview what is still missing until the migration is done here is a list of thing from the top of my mind. Todo:
Done:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
libp2p network layer rollout plan
Problem: In order to use a new protocol the CFD on both sides has to be aware of the counterparty peer-id to send messages.
We have to ensure that a CFD either knows the peer-id, or does not know the peer-id. A CFD that does not know the peer-id is a legacy CFD that was created before we stored peer-ids and only supports old legacy connection protocols.
Note: Prior to storing peer-ids in the CFDs, CFDs cannot know the peer-id on the maker side (because we don't have a mapping from legacy network-id to peer-id for the takers).
Rollout plan constraints for taker and maker:
cfds
can be NOT NULLBeta Was this translation helpful? Give feedback.
All reactions