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

オープン
#3,740 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
33

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IntersectMBO/mithril のほかの issue

IntersectMBO/mithril の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。