IntersectMBO / ouroboros-network

Specifications of network protocols and implementations of components running these protocols which support a family of Ouroboros Consesus protocols; the diffusion layer of the Cardano Node.
https://ouroboros-network.cardano.intersectmbo.org
Apache License 2.0
276 stars 86 forks source link

Mithril Design Investigation #4929

Open coot opened 3 months ago

coot commented 3 months ago

Recently, we co-authored a CIP proposal, in particular this section.

We need to investigate in depth how the ouroboros-network needs to adapt to the proposed design. In particular:

The above list is not exhaustive. I expect that we will learn more in the process, especially about the relations between things that pull some APIs.

The outcome of such an analysis could be some pseudocode and a proposal on how we can adapt the ouroboros-network to elegantly use it for: cardano-node and mithril-node.

coot commented 3 months ago

How to do churn, which will require new metrics to optimise the network graph.

In this context the question is how to decouple metric used by churn, so it's passed via Ouroboros.Network.Diffusion.P2P.ArgumentsExtra

coot commented 3 months ago

Let's also note that mithril-node will not use NonP2P diffusion, it will only support P2P diffusion.

bolt12 commented 1 month ago

Please see https://github.com/IntersectMBO/ouroboros-network/discussions/4987#discussioncomment-11026976 where I have been working on this issue