Add the block producer to the Cardano relay topology of the signers in `mithril-infra`

未关闭
#3,740 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
54/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
blockchain, docker, terraform

调研方向

Start with mithril-infra/mithril.signer.tf and inspect how signer relay topology and Docker network services are configured. Check Cardano node logs on a testing network before and after the topology change; done means each relay promotes its own block producer to hot right after startup. The issue calls for a testing network deployment and log verification, so this needs infrastructure access and several days of work.

由索引模型根据 Issue 内容生成。

描述

infrastructure :classical_building:

Why

In mithril-infra, the Cardano block producer of each signer lists its relay as a local root, but the relay topology is the official topology.json copied as is, so the relay does not list its own block producer, while the Cardano documentation requires it as a private local root (https://developers.cardano.org/docs/operators/relay-configuration/relay-node-configuration/). The same gap in the DMQ topology made each DMQ relay wait before pulling from its block producer, so the Cardano relays may also adopt their block producer late and delay the diffusion of the blocks minted by the test pools.

What

Each Cardano relay of a signer deployed by mithril-infra keeps its own block producer as a private local root (not advertised, not trustable) and connects to it as soon as it starts.

How

  • Check the Cardano node logs of a testing network to measure when the relay promotes its block producer to hot after a restart
  • Add the block producer (cardano-node-block-producer-signer-<id> on the mithril_network Docker network) as a separate localRoots group of the relay topology in mithril-infra/mithril.signer.tf, with advertise: false, trustable: false and valency: 1
  • Deploy on a testing network and check in the logs that the relay promotes its block producer to hot right after start
主要语言
Rust
星标
155
派生
52
平均合并
3 天 9 小时
30 天内合并 PR
33

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

IntersectMBO/mithril 的其他 Issue

查看 IntersectMBO/mithril 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。