Open coot opened 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
Let's also note that mithril-node
will not use NonP2P
diffusion, it will only support P2P
diffusion.
Please see https://github.com/IntersectMBO/ouroboros-network/discussions/4987#discussioncomment-11026976 where I have been working on this issue
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:n2c
protocol? This includes what information we need from the ledger, how it can be obtained throughn2c
protocol, what information is needed from consensus or other places and whether we need it for mithril nodesoutbound-governor
for both cases:cardano-node
andmithril-node
.BlockFetchConsensusInterface
, which includesreadFetchMode
and is used byoutbound-governor
.LedgerPeerJudgement
- how can we accommodate that in an elegant wayThe 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
andmithril-node
.